Administrative divisions V2 (deprecated)
Create administrative division (deprecated)
DEPRECATED. Call Create holiday calendar instead.
Create an administrative division.
This is a v2 endpoint that offers more granular control over financial activities on non-business days. To understand the differences between v1 and v2 endpoints, refer to Platform setup - Holidays and administrative divisions.
post/divisions-core/v2/administrative-division
Request
- Base URLhttps://sandbox.pismolabs.io
- URLhttps://sandbox.pismolabs.io/divisions-core/v2/administrative-division
- AuthHTTP bearer
Request body
Example request
{
"name": "Scotland",
"type": "State",
"external_id": "8675309",
"parent_external_id": "8675309",
"working_days": [
1,
2,
3,
4,
5
]
}Response
Created
Example response
{
"id": 84849,
"external_id": "8675309",
"name": "Scotland",
"type": "State",
"working_days": [
1,
2,
3,
4,
5
]
}Changes
No recorded changes to this operation across all 1 revision of this API.