How can we help?
Follow
SmartBook Orders API

Description

The SmartBook Orders API is used for detailing existing SmartBook orders' profit amount and profit delta. Also detailed are the data regarding the orders' original profit (i.e. without SmartBook).

Each SmartBook order detailing in the response will include the original profit package data, and the SmartBook order package profit data.

 

GetSmartBookData

Request

POST http://services.travolutionary.com/BookingServices/OrdersService.svc HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:IOrdersService/GetSmartBookData"
Host: carsolizeservices.westeurope.cloudapp.azure.com
Content-Length: 561
Expect: 100-continue
Connection: Keep-Alive 

 

Body of the Request

Field Name Description Type Possible Values M/O
Credentials

Will be provided by Travolutionary Support team upon set-up, or by creating a new user in the B2B/Backoffice system.

- Password

- UserName

 String  - M
 FromDate The date from which the orders will be detailed.  System.DateTime  - M
RecordsToSkip Will skip the set number of orders from the starting date Int32    
ServiceType The SmartBook feature is currently available only for the Hotels service IsuBe.Base.Enum.ServiceType Hotels M
ToDate The date up to which the orders will be detailed.   System.DateTime  - M

 

Response

Field Name Description  
Errors If any error occurs during the service response, it will be returned in its dedicated field  
SmartBookSegmentInfo
 OriginalPackageContractId The Supplier Contract ID set for the supplier account, through which the order was requested and confirmed  
 OriginalPackageContractName Alias for the Supplier Contract, through which the order was requested and confirmed  
 OriginalPackageProfit Calculated by the markup and commission values applied to the order  
 SegmentId The order's SegmentID   
 SmartBookDeltaProfit The profit delta gained by SmartBook for the order  
 SmartBookTotalProfit The profit amount gained by SmartBook for the order  
SupplierName Commercial name of the supplier by which the order was confirmed  

 

GetSegmentSmartBookData

Request

 POST http://services.travolutionary.com/BookingServices/OrdersService.svc HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:IOrdersService/GetSegmentSmartBookData"
Host: carsolizeservices.westeurope.cloudapp.azure.com
Content-Length: 452
Expect: 100-continue

 

Body of the Request

Field Name Description Type Possible Values  M/O
 Credentials  Will be provided by Travolutionary Support team upon set-up, or by creating a new user in the B2B/Backoffice system.

- Password

- UserName

 String -  M
 SegmentId  The queried order's SegmentID  String -  M

 

Response

Field Name Description
 OriginalPackageContractId The Supplier Contract ID set for the supplier account, through which the order was requested and confirmed
 OriginalPackageContractName Alias for the Supplier Contract, through which the order was requested and confirmed
 OriginalPackageProfit Calculated by the markup and commission values applied to the order
 SegmentId The order's SegmentID 
 SmartBookDeltaProfit The profit delta gained by SmartBook for the order
 SmartBookTotalProfit The profit amount gained by SmartBook for the order
SupplierName Commercial name of the supplier by which the order was confirmed

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk