Retrieves all territories
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
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 |
Response Formats
application/json, text/json
Sample:
{
"id": "0acc3cbc-50e8-470e-b10e-d11e2a78e1f2",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "83080101-bbe1-4903-850d-2c94e3166900",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "b65bf830-d3e0-4e9d-8b2b-76c4097f9e3c",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "247859a2-a615-49c0-96c5-93ae06957d44",
"db_currency_id": "081c86cf-eada-4f6b-bf40-ab9567190983",
"db_language_id": "18644a27-6721-43e0-8a63-928b0fecbb9a",
"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-04-09T03:20:13.4520806+00:00"
},
"modified_dateutc": "2026-04-09T03:20:13.4520806+00:00"
}