POST api/importProductTerritoryMap?employeeId={employeeId}
Import Product Territory Price Map.
Request Information
Allows multi-location processing, in case of using parent location token restrictByLocations parameter is strongly recommended with comma separated list of locations to select from or update in
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeId | integer |
Required |
Body Parameters
Collection of ProductTerritoryMapImportLine| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
|
| SKU | string |
Required |
|
| TerritoryName | string |
Required |
|
| VendorCode | string |
None. |
|
| PurchasingQty | integer |
None. |
|
| Cost | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| IsPrimary | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"CompanyId": 1,
"SKU": "sample string 2",
"TerritoryName": "sample string 3",
"VendorCode": "sample string 4",
"PurchasingQty": 1,
"Cost": 1.0,
"Price": 5.0,
"IsPrimary": true
},
{
"CompanyId": 1,
"SKU": "sample string 2",
"TerritoryName": "sample string 3",
"VendorCode": "sample string 4",
"PurchasingQty": 1,
"Cost": 1.0,
"Price": 5.0,
"IsPrimary": true
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |