Get Person'S Assignment History Data
get_persons_assignment_history_dataRetrieve assignment history for a person in Procore. Returns a paginated list of their assignments, with optional project names, dates, and cost codes to support follow-up lookups.
Instructions
Fetches the assignment history for a specific Person, returning records of all assignments linked to them. Use this to discover person s assignment history data or to look up the id of one before calling a tool that needs it. company_id defaults to the value set by procore_set_config when omitted, and person_id must identify an existing parent record — resolve it with the matching list tool first. Returns a JSON array of person s assignment history data; page and per_page control pagination and the response reports how many pages remain. Read-only — it changes nothing in Procore. 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: company_id, person_id. Procore API: Resource Management > Resource Planning. Endpoint: GET /rest/v1.0/workforce-planning/v2/companies/{company_id}/people/{person_id}/reports/assignment-history
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for paginated results (default: 1, 1-indexed) | |
| labels | No | Query string parameter — will return the name and UUID of the Label for each assignment. | |
| duration | No | Query string parameter — will return a calculated duration for each listed assignment. | |
| end_time | No | Query string parameter — will return the daily end time for each assignment. | |
| per_page | No | Number of items per page (default: 100, max: 100) | |
| cost_code | No | Query string parameter — will return the name and UUID of the Cost Code for each assignment. | |
| person_id | Yes | URL path parameter — unique identifier for the person | |
| company_id | Yes | URL path parameter — unique identifier for the company. This parameter accepts both formats: - **Recommended**: Procore company ID (integer) - Use this for new integrations - Legacy: LaborChart UUID format (uuid string... | |
| start_time | No | Query string parameter — will return the daily start time for each assignment. | |
| projectName | No | Query string parameter — whether to include the project name for each assignment. | |
| assignmentEnd | No | Query string parameter — whether to include the assignment end date. | |
| project_number | No | Query string parameter — filters items by their exact project number. The query performs an exact match. Example usage: `/v2/companies/{company_id}/...?project_number=BR-2024` | |
| assignmentStart | No | Query string parameter — whether to include the assignment start date. |