Contractors
Contractors
Get Permits By Contractor Id
Changed onRetrieves all permits associated with a single contractor.
get/contractors/{id}/permits
Request
- Base URLhttps://api.shovels.ai/v2
- AuthAPI key in header X-API-Key
Path parameters
idstring required
Filter by the specified contractor ID.
Query parameters
cursorstring nullable
Cursor for pagination
sizeinteger
include_countboolean
When true and on the first page (no cursor), include total_count in the response. The count is exact up to 10,000; above that, relation is 'gte'.
Response
A list of permits associated with the contractor and grouped by address
Changes
- breaking
for the
queryrequest parametersize, default value was changed from50to10
- breaking
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info