POST /rest/v1.0/companies/{company_id}/timecard_entries
Create a new Timecard Entry.
See - Company People guide - for additional info on
- Getting a contact's party_id
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_entry |
Object | Yes |
Timecard Entry object |
timecard_entry.lunch_time |
String | No |
Duration of lunch break in minutes for the Timecard Entry. Only required if Timesheet time entry is configured for Start Time and Stop Time. |
timecard_entry.time_out |
String | No |
The Stop Time of the Timecard Entry in ISO 8601 format. Only required if Timesheet time entry is configured for Start Time and Stop Time. |
timecard_entry.sub_job_id |
Integer | No |
The ID of the Sub Job of the Timecard Entry |
timecard_entry.timesheet_id |
Integer | No |
The ID of the Timesheet of the Timecard Entry |
timecard_entry.line_item_type_id |
Integer | No |
The ID of the Line Item Type of Timecard Entry |
timecard_entry.time_in |
String | No |
The Start Time of the Timecard Entry in ISO 8601 format. Only required if Timesheet time entry is configured for Start Time and Stop Time. |
timecard_entry.description |
String | No |
The Description of the Timecard Entry |
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 |
timecard_entry.clock_in_id |
Integer | No |
The ID of the clock in Gps Position of the Timecard Entry |
timecard_entry.clock_in_time |
String | No |
The datetime a timecard clock in was punched |
timecard_entry.hours |
String | No |
The Hours of the Timecard Entry |
timecard_entry.clock_out_id |
Integer | No |
The ID of the clock out Gps Position of the Timecard Entry |
timecard_entry.party_id |
Integer | No |
The ID of the Party of the Timecard Entry |
timecard_entry.approval_status |
String | No |
The Approval Status of the Timecard Entry Possible values:
|
timecard_entry.date |
String | Yes |
The Date of the Timecard Entry |
timecard_entry.origin_data |
String | No |
Value of related external data |
timecard_entry.procore_signature_id |
Integer | No |
The ID of the Procore Signature of the Timecard Entry |
timecard_entry.location_id |
Integer | No |
The ID of the Location of the Timecard Entry |
timecard_entry.crew_id |
Integer | No |
The ID of the Crew of the Timecard Entry |
timecard_entry.origin_id |
Integer | No |
ID of related external data |
timecard_entry.billable |
Boolean | No |
The Billable status of the Timecard Entry Default value: false |
timecard_entry.timecard_time_type_id |
Integer | No |
The ID of the Timecard Time Type of the Timecard Entry |
timecard_entry.clock_out_time |
String | No |
The datetime a timecard clock out was punched |
timecard_entry.cost_code_id |
Integer | No |
The ID of the Cost Code of the Timecard Entry |
project_id |
Integer | Yes |
The ID of the Project the Timecard Entry belongs to |
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.