Create a division. The client chooses the division_code, which identifies the division in every Apex division operation, so divisions have no separate external ID. The division_code must be unique within the organization and cannot be changed after the division is created. The Pismo platform generates the division_id, and responses return both.
This endpoint generates a Corporate division created event.
The division belongs to the hierarchy identified by external_hierarchy_id, at the level identified by external_hierarchy_level_id, and its accounts can use the programs identified by external_program_ids. Its parent is the division identified by parent_division_code, which must be at a level of the same hierarchy with a lower index.
Notes:
- If a division with this
division_codealready exists, the request fails with409and the codeWAPX0140. This includes retrying a request that already succeeded or timed out: use Get division to read the division created.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||