Retrieves the sales territory with the specified key.

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

The sales territory id.

globally unique identifier

Required

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult containing the sales territory, or 404 Not Found if it doesn't exist.

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
db_address_id

Address of territory

globally unique identifier
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date
archived

Flag for checking archived

boolean

Response Formats

application/json, text/json

Sample:
{
  "id": "89854987-98b0-4873-ab7d-2da2aeafcf82",
  "code": "sample string 2",
  "description": "sample string 3",
  "sales_organization_id": "cdd8ae02-cc13-45a4-a36d-324967e5131b",
  "db_address_id": "18598252-1236-4a4b-8243-984ced3597aa",
  "modified_dateutc": "2026-09-16T10:18:01.7826966+00:00",
  "archived": true
}

application/xml, text/xml

Sample:
<sales_territory xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <archived>true</archived>
  <code>sample string 2</code>
  <db_address_id>18598252-1236-4a4b-8243-984ced3597aa</db_address_id>
  <description>sample string 3</description>
  <id>89854987-98b0-4873-ab7d-2da2aeafcf82</id>
  <modified_dateutc>2026-09-16T10:18:01.782Z</modified_dateutc>
  <sales_organization_id>cdd8ae02-cc13-45a4-a36d-324967e5131b</sales_organization_id>
</sales_territory>