Updates the territory with the specified key ///

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

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

Request Formats :

application/json, text/json

Sample:
{
  "id": "22535cae-244f-45ca-9b75-6e491ca00856",
  "code": "sample string 2",
  "description": "sample string 3",
  "sales_organization_id": "45ca2bd8-74a8-48ef-ae3b-13b3b688b585",
  "sales_organization_code": "sample string 5",
  "sales_organization": {
    "id": "34af486c-285b-4330-bdcb-0b8d289d8ad2",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "40cb78b9-3ce7-4b04-a05c-950b5719f512",
    "db_currency_id": "6cbff42e-54bc-4971-b6aa-8351185c441a",
    "db_language_id": "0ed9c4c5-a785-4b9c-a584-f25c691f44a1",
    "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": "2022-12-02T21:48:32.5491101+01:00"
  },
  "modified_dateutc": "2022-12-02T21:48:32.5491101+01:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.