POST api/Ambulance/SaveTransportBooking
Request Information
URI Parameters
None.
Body Parameters
TransportBookingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BookingId | integer |
None. |
|
| DoctorId | integer |
None. |
|
| AttendantHospital | integer |
None. |
|
| ParamedicStaff | integer |
None. |
|
| Driver1 | integer |
None. |
|
| Driver2 | integer |
None. |
|
| CategoryId | integer |
None. |
|
| VehicleId | integer |
None. |
|
| Rate | decimal number |
None. |
|
| DistanceKm | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| StartingReadind | string |
None. |
|
| EndingReading | string |
None. |
|
| Remarks | string |
None. |
|
| statusId | boolean |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"BookingId": 2,
"DoctorId": 3,
"AttendantHospital": 4,
"ParamedicStaff": 5,
"Driver1": 6,
"Driver2": 7,
"CategoryId": 8,
"VehicleId": 9,
"Rate": 10.1,
"DistanceKm": 11.1,
"TotalAmount": 12.1,
"StartingReadind": "sample string 13",
"EndingReading": "sample string 14",
"Remarks": "sample string 15",
"statusId": true,
"UserId": 17
}
application/xml, text/xml
Sample:
<TransportBookingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eAmbulanceAPI.Models"> <AttendantHospital>4</AttendantHospital> <BookingId>2</BookingId> <CategoryId>8</CategoryId> <DistanceKm>11.1</DistanceKm> <DoctorId>3</DoctorId> <Driver1>6</Driver1> <Driver2>7</Driver2> <EndingReading>sample string 14</EndingReading> <Id>1</Id> <ParamedicStaff>5</ParamedicStaff> <Rate>10.1</Rate> <Remarks>sample string 15</Remarks> <StartingReadind>sample string 13</StartingReadind> <TotalAmount>12.1</TotalAmount> <UserId>17</UserId> <VehicleId>9</VehicleId> <statusId>true</statusId> </TransportBookingRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.