Creates a new territory
Request Information
URI Parameters :
None.
Body Parameters :
sales_territory| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| code |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 50 |
| description |
Description of the territory |
string |
Required |
| sales_organization_id |
FK of sales_organization. Filled if specific of one SO, empty if can be used by all |
globally unique identifier | |
| sales_organization_code |
Embedded entity "sales_organization" using ERP PK when adding/updating company_type |
string | |
| sales_organization |
Embedded entity "sales_organization" when adding/updating company_type |
sales_organization | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Request Formats :
application/json, text/json
Sample:
{
"id": "705bf298-3bc4-4f2b-bbd3-6859ab1f21c9",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "d0c28a69-4893-44d7-a2ce-6acba8f83ea0",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "3b41ec25-cfa8-40ad-aa16-4bbdc9e2c031",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "ce0d7a08-f5a7-4970-a56f-c86adefdbd20",
"db_currency_id": "fb576556-0395-48b1-8703-817a57b9ac0f",
"db_language_id": "c7286695-44c3-4d7b-ad81-fad11955cf66",
"accountancy_code": "sample string 8",
"archived": true,
"default_unit_of_measure_system_type": "sample string 10",
"street": "sample string 11",
"street2": "sample string 12",
"street_number": "sample string 13",
"zip": "sample string 14",
"city": "sample string 15",
"email": "sample string 16",
"phone": "sample string 17",
"fax": "sample string 18",
"url": "sample string 19",
"vat_reg_code": "sample string 20",
"modified_dateutc": "2026-10-21T21:26:46.9820934+00:00"
},
"modified_dateutc": "2026-10-21T21:26:46.9820934+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.