Create Actual Production Quantity
create_actual_production_quantityAdd an actual production quantity record to a Procore project. Provide project ID and installed quantity, with optional date, crew, location, or cost code; returns the new record with its ID.
Instructions
Create new Actual Production Quantity associated with the specified Project. Pass the record's fields as top-level arguments — they are nested under "actual_production_quantity" in the request payload for you. project_id defaults to the value set by procore_set_config when omitted. Creates the actual production quantity 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, quantity. Procore API: Project Management > Field Productivity. Endpoint: POST /rest/v1.0/projects/{project_id}/actual_production_quantities
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | JSON request body field — date the Actual Production Quantity was installed. The date will be associated with the production quantity only when 'timesheet_id' is not included in the request. | |
| crew_id | No | JSON request body field — the Crew ID for the Actual Production Quantity | |
| quantity | Yes | JSON request body field — amount installed | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| sub_job_id | No | JSON request body field — the Sub Job ID for the Actual Production Quantity. DO NOT provide if your project is configured for Task Codes. | |
| description | No | JSON request body field — the description of the Actual Production Quantity | |
| location_id | No | JSON request body field — the Location ID for the Actual Production Quantity | |
| wbs_code_id | No | JSON request body field — the Production Quantity Code for the Actual Production Quantity. This is necessary if your project is configured for Task Codes. DO NOT provide if your project is not configured for Task Codes. | |
| cost_code_id | No | JSON request body field — the Cost Code ID for the Actual Production Quantity. DO NOT provide if your project is configured for Task Codes. | |
| timesheet_id | No | JSON request body field — the Timesheet ID for the Actual Production Quantity. If the 'timesheet_id' is provided in the request, then the date for the timesheet will be associated with the production quantity, regardless of... |