Retrieves all territories

Request Information

URI Parameters :

None.

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult

sales_territory
NameDescriptionTypeAdditional 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": "cf24cf63-121d-4ce9-bad7-ecaa091b68f2",
  "code": "sample string 2",
  "description": "sample string 3",
  "sales_organization_id": "57365c36-3f52-49b0-b74f-e7bd7e1813cd",
  "sales_organization_code": "sample string 5",
  "sales_organization": {
    "id": "c70d2e85-1f32-4120-a244-8236b0ef9072",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "367cc58c-7017-4e61-992f-dab3a8ca6ac9",
    "db_currency_id": "1b29cd17-2a99-4210-a734-72c7985822d7",
    "db_language_id": "57a42a9c-5f9f-4591-baf1-05377a7d3c8a",
    "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": "2025-08-12T05:33:08.3162149+00:00"
  },
  "modified_dateutc": "2025-08-12T05:33:08.3162149+00:00"
}