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": "3e944c17-6f8f-4651-9fa7-d4e5d64cc6b4",
"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>3e944c17-6f8f-4651-9fa7-d4e5d64cc6b4</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.