POST api/MRide/Add_Update_ShopCategory
Request Information
URI Parameters
None.
Body Parameters
ShopCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ShopID | integer |
None. |
|
| CategoryName | string |
None. |
|
| Icon | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ShopID": 2,
"CategoryName": "sample string 3",
"Icon": "sample string 4"
}
application/xml, text/xml
Sample:
<ShopCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API"> <CategoryName>sample string 3</CategoryName> <ID>1</ID> <Icon>sample string 4</Icon> <ShopID>2</ShopID> </ShopCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IAsyncResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsCompleted | boolean |
None. |
|
| AsyncWaitHandle | WaitHandle |
None. |
|
| AsyncState | Object |
None. |
|
| CompletedSynchronously | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.