POST admin/removal/placeOrder

Request Information

URI Parameters

None.

Body Parameters

RqRemovalPlaceOrder
NameDescriptionTypeAdditional information
RemovalReservationId

integer

None.

TotalPrice

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "RemovalReservationId": 1,
  "TotalPrice": 2.0
}

application/xml, text/xml

Sample:
<RqRemovalPlaceOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GarbageBin.Web.Controllers">
  <RemovalReservationId>1</RemovalReservationId>
  <TotalPrice>2</TotalPrice>
</RqRemovalPlaceOrder>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RqRemovalPlaceOrder'.

Response Information

Resource Description

RtBase
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2"
}

application/xml, text/xml

Sample:
<RtBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseWebApi.Model">
  <code>1</code>
  <msg>sample string 2</msg>
</RtBase>