POST api/my/basura/foodwaste/personnels/scan/in
Request Information
URI Parameters
None.
Body Parameters
FoodWastesPickUpBinsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingID | integer |
None. |
|
| Notes | string |
None. |
|
| Bins | Collection of FoodWastesPickUpBins |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookingID": 1,
"Notes": "sample string 2",
"Bins": [
{
"ID": 1,
"BinCode": "sample string 2"
},
{
"ID": 1,
"BinCode": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<FoodWastesPickUpBinsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
<Bins>
<FoodWastesPickUpBins>
<BinCode>sample string 2</BinCode>
<ID>1</ID>
</FoodWastesPickUpBins>
<FoodWastesPickUpBins>
<BinCode>sample string 2</BinCode>
<ID>1</ID>
</FoodWastesPickUpBins>
</Bins>
<BookingID>1</BookingID>
<Notes>sample string 2</Notes>
</FoodWastesPickUpBinsDTO>
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.