Create Productivity Log
create_productivity_logCreate a productivity log in Procore Daily Log with project_id and productivity_log. The API returns the new log ID.
Instructions
Creates single Productivity Log #### Click - Daily Log guide - for additional info on * Attachments #### Note: The required Line Item ID to create a Productivity Log must be from an approved Contract #### How to find a Line Item ID * If the Line Item comes from a Work Order Contract use the Work Order Contracts List endpoint * If the Line Item comes from a Purchase Order Contract use the Purchase Order Contracts List endpoint * Use filter - filters[status] 'Approved' - to get list of approved Contracts * Use the Contract ID to the Show endpoint to get the Line Item ID associated with the Contract. project_id defaults to the value set by procore_set_config when omitted. Creates the productivity log and returns it with its new id (HTTP 201); calling it again creates another record. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id, productivity_log. Procore API: Project Management > Daily Log. Endpoint: POST /rest/v1.0/projects/{project_id}/productivity_logs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| productivity_log | Yes | JSON request body field — the productivity log for this Daily Log operation |