POST api/Shop/Products/UpdateStatus
Request Information
URI Parameters
None.
Body Parameters
ProductUpdateStatusDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| status | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "28046704-e13e-4cbe-a728-82ca065ceb16",
"status": "sample string 2"
}
application/xml, text/xml
Sample:
<ShopController.ProductUpdateStatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Controllers"> <id>28046704-e13e-4cbe-a728-82ca065ceb16</id> <status>sample string 2</status> </ShopController.ProductUpdateStatusDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.