POST api/my/basura/bins/customer/createbin
Request Information
URI Parameters
None.
Body Parameters
Collection of CustomerBinDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
None. |
|
| binId | integer |
None. |
|
| isApproved | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"customerId": 1,
"binId": 2,
"isApproved": true
},
{
"customerId": 1,
"binId": 2,
"isApproved": true
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerBinDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
<CustomerBinDTO>
<binId>2</binId>
<customerId>1</customerId>
<isApproved>true</isApproved>
</CustomerBinDTO>
<CustomerBinDTO>
<binId>2</binId>
<customerId>1</customerId>
<isApproved>true</isApproved>
</CustomerBinDTO>
</ArrayOfCustomerBinDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.