Calculate When The First Inspection Of An Inspection Schedule Will Be Created
calculate_when_the_first_inspection_of_an_inspection_scheduleCalculates the creation date for the first inspection in a schedule, using start/end dates, frequency, and days before due date.
Instructions
Calculates the creation date for the first Inspection to be created based on an Inspection Schedule's temporal attributes. Use this to read information about Inspections from Procore. Returns a paginated JSON array of Inspections. Use page and per_page to control pagination; the response includes pagination metadata. Required parameters: project_id, starts_at, ends_at, frequency, days_created_before_due_date. Procore API: Project Management > Inspections. Endpoint: GET /rest/v1.0/projects/{project_id}/checklist/schedules/calculate_first_inspection_created_at
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| starts_at | Yes | JSON request body field — schedule start date | |
| ends_at | Yes | JSON request body field — schedule end date. When frequency is 'once' this should be the same value as starts_at. | |
| frequency | Yes | JSON request body field — schedule frequency type name | |
| days_created_before_due_date | Yes | JSON request body field — number of days before the inspection due date that the inspection should be created | |
| page | No | Page number for paginated results (default: 1) | |
| per_page | No | Number of items per page (default: 100, max: 100) |