List Prime Contract Line Items
list_prime_contract_line_items_v1_0Retrieve a paginated list of line items for a specified prime contract. Filter by IDs, dates, cost codes, or line item types to get targeted results.
Instructions
Return a list of all Line Items for the Prime Contract. See Filtering on List Actions for information on using the filtering capabilities provided by this endpoint. Use this to enumerate Prime Contracts when you need a paginated overview, to find IDs, or to filter by query parameters. Returns a paginated JSON array of Prime Contracts. Use page and per_page to control pagination; the response includes pagination metadata. Required parameters: prime_contract_id, project_id. Procore API: Construction Financials > Prime Contracts. Endpoint: GET /rest/v1.0/prime_contracts/{prime_contract_id}/line_items
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prime_contract_id | Yes | URL path parameter — unique identifier of the prime contract | |
| project_id | Yes | Query string parameter — unique identifier for the project. | |
| page | No | Query string parameter — page number for paginated results (default: 1) | |
| per_page | No | Query string parameter — number of items per page (default: 100, max: 100) | |
| filters__id | No | Query string parameter — return item(s) with the specified IDs. | |
| filters__created_at | No | Query string parameter — return item(s) created within the specified ISO 8601 datetime range. Formats: `YYYY-MM-DD`...`YYYY-MM-DD` - Date `YYYY-MM-DDTHH:MM:SSZ`...`YYYY-MM-DDTHH:MM:SSZ` - DateTime with UTC Offset `YYYY-MM-... | |
| filters__updated_at | No | Query string parameter — return item(s) last updated within the specified ISO 8601 datetime range. Formats: `YYYY-MM-DD`...`YYYY-MM-DD` - Date `YYYY-MM-DDTHH:MM:SSZ`...`YYYY-MM-DDTHH:MM:SSZ` - DateTime with UTC Offset `YYY... | |
| filters__cost_code_id | No | Query string parameter — cost Code ID. Returns item(s) with the specified Cost Code ID or within the specified range of Cost Code IDs. | |
| filters__line_item_type_id | No | Query string parameter — line Item Type ID. Returns item(s) with the specified Line Item Type ID or range of Line Item Type IDs. |