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": "06f78280-973a-4543-8f66-7a32976d201d",
  "code": "sample string 2",
  "description": "sample string 3",
  "sales_organization_id": "a6abd0e9-be5b-47a5-beab-578491aad44f",
  "db_address_id": "bf0dc10e-b261-4c41-a385-1ab3e27999af",
  "modified_dateutc": "2026-11-12T14:29:14.5419113+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>bf0dc10e-b261-4c41-a385-1ab3e27999af</db_address_id>
  <description>sample string 3</description>
  <id>06f78280-973a-4543-8f66-7a32976d201d</id>
  <modified_dateutc>2026-11-12T14:29:14.541Z</modified_dateutc>
  <sales_organization_id>a6abd0e9-be5b-47a5-beab-578491aad44f</sales_organization_id>
</sales_territory>