post
/api/v2/zones/custom/by-sub-type
Python SDK method:
client.zones.by_sub_type(params).run()

Start custom zones by sub-type job

Starts a job to return GeoJSON features for custom zones matching the given sub-type IDs.

Altitude Help Center — getCustomZones

Request Body

Custom zone sub-type selection.

application/json: object

NameTypeInput ShapeValuesDescriptionValue Required
subTypeIdsarray<string>--An optional array of customer zone sub type ids. Leaving it empty will return all zones.N

Examples

Custom zones by subType

Replace the database-specific placeholder with an id returned by GET /api/v2/zones/custom-sub-types.

{
  "subTypeIds": [
    "zt-00001"
  ]
}

Success Responses

202 response: object

Job accepted and queued for processing. Poll the location header URL to check status.

NameTypeDescription
errorobjectDetails about why the job failed (RFC 7807 format), or null if it succeeded.
idstringUnique job identifier.
linksobjectNavigation URLs for polling and result retrieval.
statusstringCurrent job lifecycle state: PENDING, QUEUED, RUNNING, DONE, FAILED, CANCELED, or NOT_FOUND.

Response Errors

HTTP Status CodeReason
400The request body or parameters are invalid.
401Authentication is required or the provided credentials are invalid.
403The authenticated user lacks permission to perform this operation.
409The operation conflicts with the current state of the resource.
422The request is syntactically valid but semantically cannot be processed.
429The request rate limit has been exceeded.
500An unexpected server error occurred.