Administrative divisions (deprecated)
Get admin division tree by admin division ID (deprecated)
DEPRECATED. Call List holiday calendars instead.
Get the complete tree of child administrative divisions using the parent's administrative division ID.
get/divisions-core/v1/administrative-division/{id}/tree
Request
- Base URLhttps://sandbox.pismolabs.io
- URLhttps://sandbox.pismolabs.io/divisions-core/v1/administrative-division/{id}/tree
- AuthHTTP bearer
Path parameters
idstring required
Client-supplied external ID
Query parameters
pageinteger required
Page must be greater than 0. Default = 1.
perPageinteger required
PerPage must be greater than 0. Default = 10.
Response
Paginated list of administrative divisions.
Example response
{
"pages": 1,
"current_page": 1,
"per_page": 10,
"total_items": 1,
"items": [
{
"id": 84849,
"name": "Scotland",
"type": "State",
"external_id": "8675309"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.