POST api/Ambulance/SaveBookingRequest
Request Information
URI Parameters
None.
Body Parameters
AmbulanceBookingRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| HospitalId | integer |
None. |
|
| FacilityId | integer |
None. |
|
| BookingDate | date |
None. |
|
| PatientType | string |
None. |
|
| RegistrationId | integer |
None. |
|
| EncounterId | integer |
None. |
|
| RegistrationNo | string |
None. |
|
| EncounterNo | string |
None. |
|
| TitleId | integer |
None. |
|
| FirstName | string |
None. |
|
| MiddleName | string |
None. |
|
| LastName | string |
None. |
|
| PatientName | string |
None. |
|
| MobileNo | string |
None. |
|
| DOB | date |
None. |
|
| AgeYear | integer |
None. |
|
| AgeMonth | integer |
None. |
|
| AgeDays | integer |
None. |
|
| Sex | integer |
None. |
|
| BedId | integer |
None. |
|
| WardId | integer |
None. |
|
| TreatingConsultant | integer |
None. |
|
| KinName | string |
None. |
|
| Relationship | integer |
None. |
|
| KinMobileNo | string |
None. |
|
| Address | string |
None. |
|
| CountryId | integer |
None. |
|
| StateId | integer |
None. |
|
| AreaId | integer |
None. |
|
| CityId | integer |
None. |
|
| ZipCode | string |
None. |
|
| DropAddress | string |
None. |
|
| DropCountryId | integer |
None. |
|
| DropStateId | integer |
None. |
|
| DropAreaId | integer |
None. |
|
| DropCityId | integer |
None. |
|
| DropZipCode | string |
None. |
|
| CategoryId | integer |
None. |
|
| Rate | decimal number |
None. |
|
| ApproxAmount | decimal number |
None. |
|
| Injuries | string |
None. |
|
| DoctorRequired | integer |
None. |
|
| OtherFacility | integer |
None. |
|
| JournyType | integer |
None. |
|
| AcuityMobility | integer |
None. |
|
| NoofEscorts | integer |
None. |
|
| MLC | boolean |
None. |
|
| Expired | boolean |
None. |
|
| Remarks | string |
None. |
|
| statusId | boolean |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"HospitalId": 2,
"FacilityId": 3,
"BookingDate": "2026-06-15T17:32:51.9884465+05:30",
"PatientType": "sample string 5",
"RegistrationId": 6,
"EncounterId": 7,
"RegistrationNo": "sample string 8",
"EncounterNo": "sample string 9",
"TitleId": 10,
"FirstName": "sample string 11",
"MiddleName": "sample string 12",
"LastName": "sample string 13",
"PatientName": "sample string 14",
"MobileNo": "sample string 15",
"DOB": "2026-06-15T17:32:51.9884465+05:30",
"AgeYear": 17,
"AgeMonth": 18,
"AgeDays": 19,
"Sex": 20,
"BedId": 21,
"WardId": 22,
"TreatingConsultant": 23,
"KinName": "sample string 24",
"Relationship": 25,
"KinMobileNo": "sample string 26",
"Address": "sample string 27",
"CountryId": 28,
"StateId": 29,
"AreaId": 30,
"CityId": 31,
"ZipCode": "sample string 32",
"DropAddress": "sample string 33",
"DropCountryId": 34,
"DropStateId": 35,
"DropAreaId": 36,
"DropCityId": 37,
"DropZipCode": "sample string 38",
"CategoryId": 39,
"Rate": 40.1,
"ApproxAmount": 41.1,
"Injuries": "sample string 42",
"DoctorRequired": 43,
"OtherFacility": 44,
"JournyType": 45,
"AcuityMobility": 46,
"NoofEscorts": 47,
"MLC": true,
"Expired": true,
"Remarks": "sample string 50",
"statusId": true,
"UserId": 52
}
application/xml, text/xml
Sample:
<AmbulanceBookingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eAmbulanceAPI.Models"> <AcuityMobility>46</AcuityMobility> <Address>sample string 27</Address> <AgeDays>19</AgeDays> <AgeMonth>18</AgeMonth> <AgeYear>17</AgeYear> <ApproxAmount>41.1</ApproxAmount> <AreaId>30</AreaId> <BedId>21</BedId> <BookingDate>2026-06-15T17:32:51.9884465+05:30</BookingDate> <CategoryId>39</CategoryId> <CityId>31</CityId> <CountryId>28</CountryId> <DOB>2026-06-15T17:32:51.9884465+05:30</DOB> <DoctorRequired>43</DoctorRequired> <DropAddress>sample string 33</DropAddress> <DropAreaId>36</DropAreaId> <DropCityId>37</DropCityId> <DropCountryId>34</DropCountryId> <DropStateId>35</DropStateId> <DropZipCode>sample string 38</DropZipCode> <EncounterId>7</EncounterId> <EncounterNo>sample string 9</EncounterNo> <Expired>true</Expired> <FacilityId>3</FacilityId> <FirstName>sample string 11</FirstName> <HospitalId>2</HospitalId> <Id>1</Id> <Injuries>sample string 42</Injuries> <JournyType>45</JournyType> <KinMobileNo>sample string 26</KinMobileNo> <KinName>sample string 24</KinName> <LastName>sample string 13</LastName> <MLC>true</MLC> <MiddleName>sample string 12</MiddleName> <MobileNo>sample string 15</MobileNo> <NoofEscorts>47</NoofEscorts> <OtherFacility>44</OtherFacility> <PatientName>sample string 14</PatientName> <PatientType>sample string 5</PatientType> <Rate>40.1</Rate> <RegistrationId>6</RegistrationId> <RegistrationNo>sample string 8</RegistrationNo> <Relationship>25</Relationship> <Remarks>sample string 50</Remarks> <Sex>20</Sex> <StateId>29</StateId> <TitleId>10</TitleId> <TreatingConsultant>23</TreatingConsultant> <UserId>52</UserId> <WardId>22</WardId> <ZipCode>sample string 32</ZipCode> <statusId>true</statusId> </AmbulanceBookingRequest>
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.