Reservation
GetReservationInfo
Last Update Date: |
06.03.2017 |
Method Adress |
/api/Reservation/GetReservationInfo |
Method Type |
POST |
Token Required |
YES |
Request Parameters
Voucher: |
(string)[array] |
RegionCodes: |
(short)(nullable) |
ServiceCodes: |
(string) |
AvailabilityStatus: |
(string) |
ConfirmStatus: |
(short) |
ServiceType: |
(string) |
DateCriterias: |
(class type)(array) |
AdditionalParameters: |
(class type)[generic list] |
GetCancelledReservation: |
(boolean) |
DateCriteria: |
Get Reservation Info Request Schema 1 |
Type: |
(enum) |
From: |
(datetime)(nullable) |
To: |
(datetime)(nullable) |
Response Parameters
KeyField: |
(string) |
ServiceType: |
(string) |
Voucher: |
(string) |
ServiceOrder: |
(short) |
RegionCode: |
(string) |
RegionName: |
(string) |
ServiceCode: |
(string) |
ServiceName: |
(string) |
ServiceBeginDate: |
(datetime) |
ServiceEndDate: |
(datetime) |
FirstCustomer: |
(string) |
FirstUserCode: |
(string) |
Adult: |
(short) |
Child: |
(short) |
Infant: |
(short) |
AvailabilityStatusCode: |
(string) |
AvailabilityStatus: |
(string) |
ServiceStatusCode: |
(string) |
ServiceStatus: |
(string) |
ConfirmStatusCode: |
(string) |
ConfirmStatus: |
(string) |
ConfirmDate: |
(datetime) |
SellDate: |
(datetime) |
RecordDate: |
(datetime) |
PrintVoucher: |
(boolean) |
PrintInvoice: |
(boolean) |
CommentCount: |
(integer) |
NewCommentCount: |
(integer) |
CancellationDeadline: |
(datetime) |
HasCancellationRequest: |
(boolean) |
CancelRequestStatus: |
(string) |
CancelRequestDate: |
(datetime) |
CancellationNote: |
(string) |
ReservationInfoDetail: |
(dynamic) |
Voidable: |
(boolean) |
Request Sample
Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJEQk5hbWUiOiJEVUJBSTIwMTEiLCJVQ29kZSI6IlRFU1QiLCJVVHlwZSI6IjEiLCJPcHIiOiJBTFNIQU0iLCJXQ29kZSI6IldFQiIsIlNyYyI6IjExIiwiTGFuZyI6ImVuLVVTIiwiV2lkIjoiMSIsIkROYXQiOiJHRVIiLCJSb2xlIjpbIjAiLCIxIiwiMiIsIjMiLCI0IiwiNSIsIjYiLCI3IiwiOCIsIjkiLCIxMCIsIjExIiwiMTIiLCIxMyIsIjE0IiwiMTUiLCIxNiIsIjE3IiwiMTgiLCIxOSIsIjIwIiwiMjEiLCIyMiIsIjIzIiwiMjQiLCIyNSIsIjI2IiwiMjciLCIyOCIsIjI5IiwiMzAiLCIzMSIsIjMyIiwiMzMiLCIzNSIsIjM2IiwiMzciLCIzOCIsIjQwIiwiNDEiLCI0MiJdLCJBZGRSb2xlIjpbIjEwMDEiLCIxMDAyIl0sIlRpZCI6Ijc2MTA0NiIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3QvIiwiYXVkIjoiaHR0cDovL2xvY2FsaG9zdC8iLCJleHAiOjE0NzI4MDY4MDEsIm5iZiI6MTQ3MjgwMzIwMn0.K-VhTKhrxnXBWqEcsWvD_T3RiutTJkxict9I6Hg8CAc
Content-Type:application/json; charset=UTF-8
Request Content:
{
"ServiceType":"HOTEL",
"DateCriterias":
[
{
"Type":"SERVICEBEGINDATE",
"From":"September 2, 2016",
"To":"September 2, 2017"
}
],
"RegionCodes":
[
"DUB"
]
}
Response Sample
{
"Body":[
{
"ServiceTypeCode":"O",
"TotalPax":2,
"ExtraBed":0,
"RoomCount":1,
"Night":3,
"RoomCode":"2AD",
"RoomName":"2 ADLT",
"RoomTypeCode":"SUP",
"RoomTypeName":"SUPERIOR ROOM",
"BoardCode":"BB",
"BoardName":"BED AND BREAKFAST",
"AllotmentType":"NORMAL",
"TransferNote":null,
"ServiceNote":null,
"CancelRequestStatusCode":null,
"TourOperatorCode":"ALSHAM",
"Adr1":"Sheikh Mohammed bin Rashid Blvd",
"Adr2":"Dubai - Birlesik Arap Emirlikleri",
"Tel1":"+971 4 423 8888",
"Fax":"+971 4 423 8890",
"Email":null,
"RGT":null,
"RGelisYeri":null,
"RDT":null,
"RVarisYeri":null,
"ArrivalDestinationName":null,
"DepartureDestinationName":null,
"GTrfTuru":null,
"TransferTypeName":null,
"KeyField":"ALSHAM;12345992;1",
"ServiceType":"HOTEL",
"Voucher":"12345992",
"ServiceOrder":1,
"RegionCode":"DUB",
"RegionName":"DUBAI",
"ServiceCode":"ADD2",
"ServiceName":"THE ADDRESS DOWNTOWN RESIDENCE",
"ServiceBeginDate":"2016-09-26T00:00:00",
"ServiceEndDate":"2016-09-29T00:00:00",
"FirstCustomer":"Mr ASDASDAD",
"FirstUserCode":"TEST",
"Adult":2,
"Child":0,
"Infant":0,
"AvailabilityStatus":"OK",
"ServiceStatus":"NEW",
"ConfirmStatus":"NOTSENT",
"ConfirmDate":null,
"SellDate":"2016-07-18T00:00:00",
"RecordDate":"2016-07-18T17:44:26.337",
"PrintVoucher":true,
"PrintInvoice":true,
"CommentCount":0,
"NewCommentCount":0,
"CancellationDeadline":"2016-09-23T00:00:00",
"HasCancellationRequest":false,
"CancelRequestStatus":null,
"CancelRequestDate":null,
"CancellationNote":null,
"ReservationInfoDetail":{
"AllotmentType":"NORMAL",
"RoomCount":1,
"Night":3,
"RoomCode":"2AD",
"RoomName":"2 ADLT",
"RoomTypeCode":"SUP",
"RoomTypeName":"SUPERIOR ROOM",
"BoardCode":"BB",
"BoardName":"BED AND BREAKFAST"
},
"Voidable":true
},
{
"ServiceTypeCode":"O",
"TotalPax":2,
"ExtraBed":0,
"RoomCount":1,
"Night":3,
"RoomCode":"2AD",
"RoomName":"2 ADLT",
"RoomTypeCode":"SUP",
"RoomTypeName":"SUPERIOR ROOM",
"BoardCode":"BB",
"BoardName":"BED AND BREAKFAST",
"AllotmentType":"NORMAL",
"TransferNote":null,
"ServiceNote":null,
"CancelRequestStatusCode":null,
"TourOperatorCode":"ALSHAM",
"Adr1":"Sheikh Mohammed bin Rashid Blvd",
"Adr2":"Dubai - Birlesik Arap Emirlikleri",
"Tel1":"+971 4 423 8888",
"Fax":"+971 4 423 8890",
"Email":null,
"RGT":null,
"RGelisYeri":null,
"RDT":null,
"RVarisYeri":null,
"ArrivalDestinationName":null,
"DepartureDestinationName":null,
"GTrfTuru":null,
"TransferTypeName":null,
"KeyField":"ALSHAM;12345993;1",
"ServiceType":"HOTEL",
"Voucher":"12345993",
"ServiceOrder":1,
"RegionCode":"DUB",
"RegionName":"DUBAI",
"ServiceCode":"ADD2",
"ServiceName":"THE ADDRESS DOWNTOWN RESIDENCE",
"ServiceBeginDate":"2016-09-26T00:00:00",
"ServiceEndDate":"2016-09-29T00:00:00",
"FirstCustomer":"Mr ASDASDAD",
"FirstUserCode":"TEST",
"Adult":2,
"Child":0,
"Infant":0,
"AvailabilityStatus":"ONREQUEST",
"ServiceStatus":"NEW",
"ConfirmStatus":"NOTSENT",
"ConfirmDate":null,
"SellDate":"2016-07-18T00:00:00",
"RecordDate":"2016-07-18T17:45:13.713",
"PrintVoucher":false,
"PrintInvoice":true,
"CommentCount":0,
"NewCommentCount":0,
"CancellationDeadline":"2016-09-23T00:00:00",
"HasCancellationRequest":false,
"CancelRequestStatus":null,
"CancelRequestDate":null,
"CancellationNote":null,
"ReservationInfoDetail":{
"AllotmentType":"NORMAL",
"RoomCount":1,
"Night":3,
"RoomCode":"2AD",
"RoomName":"2 ADLT",
"RoomTypeCode":"SUP",
"RoomTypeName":"SUPERIOR ROOM",
"BoardCode":"BB",
"BoardName":"BED AND BREAKFAST"
},
"Voidable":true
},
{
"ServiceTypeCode":"O",
"TotalPax":2,
"ExtraBed":0,
"RoomCount":1,
"Night":7,
"RoomCode":"DBL",
"RoomName":"DOUBLE",
"RoomTypeCode":"STD",
"RoomTypeName":"STANDARD ROOM",
"BoardCode":"FB",
"BoardName":"FULL BOARD",
"AllotmentType":"NORMAL",
"TransferNote":null,
"ServiceNote":null,
"CancelRequestStatusCode":null,
"TourOperatorCode":"ALSHAM",
"Adr1":null,
"Adr2":null,
"Tel1":"+97143935333",
"Fax":"+97143935111",
"Email":"recep.celik@santsg.com",
"RGT":null,
"RGelisYeri":null,
"RDT":null,
"RVarisYeri":null,
"ArrivalDestinationName":null,
"DepartureDestinationName":null,
"GTrfTuru":"IND",
"TransferTypeName":"INDIVIDUAL TRANSFER",
"KeyField":"ALSHAM;12346038;2",
"ServiceType":"HOTEL",
"Voucher":"12346038",
"ServiceOrder":2,
"RegionCode":"DUB",
"RegionName":"DUBAI",
"ServiceCode":"ADMPLZ",
"ServiceName":"ADMIRAL PLAZA HOTEL",
"ServiceBeginDate":"2016-09-19T00:00:00",
"ServiceEndDate":"2016-09-26T00:00:00",
"FirstCustomer":"Mr CCCCCCC",
"FirstUserCode":"TEST",
"Adult":2,
"Child":0,
"Infant":0,
"AvailabilityStatus":"OK",
"ServiceStatus":"NEW",
"ConfirmStatus":"NOTSENT",
"ConfirmDate":null,
"SellDate":"2016-08-11T00:00:00",
"RecordDate":"2016-08-11T10:00:52.82",
"PrintVoucher":true,
"PrintInvoice":true,
"CommentCount":0,
"NewCommentCount":0,
"CancellationDeadline":null,
"HasCancellationRequest":false,
"CancelRequestStatus":null,
"CancelRequestDate":null,
"CancellationNote":null,
"ReservationInfoDetail":{
"AllotmentType":"NORMAL",
"RoomCount":1,
"Night":7,
"RoomCode":"DBL",
"RoomName":"DOUBLE",
"RoomTypeCode":"STD",
"RoomTypeName":"STANDARD ROOM",
"BoardCode":"FB",
"BoardName":"FULL BOARD"
},
"Voidable":true
},
{
"ServiceTypeCode":"O",
"TotalPax":2,
"ExtraBed":0,
"RoomCount":1,
"Night":7,
"RoomCode":"DBL",
"RoomName":"DOUBLE",
"RoomTypeCode":"STD",
"RoomTypeName":"STANDARD ROOM",
"BoardCode":"BB",
"BoardName":"BED AND BREAKFAST",
"AllotmentType":"NORMAL",
"TransferNote":null,
"ServiceNote":null,
"CancelRequestStatusCode":null,
"TourOperatorCode":"ALSHAM",
"Adr1":null,
"Adr2":null,
"Tel1":"+97143935333",
"Fax":"+97143935111",
"Email":"recep.celik@santsg.com",
"RGT":null,
"RGelisYeri":null,
"RDT":null,
"RVarisYeri":null,
"ArrivalDestinationName":null,
"DepartureDestinationName":null,
"GTrfTuru":"",
"TransferTypeName":null,
"KeyField":"ALSHAM;12346071;1",
"ServiceType":"HOTEL",
"Voucher":"12346071",
"ServiceOrder":1,
"RegionCode":"DUB",
"RegionName":"DUBAI",
"ServiceCode":"ADMPLZ",
"ServiceName":"ADMIRAL PLAZA HOTEL",
"ServiceBeginDate":"2016-09-02T00:00:00",
"ServiceEndDate":"2016-09-09T00:00:00",
"FirstCustomer":"Mr AAAA",
"FirstUserCode":"TEST",
"Adult":2,
"Child":0,
"Infant":0,
"AvailabilityStatus":"OK",
"ServiceStatus":"NEW",
"ConfirmStatus":"NOTSENT",
"ConfirmDate":null,
"SellDate":"2016-09-02T00:00:00",
"RecordDate":"2016-09-02T11:05:31.677",
"PrintVoucher":true,
"PrintInvoice":true,
"CommentCount":0,
"NewCommentCount":0,
"CancellationDeadline":null,
"HasCancellationRequest":false,
"CancelRequestStatus":null,
"CancelRequestDate":null,
"CancellationNote":null,
"ReservationInfoDetail":{
"AllotmentType":"NORMAL",
"RoomCount":1,
"Night":7,
"RoomCode":"DBL",
"RoomName":"DOUBLE",
"RoomTypeCode":"STD",
"RoomTypeName":"STANDARD ROOM",
"BoardCode":"BB",
"BoardName":"BED AND BREAKFAST"
},
"Voidable":true
}
],
"Messages":[
]
}
MakeReservation
Last Update Date: |
06.03.2017 |
Method Adress |
/api/Reservation/MakeReservation |
Method Type |
POST |
Token Required |
YES |
Request Parameters
Voucher: |
(string) |
VoucherNote: |
(string) |
SubVoucher: |
(string) |
Customers: |
(class type)[list] |
HotelServices: |
(class type)[list] |
FlightServices: |
(class type)[list] |
Customer: |
Make Reservation Request Schema 1 |
ID: |
(short) |
Title: |
(string) |
Name: |
(string) |
Age: |
(short) |
BirthDate: |
(datetime) |
NationalityCode: |
(string) |
ApplyVisa: |
(boolean) |
ArrivalDestinationType: |
(string) |
ArrivalDestinationCode: |
(string) |
DepartureDestinationType: |
(string) |
DepartureDestinationCode: |
(string) |
HotelService: |
Make Reservation Request Schema 2 |
ServiceType: |
(string) |
Night: |
(short) |
Check-inDate: |
(datetime) |
Check-outDate: |
(datetime) |
RoomCode: |
(string) |
Room TypeCode: |
(string) |
BoardCode: |
(string) |
TransferInfo: |
(string) |
HoneyMoon: |
(boolean) |
HandFeeType: |
(string) |
Extras: |
(class type)(list) |
CustomerOpr: |
(class type)(list) |
TransferInfo: |
HotelServices Request Schema 1 |
ArrivalTransfer: |
(boolean) |
ArrivalTransferType: |
(string) |
DepartureTransfer: |
(boolean) |
DepartureTransferType: |
(string) |
TransferNote: |
{stringlength:300}(string) |
ExtraInfo: |
HotelServices Request Schema 2 |
Source: |
(integer) |
Code: |
(string) |
CustomerOpr: |
HotelServices Request Schema 3 |
CustomerID: |
(short) |
FlightService: |
Make Reservation Request Schema 3 |
FlightId: |
(long) |
FlightCode: |
(string) |
Direction: |
(string) |
CustomerIDs: |
(integer array) |
From: |
(string) |
To: |
(string) |
Date: |
(datetime) |
Time: |
(string) |
Response Parameters
ReservationOK: |
(boolean) |
CalculationOK: |
(boolean) |
Voucher: |
(string) |
InvoiceData: |
(class type) |
ReservationResult: |
{constructor method}(ReservationResult) |
InvoiceViewContainer: |
Make Reservation Response Schema 1 |
TourOperatorCode: |
(string) |
Voucher: |
(string) |
ServiceCurrency: |
(string) |
TotalPricebyServiceCurrency: |
(double) |
ServiceDetail: |
(class type) |
ServiceInvoiceDetail: |
Invoice Data Response Schema 1 |
ServiceCurrency: |
(string) |
TotalPricebyServiceCurrency: |
(double) |
ServicesInvoices: |
(class type)(list) |
ServiceInvoiceView: |
Service Detail Response Schema 1 |
ServiceOrder: |
(short) |
InvoiceNo: |
(integer) |
ServiceCurrency: |
(string) |
TotalPricebyServiceCurrency: |
(double) |
SpoInfos: |
(class type)(list) |
ServiceSpoDetail: |
Services Invoices Response Schema 1 |
SpoNo: |
(integer) |
SpoType: |
(string) |
Description: |
(string) |
ServiceInvoiceItem: |
Services Invoices Response Schema 2 |
Type: |
(enum) |
SpoType: |
(string) |
Description: |
(string) |
SpoNo: |
(integer) |
SpoType: |
(string) |
Description: |
(string) |
CustomerServiceDetail: |
Invoice Data Response Schema 2 |
ServiceCurrency: |
(string) |
TotalPricebyServiceCurrency: |
(double) |
CustomerServiceItems: |
(class type)(list) |
CustomerServiceItem: |
Customer Service Items Response Schema 1 |
Type: |
(enum) |
CustomerNo: |
(integer) |
Title: |
(string) |
Name: |
(string) |
Description: |
(string) |
ServiceCurrency: |
(string) |
PriceByServiceCurrency: |
(double) |
OwnCurrency: |
(string) |
PricebyOwnCurrency: |
(double) |
Request Sample
Content-Type:application/json; charset=UTF-8
{
"Voucher": "",
"VoucherNote": "Voucher Note",
"SubVoucher": "Sub Voucher",
"Customers": [
{
"ID": 1,
"Title": "MS",
"Name": "FULL NAME",
"Age": "26",
"BirthDate": "",
"NationalityCode": "TR",
"ApplyVisa": false,
"ArrivalDestinationCode": "544 R",
"DepartureDestinationCode": "EK 101",
"PassportNo": "",
"IdentityNo": "",
"ServiceOrder": 1,
"IsAdult": true,
"CustTraceNum": 49760301,
"ArrivalDestinationType": "FLIGHT",
"DepartureDestinationType": "FLIGHT"
},
{
"ID": 2,
"Title": "MR",
"Name": "FULL NAME",
"Age": "28",
"BirthDate": "",
"NationalityCode": "TR",
"ApplyVisa": false,
"ArrivalDestinationCode": "544 R",
"DepartureDestinationCode": "EK 101",
"PassportNo": "",
"IdentityNo": "",
"ServiceOrder": 1,
"IsAdult": true,
"ArrivalDestinationType": "FLIGHT",
"DepartureDestinationType": "FLIGHT"
}
],
"HotelServices": [
{
"ServiceOrder": 1,
"ServiceCode": "CASAB",
"CheckInDate": "2019-12-19T00:00:00",
"CheckOutDate": "2019-12-26T00:00:00",
"Night": 7,
"Adult": 2,
"Child": 0,
"Infant": 0,
"RoomCode": "DBL",
"RoomTypeCode": "STD",
"BoardCode": "BB",
"AvailabilityStatus": "ONREQUEST",
"AllotmentType": "NORMAL",
"Note": "Service Note",
"InternNote": "Intern Note",
"TourOperatorNote": "Tour Operator Note",
"TransferInfo": {
"ArrivalTransfer": true,
"ArrivalTransferType": "GRP",
"DepartureTransfer": true,
"DepartureTransferType": "IND",
"TransferNote": "Transfer Note"
},
"CustomerOpr": [
{
"CustomerID": 1
},
{
"CustomerID": 2
}
],
"Extras": [],
"ServiceRemarks": [],
"ExtraInfos": [],
"OfferID": 1,
"FlightOffers": null,
"Passive": false
}
],
"PackageServices": [],
"FlightServices": null,
"GeneralServiceCards": [],
"ExtraServices": []
}
Response Sample
{
"Body":{
"ReservationOK":true,
"CalculationOK":true,
"Voucher":"12346072",
"InvoiceData":null
},
"Messages":[
]
}