POST /rest/v1.0/companies/{company_id}/timesheets
Creates 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 |
---|---|---|---|
timecard_entries[] |
Array | No |
Array of Timecard Entries you want to create |
timecard_entries[].project_id |
Integer | No |
The ID of the Project of the Timecard Entry |
timecard_entries[].sub_job_id |
Integer | No |
The ID of the Sub Job of the Timecard Entry |
timecard_entries[].time_out |
String | No |
Time out for the Timecard Entry |
timecard_entries[].timesheet_id |
Integer | No |
The ID of the Timesheet of the Timecard Entry |
timecard_entries[].time_in |
String | No |
Time in for the Timecard Entry |
timecard_entries[].description |
String | No |
The description of the Timecard Entry |
timecard_entries[].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 |
timecard_entries[].hours |
Integer | No |
Hours worked on a Timecard Entry |
timecard_entries[].party_id |
Integer | No |
The ID of the Party for the Timecard Entry |
timecard_entries[].approval_status |
String | No |
Approval status of a Timecard Entry |
timecard_entries[].date |
String | No |
The Date of the Timecard Entry |
timecard_entries[].origin_data |
String | No |
Value of related external data |
timecard_entries[].work_classification_id |
Integer | No |
The ID of the Work Classification of the Timecard Entry |
timecard_entries[].location_id |
Integer | No |
The ID of the Location for the Timecard Entry |
timecard_entries[].crew_id |
Integer | No |
The ID of the crew for the Timecard Entry |
timecard_entries[].origin_id |
Integer | No |
ID of related external data |
timecard_entries[].billable |
Boolean | No |
The Billable status of the Timecard Entry Default value: false |
timecard_entries[].timecard_time_type_id |
Integer | No |
The ID of the Timecard Time Type of the Timecard Entry |
timecard_entries[].user_id |
Integer | No |
The ID of the Login Information of the Timecard Entry |
timecard_entries[].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.