POST api/my/basura/fwbookings/add
Request Information
URI Parameters
None.
Body Parameters
FoodWasteCreateDTOName | Description | Type | Additional information |
---|---|---|---|
Notes | string |
None. |
|
Bins | Collection of FoodWasteCreateBins |
None. |
Request Formats
application/json, text/json
Sample:
{ "Notes": "sample string 1", "Bins": [ { "ID": 1, "WasteTypeID": 2 }, { "ID": 1, "WasteTypeID": 2 } ] }
application/xml, text/xml
Sample:
<FoodWasteCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO"> <Bins> <FoodWasteCreateBins> <ID>1</ID> <WasteTypeID>2</WasteTypeID> </FoodWasteCreateBins> <FoodWasteCreateBins> <ID>1</ID> <WasteTypeID>2</WasteTypeID> </FoodWasteCreateBins> </Bins> <Notes>sample string 1</Notes> </FoodWasteCreateDTO>
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.