PATCH /rest/v1.0/projects/{project_id}/direct_costs/{id}
Update a specific Direct Cost Item. This action does not support concurrent requests. If there is an attempt to update a Direct Cost that is being updated or deleted by another request, a 409 Conflict error will be returned.
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
ID |
project_id |
Integer | Yes |
Unique identifier for the project. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Procore-Company-Id |
Integer | Yes |
Unique company identifier associated with the Procore User Account. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
attachments[] |
Array | No |
Direct Cost Item attachments.
To upload attachments you must upload the entire payload as |
item |
Object | No |
Direct Cost Item object |
item.vendor_id |
Integer | No |
Vendor ID |
item.description |
String | No |
Description |
item.payment_date |
String | No |
Payment Date |
item.invoice_number |
String | No |
Unique identifier for a Direct Cost Item of type invoice |
item.origin_id |
String | No |
Origin ID |
item.received_date |
String | No |
Received Date |
item.employee_id |
Integer | No |
Employee ID tied to the Direct Cost Item |
item.direct_cost_date |
String | No |
Date |
item.status |
String | No |
Status Possible values:
|
item.origin_data |
String | No |
Origin Data |
item.terms |
String | No |
The agreed upon Terms for the date of payment |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.