POST api/EcomSync/update_digr2
Request Information
URI Parameters
None.
Body Parameters
CategoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Name | string |
None. |
|
| ImageLink | string |
None. |
|
| CloudId | integer |
None. |
|
| ParentId | integer |
None. |
|
| ClassId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": 1,
"Name": "sample string 2",
"ImageLink": "sample string 3",
"CloudId": 4,
"ParentId": 5,
"ClassId": 6
}
application/xml, text/xml
Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebStoreAPI.Models"> <ClassId>6</ClassId> <CloudId>4</CloudId> <Code>1</Code> <ImageLink>sample string 3</ImageLink> <Name>sample string 2</Name> <ParentId>5</ParentId> </CategoryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebStoreAPI.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <ResponseCode>1</ResponseCode> </ResultModelOfstring>