Create and Update Resources in the Master Rate Sheet

POST /ws/rest/service/v2/rate/sheet/resources

Purpose:

Create or update Resources in the Master Rate Sheet.

This POST service includes the creation and updating of Resources. Resources cannot be removed once they are created under the Master Rate Sheet.

There is no PUT or delete API for this.

Prerequisites:

Input:

{

"options": {

"source": "Primavera Cloud"

},

"data": [

{

"resourceCode": "Child1Rate4",

"resourceName": "Child1Rate4",

"workspaceCode": "NON_PROD3",

"parentResourceCode": "Parent",

"resourceType": "Labor",

"resourceCurrency": "USD",

"resourceStatus": "Active",

"unitsPerTime": 10,

"rates": [

{

"resourceEffectiveDate": "2020-02-03",

"ratesBreakdown": [

{

"resourceStandardRate": 100,

"costType": "Food",

"rateType": "Direct"

},

{

"resourceStandardRate": 100

}

]

},

{

"resourceEffectiveDate": "2020-02-05",

"ratesBreakdown" : [

{

"resourceStandardRate": 50,

"costType" : "Food",

"rateType" : "Direct"

},

{

"resourceStandardRate": 100,

"costType" : "Standard",

"rateType" : "Indirect"

}

]

}

]

}

]

}

Output:

{

"data": [

{

"resourceStatus": "Active",

"resourceCurrency": "USD",

"resourceCode": "Child1Rate4",

"workspaceCode": "NON_PROD3",

"unitsPerTime":10,

"rates": [

{

"ratesBreakdown": [

{

"rateType": "Direct",

"costType": "Food",

"id": 920,

"resourceStandardRate": 100.0

},

{

"rateType": "Direct",

"costType": "Standard",

"id": 921,

"resourceStandardRate": 100.0

}

],

"resourceEffectiveDate": "2020-02-03",

"id": 913

},

{

"ratesBreakdown": [

{

"rateType": "Direct",

"costType": "Food",

"id": 922,

"resourceStandardRate": 50.0

},

{

"rateType": "Indirect",

"costType": "Standard",

"id": 923,

"resourceStandardRate": 100.0

}

],

"resourceEffectiveDate": "2020-02-05",

"id": 914

}

],

"resourceName": "Child1Rate4",

"id": 118,

"parentResourceCode": "Parent",

"resourceType": "Labor"

}

],

"message": [

"success"

],

"status": 200,

"rest_audit_id": 1234

}

Error Response:

{

"data": [],

"message": [

"The API request is missing the required information: [resourceCode]."

],

"status": 12400,

"rest_audit_id": 1396

}

Related Topics

Master Rate Sheet

Create and Update Roles in the Master Rate Sheet

Get Resources from the Master Rate Sheet

Get Roles from the Master Rate Sheet



Last Published Tuesday, July 1, 2025