Update an Integrated Resource
To update an integrated resource:
- Create or generate a JSON object containing the following properties, including any additional properties you want to update:
- sourceId: The unique identifier of resource data in an external source, such as an ERP system.
- Send a request to the API using the following information:
- Endpoint:
https://localhost:7001/primeapi/restapi/project/resource/syncBatch
- Operation:
POST
- Example Request Body:
{ "sourceId": 1, "resourceStatus": "INACTIVE" }
- Endpoint:
- The API should return a response similar to the following:
- Response Code:
207
- Example Response Body:
{ "statusCode": 204, "primaryKeyName": "resourceId", "primaryKeyValue": 18002, "sourceId": 1, "message": "The object has an existing Source ID." }
- Response Code: