PUT api/v1/customer/state/{customerId}/{productId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
|
| productId | integer |
Required |
Body Parameters
ProductCustomerStateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| ProductId | integer |
None. |
|
| Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"ProductId": 2,
"Active": true
}
application/xml, text/xml
Sample:
<ProductCustomerStateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bullet.WebAPI.Models.DTO"> <Active>true</Active> <CustomerId>1</CustomerId> <ProductId>2</ProductId> </ProductCustomerStateModel>
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.