Updates the user_sales_territory_list object with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

user_sales_territory_list
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
user_id

Foreign key to user

globally unique identifier

Optionally required : user_id, user_code or user must be provided

user_code

Embedded entity "user" using ERP PK when adding/updating user_sales_territory_list

string

Optionally required : user_id, user_code or user must be provided

user

Embedded entity "user" using node when adding/updating user_sales_territory_list

user

Optionally required : user_id, user_code or user must be provided

sales_territory_id

Foreign key to sales_territory

globally unique identifier

Optionally required : sales_territory_id, sales_territory_code or sales_territory must be provided

sales_territory_code

Embedded entity "sales_territory" using ERP PK when adding/updating user_sales_territory_list

string

Optionally required : sales_territory_id, sales_territory_code or sales_territory must be provided

sales_territory

Embedded entity "sales_territory" using node when adding/updating user_sales_territory_list

sales_territory

Optionally required : sales_territory_id, sales_territory_code or sales_territory must be provided

reference_back_office

Field used for Embedded entity (store there your ERP PK)

string

Max length: 50

modified_dateutc

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

date

Request Formats :

application/json, text/json

Sample:
{
  "id": "2641ba8c-5d05-4e4f-9cde-de1cfc79443e",
  "user_id": "9d938662-de56-4e38-b885-fae29ca81022",
  "user_code": "sample string 3",
  "sales_territory_id": "0cd0599d-f8be-48ad-b662-f15bc0641535",
  "sales_territory_code": "sample string 5",
  "reference_back_office": "sample string 6",
  "modified_dateutc": "2022-12-06T06:12:36.3315569+01:00"
}

Response Information

Resource Description :

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.