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": "0c87d22d-fb77-404e-9407-50606ea6e8dc",
  "code": "sample string 2",
  "description": "sample string 3",
  "sales_organization_id": "0175d978-e215-4d72-bea8-7c79f2210d9a",
  "sales_organization_code": "sample string 5",
  "sales_organization": {
    "id": "e2caab01-82b2-47f8-9059-4eae039e0c3a",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "3a6b2037-af15-42af-859a-d7b3c4fbcbaa",
    "db_currency_id": "d348bebe-45af-4216-a773-60f1c6b0c27f",
    "db_language_id": "69108489-6432-4468-8a95-57fdc3c464bb",
    "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-02-10T06:46:09.033753+00:00"
  },
  "modified_dateutc": "2026-02-10T06:46:09.033753+00:00"
}