POST LimoReservation/CreateReservation
Request Information
URI Parameters
None.
Body Parameters
CreateReservationRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerInfo | LimoReservationCustomerInfo |
None. |
|
CustomerServiceRequest | LimoCustomerServiceRequest |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerInfo": { "CustomerName": "sample string 1", "ContactName": "sample string 2", "Email": "sample string 3", "ContactPhone": "sample string 4", "IdNumber": "sample string 5", "IdType": 6, "CityCode": "sample string 7", "CountryCode": "sample string 8", "CustomerTypeCode": "sample string 9", "ChannelCode": "sample string 10" }, "CustomerServiceRequest": { "PromoCode": "sample string 1", "LimoServiceRequests": [ { "VehicleCode": "sample string 1", "RequestDT": "2025-05-06T15:02:12.3184814+03:00", "RequestEndDT": "2025-05-06T15:02:12.3184814+03:00", "ServiceTypeCode": "sample string 4", "DepartuerLocationCode": "sample string 5", "ArrivalLocationCode": "sample string 6", "FromCordination": "sample string 7", "ToCordination": "sample string 8", "Lang": "sample string 9", "IsRoundTrip": true, "UnitCount": "sample string 11", "Price": 12.1 }, { "VehicleCode": "sample string 1", "RequestDT": "2025-05-06T15:02:12.3184814+03:00", "RequestEndDT": "2025-05-06T15:02:12.3184814+03:00", "ServiceTypeCode": "sample string 4", "DepartuerLocationCode": "sample string 5", "ArrivalLocationCode": "sample string 6", "FromCordination": "sample string 7", "ToCordination": "sample string 8", "Lang": "sample string 9", "IsRoundTrip": true, "UnitCount": "sample string 11", "Price": 12.1 } ] } }
application/xml, text/xml
Sample:
<CreateReservationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAPTCO.Mobile.Forms.Models"> <CustomerInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Infrastructure.Models.MobileForms"> <d2p1:ChannelCode>sample string 10</d2p1:ChannelCode> <d2p1:CityCode>sample string 7</d2p1:CityCode> <d2p1:ContactName>sample string 2</d2p1:ContactName> <d2p1:ContactPhone>sample string 4</d2p1:ContactPhone> <d2p1:CountryCode>sample string 8</d2p1:CountryCode> <d2p1:CustomerName>sample string 1</d2p1:CustomerName> <d2p1:CustomerTypeCode>sample string 9</d2p1:CustomerTypeCode> <d2p1:Email>sample string 3</d2p1:Email> <d2p1:IdNumber>sample string 5</d2p1:IdNumber> <d2p1:IdType>6</d2p1:IdType> </CustomerInfo> <CustomerServiceRequest> <LimoServiceRequests> <LimoServiceRequest> <ArrivalLocationCode>sample string 6</ArrivalLocationCode> <DepartuerLocationCode>sample string 5</DepartuerLocationCode> <FromCordination>sample string 7</FromCordination> <IsRoundTrip>true</IsRoundTrip> <Lang>sample string 9</Lang> <Price>12.1</Price> <RequestDT>2025-05-06T15:02:12.3184814+03:00</RequestDT> <RequestEndDT>2025-05-06T15:02:12.3184814+03:00</RequestEndDT> <ServiceTypeCode>sample string 4</ServiceTypeCode> <ToCordination>sample string 8</ToCordination> <UnitCount>sample string 11</UnitCount> <VehicleCode>sample string 1</VehicleCode> </LimoServiceRequest> <LimoServiceRequest> <ArrivalLocationCode>sample string 6</ArrivalLocationCode> <DepartuerLocationCode>sample string 5</DepartuerLocationCode> <FromCordination>sample string 7</FromCordination> <IsRoundTrip>true</IsRoundTrip> <Lang>sample string 9</Lang> <Price>12.1</Price> <RequestDT>2025-05-06T15:02:12.3184814+03:00</RequestDT> <RequestEndDT>2025-05-06T15:02:12.3184814+03:00</RequestEndDT> <ServiceTypeCode>sample string 4</ServiceTypeCode> <ToCordination>sample string 8</ToCordination> <UnitCount>sample string 11</UnitCount> <VehicleCode>sample string 1</VehicleCode> </LimoServiceRequest> </LimoServiceRequests> <PromoCode>sample string 1</PromoCode> </CustomerServiceRequest> </CreateReservationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LimoInitialReservationResponseName | Description | Type | Additional information |
---|---|---|---|
Reservation_Number | string |
None. |
|
Credit_Card_Enabled | boolean |
None. |
|
Sadad_Enabled | boolean |
None. |
|
Customer_Credit_Enabled | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Reservation_Number": "sample string 1", "Credit_Card_Enabled": true, "Sadad_Enabled": true, "Customer_Credit_Enabled": true, "ErrorMessage": "sample string 5" }
application/xml, text/xml
Sample:
<LimoInitialReservationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.Models"> <Credit_Card_Enabled>true</Credit_Card_Enabled> <Customer_Credit_Enabled>true</Customer_Credit_Enabled> <ErrorMessage>sample string 5</ErrorMessage> <Reservation_Number>sample string 1</Reservation_Number> <Sadad_Enabled>true</Sadad_Enabled> </LimoInitialReservationResponse>