Copy POV Data

Use this operation to copy Model artifacts and Data from a Source POV combination to a Destination POV combination. This operation is equivalent to the functionality supported from the UI by selecting Manage Model, then POV Manager, and then Copy.

Table 4-7 Copy POV Data

Name Description
Action Type POST
Request URI http://myServer.mydomain.com:19000/profitability/rest/v1/applications/BksDP30/povs/2010_February_Actual/jobs/copySpDpPOVJob/2012_January_Actual
Request Payload
{
"copyCostLayerData":"true",
"copyRevenueLayerData":"true",
"copyAssignments":"true",
"copyDriverAssociations":"false",
"copyDriverValues":"true",
"copyCostRevenueValues":"false",
"copyCalculationRules":"false",
"stringDelimter":"_"
}
Response
{
    "type": "Profitability",
    "links": [{
        "href": "http://slc06vya.mydomain.com:19000/profitability/rest/v1/applications/BksDP30/povs/2010_February_Actual/jobs/copySpDpPOVJob/2012_January_Actual",
        "action": "POST",
        "rel": "self",
        "data": {
            "copyDriverAssociations": false,
            "copyCostLayerData": true,
            "copyAssignments": true,
            "stringDelimter": "_",
            "copyCalculationRules": false,
            "copyCostRevenueValues": false,
            "copyDriverValues": true,
            "copyRevenueLayerData": true
        }
    }, {
        "href": "http://SLC06VYA.mydomain.com:19000/profitability/rest/v1/applications/jobs/ChecktaskStatusJob/BksDP30_BksDP30_CopyPOV_D20160114T041354_115_1",
        "action": "GET",
        "rel": "Job status"
    }],
    "status": -1,
    "details": "BksDP30_BksDP30_CopyPOV_D20160114T041354_115_1",
    "statusMessage": "In Progress"
}
Process Type Asynchronous

Table 4-8 Request Parameters

Parameter Description Example
copyCostLayerData Boolean flag specifying whether Cost Layer data should be copied. Valid values are TRUE or FALSE. true
copyRevenueLayerData Boolean flag specifying whether Revenue Layer data should be copied. Valid values are TRUE or FALSE. true
copyAssignments Boolean flag specifying whether assignments data should be copied. Valid values are TRUE or FALSE. true
copyDriverAssociations Boolean flag specifying whether driver associations data should be copied. Valid values are TRUE or FALSE. true
copyDriverValues Boolean flag specifying whether driver data should be copied. Valid values are TRUE or FALSE. true
copyCalculationRules Boolean flag specifying whether Calculation Rules should be copied for a Profitability and Cost Management Detailed Application. 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

_

Table 4-9 Response Values

Parameter Description Example
details CES task id BksDP30_BksDP30_CopyPOV_D20160112T015313_580_1