Create Timecard Entry (Project)
create_timecard_entry_project_2Create a new timecard entry for a Procore project to record hours worked, lunch breaks, and time in/out for field productivity tracking.
Instructions
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. Use this to create a new Field Productivity records in Procore. Creates a new Field Productivity records and returns the created object on success (HTTP 201). Required parameters: project_id, hours, lunch_time, time_in, time_out. Procore API: Project Management > Field Productivity. Endpoint: POST /rest/v1.0/projects/{project_id}/timecard_entries
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| hours | Yes | JSON request body field — 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. | |
| lunch_time | Yes | JSON request body field — 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. | |
| party_id | No | JSON request body field — the ID of the Party of the Timecard Entry | |
| time_in | Yes | JSON request body field — 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. | |
| time_out | Yes | JSON request body field — 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. | |
| billable | No | JSON request body field — the billable status of the timecard entry. Must be either true or false. | |
| date | No | JSON request body field — the date of the timecard entry in ISO 8601 format. | |
| datetime | No | JSON request body field — the date and time value of record. This property is mutually exclusive with the Date property. | |
| description | No | JSON request body field — the description of the timecard entry. | |
| timecard_time_type_id | No | JSON request body field — the ID of the timecard time type corresponding to the timecard entry property. | |
| timesheet_id | No | JSON request body field — the ID of the timesheet corresponding to the timecard entry property. | |
| cost_code_id | No | JSON request body field — the ID of the cost code corresponding to the timecard entry property. | |
| sub_job_id | No | JSON request body field — the ID of the subjob corresponding to the timecard entry property. | |
| location_id | No | JSON request body field — the ID of the multi-tier location corresponding to the timecard entry property. | |
| daily_log_segment_id | No | JSON request body field — daily Log Segment ID | |
| login_information_id | No | JSON request body field — the ID of the login information corresponding to the timecard entry property. | |
| origin_id | No | JSON request body field — the ID of the related external data. | |
| origin_data | No | JSON request body field — the value of the related external data. | |
| line_item_type_id | No | JSON request body field — the ID of the line item type corresponding to the time card entry. |