|
Http Verb |
POST |
|---|---|
|
Url |
/territory/organizational-structures/r1/operation-centers |
|
Permissions required |
Organizational Structure Entities: Edit (fsm.core.structure.edit) |
|
Personally Identifiable Information (PII) |
No |
|
Sensitive Information |
No |
|
Last Modified Version |
r1 |
|
Released since |
2024 W1 (FSM 16.0) |
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
MULTILANGUAGE-FIELDS |
Business Logic
This API creates a new Operation Center.
To validate the input countryCode the api to be called is: GET /territory/locations/r1/countries/{countryId}
Header Parameters
Default.
Request Body Parameters
|
Field |
Validations |
Note |
|---|---|---|
|
code |
NotNull Max Lenght: 40 |
|
|
description |
NotNull Max Lenght: 40 |
|
|
active |
|
|
|
structureId |
NotNull |
|
|
countryCode |
The code cannot be validated because the entity country belongs to a different sub-domain. We expect the caller to provide a valid code as input. |
|
|
timeZone |
Max Lenght: 50 |
|
|
color |
Max Lenght: 10 |
|
Response documentation
Response payload fields
|
Field |
Note |
|---|---|
|
id |
|
Response error codes
BASE_0001, BASE_0003, BASE_0006, BASE_0007