POST /rest/v1.1/projects/{project_id}/project_timecard_entries
Create Timecard Entry associated with the specific Project.
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 |
---|---|---|---|
lunch_time |
String | No |
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. |
time_out |
String | No |
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. |
timesheet_id |
Integer | No |
The ID of the Timesheet corresponding to the Timecard Entry property. |
sub_job_id |
Integer | No |
The ID of the Subjob corresponding to the Timecard Entry property. |
line_item_type_id |
Integer | No |
The ID of the line item type corresponding to the time card entry. |
time_in |
String | No |
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. |
description |
String | No |
The description of the Timecard Entry. |
hours |
String | No |
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. |
party_id |
Integer | No |
The ID of the Party corresponding to the Timecard Entry property. |
date |
String | No |
The date of the Timecard Entry in ISO 8601 format. |
origin_data |
String | No |
The value of the related external data. |
custom_field_%{custom_field_definition_id} |
No |
Value of the custom field. The data type of the value passed in corresponds with the data_type of the Custom Field Definition. For a lov_entry data_type the value passed in should be the ID of one of the Custom Field Definition's LOV Entries. For a lov_entries data_type the value passed in should be an array of IDs of the Custom Field Definition's LOV Entries. |
|
location_id |
Integer | No |
The ID of the Location corresponding to the Timecard Entry property. |
login_information_id |
Integer | No |
The ID of the Login Information corresponding to the Timecard Entry property. |
origin_id |
Integer | No |
The ID of the related external data. |
billable |
Boolean | No |
The billable status of the Timecard Entry. Must be either true or false. Default value: false |
timecard_time_type_id |
Integer | No |
The ID of the Timecard Time Type corresponding to the Timecard Entry property. |
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.