POST api/Accura/InsertBooking
Request Information
URI Parameters
None.
Body Parameters
addmodalbooking| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingID | integer |
None. |
|
| EmailID | string |
None. |
|
| BookingAmount | decimal number |
None. |
|
| Vat | decimal number |
None. |
|
| discount | decimal number |
None. |
|
| Transportation | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| BookingAddress | string |
None. |
|
| BookingPersonMobile | string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"BookingID": 1,
"EmailID": "sample string 2",
"BookingAmount": 3.0,
"Vat": 4.0,
"discount": 5.0,
"Transportation": 6.0,
"TotalAmount": 7.0,
"BookingAddress": "sample string 8",
"BookingPersonMobile": "sample string 9"
}
application/xml, text/xml
Sample:
<LoginModels.addmodalbooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models"> <BookingAddress>sample string 8</BookingAddress> <BookingAmount>3</BookingAmount> <BookingID>1</BookingID> <BookingPersonMobile>sample string 9</BookingPersonMobile> <EmailID>sample string 2</EmailID> <TotalAmount>7</TotalAmount> <Transportation>6</Transportation> <Vat>4</Vat> <discount>5</discount> </LoginModels.addmodalbooking>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.