POST api/Product/SetProductActiveStatus
Request Information
URI Parameters
None.
Body Parameters
SetProductActiveStatusDtoName | Description | Type | Additional information |
---|---|---|---|
ProductId | globally unique identifier |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "productId": "375e2722-7d86-46d2-813e-5bb63f723117", "isActive": true }
application/xml, text/xml
Sample:
<SetProductActiveStatusDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <IsActive>true</IsActive> <ProductId>375e2722-7d86-46d2-813e-5bb63f723117</ProductId> </SetProductActiveStatusDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"productId":"375e2722-7d86-46d2-813e-5bb63f723117","isActive":true}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.