POST api/Deliverysheet/CollectReturns
Request Information
URI Parameters
None.
Body Parameters
Collection of CollectReturnsBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | integer |
Required |
|
| CustomerId | string |
Required |
|
| ProductId | integer |
Required |
|
| NumberOfBottleReturn | integer |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"OrderId": 1,
"CustomerId": "sample string 2",
"ProductId": 3,
"NumberOfBottleReturn": 4
},
{
"OrderId": 1,
"CustomerId": "sample string 2",
"ProductId": 3,
"NumberOfBottleReturn": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfCollectReturnsBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Coke.Models.WebApi.BindingModels.DeliverySheet">
<CollectReturnsBindingModel>
<CustomerId>sample string 2</CustomerId>
<NumberOfBottleReturn>4</NumberOfBottleReturn>
<OrderId>1</OrderId>
<ProductId>3</ProductId>
</CollectReturnsBindingModel>
<CollectReturnsBindingModel>
<CustomerId>sample string 2</CustomerId>
<NumberOfBottleReturn>4</NumberOfBottleReturn>
<OrderId>1</OrderId>
<ProductId>3</ProductId>
</CollectReturnsBindingModel>
</ArrayOfCollectReturnsBindingModel>
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.