Retrieves all territories
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
sales_territoryName | Description | Type | Additional 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": "286cae54-8c65-4a08-a9e9-0a1ffb053d89", "code": "sample string 2", "description": "sample string 3", "sales_organization_id": "6b866a04-2cd1-4c99-ba93-00549636ac22", "sales_organization_code": "sample string 5", "sales_organization": { "id": "08af5f98-d714-41c3-861f-073584f3e355", "code": "sample string 2", "name": "sample string 3", "description": "sample string 4", "db_country_id": "c5ad0c9a-4e75-40b1-8ba2-bc2017b02b55", "db_currency_id": "a3ae6ec6-9035-456d-aae0-e8b7a9aef8e0", "db_language_id": "88292ac0-001d-462c-a1e2-738bade724c8", "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": "2024-12-25T22:09:46.4815852+00:00" }, "modified_dateutc": "2024-12-25T22:09:46.4815852+00:00" }