Update an Integrated CBS

To update an integrated CBS sheet code:

  1. Create or generate a JSON object containing the following properties, including any other properties you want to update:
    • sourceId: The unique identifier of CBS sheet code data in an external source, such as an ERP system.
    • workspaceCode: The code of the workspace associated with this CBS sheet code.
    • projectCode: The code of the project associated with this CBS code.
  2. Send a request to the API using the following information:
    • Endpoint: https://localhost:7001/primeapi/restapi/project/cbs/project/sync
    • Operation: POST
    • Example Request Body:
    {
    	"sourceId": 1
    	"workspaceCode": "Example Workspace",
    	"projectCode": "Example Project",
    	"costType": "EXPENSE"
    }
  3. The API should return a response similar to the following:
    • Response Code: 204
    • Example Response Body:
    {
    	"statusCode": 204,
    	"primaryKeyName": "costItemId",
    	"primaryKeyValue": 36215,
    	"sourceId": 1
    }