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": "581e1d4f-c216-47d1-a7f4-c5dff37f6f73",
  "code": "sample string 2",
  "description": "sample string 3",
  "sales_organization_id": "6a32718e-1c11-4f25-a22a-072545468a96",
  "sales_organization_code": "sample string 5",
  "sales_organization": {
    "id": "05931107-969e-4207-95c6-dc67c1203c13",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "e60c462a-1ddf-46b7-a7dc-3fed2f8ddbc2",
    "db_currency_id": "08e73199-98c1-4fc6-9942-67808c680c8a",
    "db_language_id": "221573ee-7726-4d88-8990-bff124e1d0c4",
    "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-11-17T22:22:09.9381594+00:00"
  },
  "modified_dateutc": "2025-11-17T22:22:09.9381594+00:00"
}