POST /rest/v1.0/projects/{project_id}/timecard_entries
Create a new Timecard Entry.
See - Daily Log guide - for additional info on
- Attachments
See - Project People guide - for additional info on
- Getting a contact's party_id
Servers
- https://api.procore.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
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 |
---|---|---|---|
timecard_entry |
Object | Yes |
Timecard Entry object |
timecard_entry.lunch_time |
String | Yes |
The duration of the lunch break, in minutes, for the timecard entry. This property is only required if the timesheet time entry is configured for start time and stop time. |
timecard_entry.time_out |
String | Yes |
The stop time of the timecard entry in ISO 8601 format. This property is only required if the timesheet time entry is configured for start time and stop time. |
timecard_entry.timesheet_id |
Integer | No |
The ID of the timesheet corresponding to the timecard entry property. |
timecard_entry.sub_job_id |
Integer | No |
The ID of the subjob corresponding to the timecard entry property. |
timecard_entry.line_item_type_id |
Integer | No |
The ID of the line item type corresponding to the time card entry. |
timecard_entry.time_in |
String | Yes |
The start time of the timecard entry in ISO 8601 format. This property is only required if the timesheet time entry is configured for start time and stop time. |
timecard_entry.description |
String | No |
The description of the timecard entry. |
timecard_entry.hours |
String | Yes |
Total number of hours worked (excluding breaks) for the timecard entry. This property is not required if the timesheet time entry is configured for start time and stop time. |
timecard_entry.party_id |
Integer | No |
The ID of the Party of the Timecard Entry |
timecard_entry.date |
String | No |
The date of the timecard entry in ISO 8601 format. |
timecard_entry.origin_data |
String | No |
The value of the related external data. |
timecard_entry.location_id |
Integer | No |
The ID of the multi-tier location corresponding to the timecard entry property. |
timecard_entry.login_information_id |
Integer | No |
The ID of the login information corresponding to the timecard entry property. |
timecard_entry.origin_id |
Integer | No |
The ID of the related external data. |
timecard_entry.datetime |
String | No |
The date and time value of record. This property is mutually exclusive with the Date property. |
timecard_entry.billable |
Boolean | No |
The billable status of the timecard entry. Must be either true or false. Default value: false |
timecard_entry.timecard_time_type_id |
Integer | No |
The ID of the timecard time type corresponding to the timecard entry property. |
timecard_entry.cost_code_id |
Integer | No |
The ID of the cost code corresponding to the timecard entry property. |
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.