POST api/products/set-enabled
Request Information
URI Parameters
None.
Body Parameters
ProductSetEnabledDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| UID | globally unique identifier |
None. |
|
| IsEnabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UID": "6bc33e0c-94d9-46dc-ae02-8a6e595c671c",
"IsEnabled": true
}
application/xml, text/xml
Sample:
<ProductSetEnabledDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO"> <IsEnabled>true</IsEnabled> <UID>6bc33e0c-94d9-46dc-ae02-8a6e595c671c</UID> </ProductSetEnabledDTO>
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.