POST api/admin/ProductsApi/EnableProduct
Request Information
URI Parameters
None.
Body Parameters
UpdateActiveStatusMultiVendor| Name | Description | Type | Additional information |
|---|---|---|---|
| EnabledBy | string |
None. |
|
| EnableDisable | Collection of EnableDisable |
None. |
Request Formats
application/json, text/json
Sample:
{
"EnabledBy": "sample string 1",
"EnableDisable": [
{
"BrandName": "sample string 1",
"VendorName": "sample string 2",
"VendorId": 3,
"StyleName": "sample string 4",
"Status": "sample string 5",
"EnabledBy": "sample string 6"
},
{
"BrandName": "sample string 1",
"VendorName": "sample string 2",
"VendorId": 3,
"StyleName": "sample string 4",
"Status": "sample string 5",
"EnabledBy": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<UpdateActiveStatusMultiVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels">
<EnableDisable>
<EnableDisable>
<BrandName>sample string 1</BrandName>
<EnabledBy>sample string 6</EnabledBy>
<Status>sample string 5</Status>
<StyleName>sample string 4</StyleName>
<VendorId>3</VendorId>
<VendorName>sample string 2</VendorName>
</EnableDisable>
<EnableDisable>
<BrandName>sample string 1</BrandName>
<EnabledBy>sample string 6</EnabledBy>
<Status>sample string 5</Status>
<StyleName>sample string 4</StyleName>
<VendorId>3</VendorId>
<VendorName>sample string 2</VendorName>
</EnableDisable>
</EnableDisable>
<EnabledBy>sample string 1</EnabledBy>
</UpdateActiveStatusMultiVendor>
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.