POST api/OrderBills/CreatRandomOrderBill

Request Information

URI Parameters

None.

Body Parameters

RandomOrderBillsViewModel
NameDescriptionTypeAdditional information
OrderNo

string

None.

DriverName

string

None.

PlateNo

string

None.

GroupName

string

None.

TaxiNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderNo": "sample string 1",
  "DriverName": "sample string 2",
  "PlateNo": "sample string 3",
  "GroupName": "sample string 4",
  "TaxiNumber": "sample string 5"
}

application/xml, text/xml

Sample:
<RandomOrderBillsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <DriverName>sample string 2</DriverName>
  <GroupName>sample string 4</GroupName>
  <OrderNo>sample string 1</OrderNo>
  <PlateNo>sample string 3</PlateNo>
  <TaxiNumber>sample string 5</TaxiNumber>
</RandomOrderBillsViewModel>

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 'RandomOrderBillsViewModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.