Apply Bulk Edit

Use this operation to perform Bulk Edit for the given source assignment rules with destination rules or drivers.

Table 4-15 Apply Bulk Edit

Name Description
Action Type POST
Request URI http://myServer.mydomain.com:19000/profitability/rest/v1/applications/BksDp30/povs/2023_January_Actual/jobs/applyBulkEditJob
Request Payload
{
"operation":"ADD_DRIVERS",
"comment":"bulk edit test",
"sourceRules":"Apply All Building Activities,Apply Business Support Driver,Apply CoMarket",
"drivers":"DRV Business Support",
"isSelectEntireStageForDelete":"false",
"isSelectAllRulesOrDriversForDelete":"false",
"stringDelimter":"_"
}
Response
{
    "type": "Profitability",
    "links": [{
        "href": "http://myServer.mydomain.com:19000/profitability/rest/v1/applications/BksDp30/povs/2012_January_Actual/jobs/applyBulkEditJob",
        "action": "POST",
        "rel": "self",
        "data": {
            "drivers": "DRV Business Support",
            "isSelectEntireStageForDelete": false,
            "isSelectAllRulesOrDriversForDelete": false,
            "operation": "ADD_DRIVERS",
            "stringDelimter": "_",
            "sourceRules": "Apply All Building Activities,Apply Business Support Driver,Apply CoMarket",
            "comment": "bulk edit test"
        }
    }, {
        "href": "http://myServer.mydomain.com:19000/profitability/rest/v1/applications/jobs/ChecktaskStatusJob/BksDP30_BksDP30_BulkEdit_D20160113T062803_8a4_1",
        "action": "GET",
        "rel": "Job status"
    }],
    "status": -1,
    "details": "BksDP30_BksDP30_BulkEdit_D20160113T062803_8a4_1",
    "statusMessage": "IN_PROGRESS"
}
Process Type Asynchronous

Table 4-16 Request Parameters

Parameter Description Example
Operation

Specify the Bulk Edit operation:

BulkEditOperations.ADD_DRIVERS

BulkEditOperations.REMOVE_DRIVERS

BulkEditOperations.ADD_ASSIGNMENT_RULES

BulkEditOperations.REMOVE_ASSIGNMENT_RULES

ADD_DRIVERS
Comment Specify a comment for this Bulk Edit Operation. bulk edit test
sourceRules A List of Source Assignment Rule names being selected for this Bulk Edit Operation Apply All Building Activities,Apply Business Support Driver,Apply CoMarket
Drivers

Name of the Driver to be applied to the selected Source Assignment Rules as part of this Bulk Edit Operation.

Note:

Only one Driver name may be provided when using the BulkEditOperations.ADD_DRIVER operation; however, a list of Driver names can be provided when using the BulkEditOperations.REMOVE_DRIVERS operation

DRV Business Support
destinationRules

A List of Destination Assignment Rule names being selected for this Bulk Edit Operation,

Note:

This value should be passed only with BulkEditOperations.ADD_ASSIGNMENT_RULES and BulkEditOperations.REMOVE_ASSIGNMENT_RULES.

All to Invoice,Building to Invoice
isSelectEntireStageForDelete

Boolean flag specifying if the entire stage should be selected for delete.

Valid values are TRUE or FALSE

true
isSelectAllRulesOrDriversForDelete

Boolean flag specifying if all the destination assignment rules or drivers should be selected for delete.

Valid values are TRUE or FALSE.

true
stringDelimter

Delimiter used to separate logical entities in parameters

For example, when passing POVs at a time, please use this to delimit POVs

Eg: 2009_January_ActuaL when passing POV MEMBERS TO 2009, January , Actual

This is optional field.

_

Response Values: None