---
title: "Create administrative division (deprecated)"
method: POST
path: "/divisions-core/v2/administrative-division"
tags: ["Administrative divisions V2 (deprecated)"]
deprecated: true
---

# Create administrative division (deprecated)

`POST /divisions-core/v2/administrative-division`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/divisions-core/v2/administrative-division`
- Auth: HTTP bearer

> **Deprecated.**

**DEPRECATED**. Call [Create holiday calendar](ref:post-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](doc:platform-setup-holidays#endpoints-for-transaction-banking).

## Request body

- PresenterV2CreateAdministrativeDivisionRequest: Data to create an administrative division (transaction banking)
  - `name` string, required: Administrative division name
  - `type` 'City' | 'State' | 'Country', required: Admin division type
  - `parent_id` integer: Parent ID
  - `external_id` string: Client-supplied external ID. It must comply with the rule `^[a-zA-Z0-9-]+$`.
  - `parent_external_id` string: Parent external ID. Must comply with the rule `^[a-zA-Z0-9-]+$`.
  - `working_days` integer[]: Week days that are working days where `0` = Sunday and `6` = Saturday. The default - [1,2,3,4,5] - corresponds to Monday through Friday.
  - `metadata` Metadata: A valid JSON schema as specified in [https://json-schema.org/specification.html](https://json-schema.org/specification.html). Used to register the rules that are used to authorize the transaction. This object uses [parameters](doc:posting-transactions-on-holidays#parameters) to specify business rules for holidays. For details, see [Posting Transactions on Holidays](doc:posting-transactions-on-holidays). **Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](ref:get-started-with-pismo-apis#metadata).

## Response `201`

Created

- PresenterV2AdministrativeDivisionResponse: Administrative division response
  - `id` integer: Admininistrative division ID
  - `external_id` string: Client-supplied external ID. It must comply with the rule `^[a-zA-Z0-9-]+$`.
  - `name` string: Administrative division name
  - `parent_id` integer: Parent ID
  - `type` 'City' | 'State' | 'Country': Admin division type
  - `working_days` integer[]: Week days that are working days where `0` = Sunday and `6` = Saturday. The default - [1,2,3,4,5] - corresponds to Monday through Friday.
  - `metadata` Metadata: A valid JSON schema as specified in [https://json-schema.org/specification.html](https://json-schema.org/specification.html). Used to register the rules that are used to authorize the transaction. This object uses [parameters](doc:posting-transactions-on-holidays#parameters) to specify business rules for holidays. For details, see [Posting Transactions on Holidays](doc:posting-transactions-on-holidays). **Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](ref:get-started-with-pismo-apis#metadata).

## Other responses

- `400`: Bad request error.
- `401`: Access token is missing or invalid
- `404`: Not found.
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-setup-divisions.md) - [All operations](https://skmtc.dev/pismo/apis/platform-setup-divisions/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-setup-divisions/revisions/eadd2f8d71a2?raw)
