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": "907460db-5d7e-4c15-82ea-bb16d29facf7",
"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>907460db-5d7e-4c15-82ea-bb16d29facf7</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.