POST api/putCategory
Put Category(s)
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
None.
Body Parameters
List of Categories
Collection of CategoryImportInfoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Code | string |
None. |
|
ParentCategoryCde | string |
None. |
|
Creator | string |
None. |
|
LocationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Code": "sample string 2", "ParentCategoryCde": "sample string 3", "Creator": "sample string 4", "LocationId": 5 }, { "Name": "sample string 1", "Code": "sample string 2", "ParentCategoryCde": "sample string 3", "Creator": "sample string 4", "LocationId": 5 } ]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
list of results in format: [companyId], [name], [isSuccess]. IsSuccess false if there was inner error, it will be put into ErrorMessage field
HttpResponseMessageName | 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. |