GET api/bookings/{encodedString}/itinerary
Gets a booking with itinerary 64 encoding based.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
encodedString | string |
Required |
Body Parameters
None.
Response Information
Resource Description
A success or an error message.
Cyberlogic.eTourism.Domain.ViewModels.Bookings.CyberTripsBookingViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
LeadName | string |
None. |
|
LeadEmail | string |
None. |
|
LeadPhone | string |
None. |
|
Clients | Collection of string |
None. |
|
Adults | integer |
None. |
|
Children | integer |
None. |
|
DateFrom | date |
None. |
|
DateTo | date |
None. |
|
Language | Cyberlogic.eTourism.Domain.ViewModels.Bookings.CyberTripsSimpleEntityViewModel |
None. |
|
Destinations | Collection of Cyberlogic.eTourism.Domain.ViewModels.Bookings.CyberTripsSimpleEntityViewModel |
None. |
|
Services | Collection of Cyberlogic.eTourism.Domain.ViewModels.Bookings.CyberTripsBookingServiceViewModel |
None. |
|
TarrifId | integer |
None. |
|
CustomerId | integer |
None. |
|
IsTransferOnly | boolean |
None. |
|
Seller | Cyberlogic.eTourism.Domain.ViewModels.Bookings.CyberTripsSellerViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "LeadName": "sample string 2", "LeadEmail": "sample string 3", "LeadPhone": "sample string 4", "Clients": [ "sample string 1", "sample string 2" ], "Adults": 5, "Children": 6, "DateFrom": "2024-11-19T15:15:21.1810997+02:00", "DateTo": "2024-11-19T15:15:21.1810997+02:00", "Language": { "Id": 1, "Name": "sample string 2" }, "Destinations": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "Services": null, "TarrifId": 9, "CustomerId": 10, "IsTransferOnly": true, "Seller": { "Id": 1, "Name": "sample string 2", "PhotoUrl": "sample string 3", "MobilePhone": "sample string 4", "WhatsUp": "sample string 5", "Viber": "sample string 6", "Skype": "sample string 7", "Email": "sample string 8" } }
text/html
Sample:
{"Id":1,"LeadName":"sample string 2","LeadEmail":"sample string 3","LeadPhone":"sample string 4","Clients":["sample string 1","sample string 2"],"Adults":5,"Children":6,"DateFrom":"2024-11-19T15:15:21.1810997+02:00","DateTo":"2024-11-19T15:15:21.1810997+02:00","Language":{"Id":1,"Name":"sample string 2"},"Destinations":[{"Id":1,"Name":"sample string 2"},{"Id":1,"Name":"sample string 2"}],"Services":null,"TarrifId":9,"CustomerId":10,"IsTransferOnly":true,"Seller":{"Id":1,"Name":"sample string 2","PhotoUrl":"sample string 3","MobilePhone":"sample string 4","WhatsUp":"sample string 5","Viber":"sample string 6","Skype":"sample string 7","Email":"sample string 8"}}
application/xml, text/xml
Sample:
<CyberTripsBookingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Bookings"> <Adults>5</Adults> <Children>6</Children> <Clients xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Clients> <CustomerId>10</CustomerId> <DateFrom>2024-11-19T15:15:21.1810997+02:00</DateFrom> <DateTo>2024-11-19T15:15:21.1810997+02:00</DateTo> <Destinations> <CyberTripsSimpleEntityViewModel> <Id>1</Id> <Name>sample string 2</Name> </CyberTripsSimpleEntityViewModel> <CyberTripsSimpleEntityViewModel> <Id>1</Id> <Name>sample string 2</Name> </CyberTripsSimpleEntityViewModel> </Destinations> <Id>1</Id> <IsTransferOnly>true</IsTransferOnly> <Language> <Id>1</Id> <Name>sample string 2</Name> </Language> <LeadEmail>sample string 3</LeadEmail> <LeadName>sample string 2</LeadName> <LeadPhone>sample string 4</LeadPhone> <Seller> <Email>sample string 8</Email> <Id>1</Id> <MobilePhone>sample string 4</MobilePhone> <Name>sample string 2</Name> <PhotoUrl>sample string 3</PhotoUrl> <Skype>sample string 7</Skype> <Viber>sample string 6</Viber> <WhatsUp>sample string 5</WhatsUp> </Seller> <Services i:nil="true" /> <TarrifId>9</TarrifId> </CyberTripsBookingViewModel>