How can we help?
Follow
Login & Session Management

Travolutionary API is session based service, please pay attention to correct session creation and management.

Description:

Session Id is retrieved in the Login response or Search response (depending on which function you used)

 

and is valid for approximately 40 minutes.

Please note:

In order to perform a search, it is highly recommended to:

1. Send the Credentials (Username & Password) in the Search request, and retrieve a session id from the Search response, instead of performing Login request and obtain the session id from the Login response.

2. Send a new Search request for any incoming search query to your API/Website.

 

 

 Please download attached request example.

 

POST http://services.travolutionary.com/BookingServices/DynamicDataService.svc HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/IDynamicDataService/ServiceRequest"
Host: services.travolutionary.com
Content-Length: 472
Expect: 100-continue
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Separated login request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<ServiceRequest xmlns="http://tempuri.org/">
<rqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Credentials xmlns="">
<Password>*****</Password>
<UserName>*****</UserName>
</Credentials>
<Request xmlns="">
<ClientIP i:nil="true"/>
</Request>
<RequestType xmlns="">Login</RequestType>
<TypeOfService xmlns="">Hotels</TypeOfService>
</rqst>
</ServiceRequest>
</s:Body>
</s:Envelope>

 

Login response:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<ServiceRequestResponse xmlns="http://tempuri.org/">
<ServiceRequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Errors xmlns=""/>
<SessionID xmlns="">/22/43771/D20161128T121658/90672d47a33349eeacff313adc7f098f</SessionID>
</ServiceRequestResult>
</ServiceRequestResponse>
</s:Body>
</s:Envelope>

 

 

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

Comments

Powered by Zendesk