PATCH /rest/v1.0/companies/{company_id}/timesheets
Updates multiple timecard entries at the same time
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
company_id |
Integer | Yes |
Unique identifier for the company. |
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 |
---|---|---|---|
project_id |
Integer | No |
The ID of the Timecard Time Type of the Timecard Entry |
sub_job_id |
Integer | No |
The ID of the Sub Job of the Timecard Entry |
time_out |
String | No |
Time out for the Timecard Entry |
timesheet_id |
Integer | No |
The ID of the Timesheet of the Timecard Entry |
time_in |
String | No |
Time in for the Timecard Entry |
description |
String | No |
The description of the Timecard Entry |
set_timecard_time_type_automatically |
Boolean | No |
Whether or not to allow the automatic overtime management system to apply the configured rules to set the timecard_time_type_id and/or split the timecard entry automatically |
hours |
Integer | No |
Hours worked on a Timecard Entry |
party_id |
Integer | No |
The ID of the party for the Timecard Entry |
approval_status |
String | No |
Approval status of a Timecard Entry |
date |
String | No |
The Date of the Timecard Entry |
origin_data |
String | No |
Value of related external data |
work_classification_id |
Integer | No |
The ID of the Work Classification of the Timecard Entry |
location_id |
Integer | No |
The location ID for the Timecard Entry |
crew_id |
Integer | No |
The ID of the crew for the Timecard Entry |
origin_id |
Integer | No |
ID of related external data |
updates[] |
Array | Yes |
The IDs of the timecards you want to update |
updates[].id |
Integer | No | |
billable |
Boolean | No |
The Billable status of the Timecard Entry Default value: false |
timecard_time_type_id |
Integer | No |
The ID of the Timecard Time Type of the Timecard Entry |
user_id |
Integer | No |
The ID of the Login Information of the Timecard Entry |
cost_code_id |
Integer | No |
The ID of the Cost Code of the Timecard Entry |
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.