Update an Integrated Change Order
To update an integrated change order:
- Create or generate a JSON object containing the following properties, including any additional properties you want to update:
- sourceId: The unique identifier of change order data in an external source, such as an ERP system.
- projectId: The unique identifier of the project the change order is associated with.
- Send a request to the API using the following information:
- Endpoint:
https://localhost:7001/primeapi/restapi/project/changeOrder/sync
- Operation:
POST
- Example Request Body:
{ "sourceId": 1, "description": "Example Description", "projectId": 3401 }
- Endpoint:
- The API should return a response similar to the following:
- Response Code:
204
- Example Response Body:
{ "statusCode": 204, "primaryKeyName": "changeOrderId", "primaryKeyValue": 14001, "sourceId": "1" }
- Response Code: