Update an Integrated Change Order Line Item

To update an integrated change order line item:

  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 line item data in an external source, such as an ERP system.
    • changeOrderId: The unique identifier of a change order this line item is associated with.
  2. Send a request to the API using the following information:
    • Endpoint: https://localhost:7001/primeapi/restapi/project/changeOrderLineItem/sync
    • Operation: POST
    • Example Request Body:
    { 
          		"sourceId": 1, 
          		"changeOrderId":14001, 
          		"description": "Example Description" 
          }
  3. The API should return a response similar to the following:
    • Response Code: 204
    • Example Response Body:
    { 
              "statusCode": 204, 
              "primaryKeyName": "lineItemId", 
              "primaryKeyValue": 8001, 
              "sourceId": "1" 
          }