Update an Integrated Change Order

To update an integrated change order:

  1. 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.
  2. 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 
          }
  3. The API should return a response similar to the following:
    • Response Code: 204
    • Example Response Body:
    { 
              "statusCode": 204, 
              "primaryKeyName": "changeOrderId", 
              "primaryKeyValue": 14001, 
              "sourceId": "1" 
              }