Verify Travel Agent

In this API, we expect some details from the client to be sent in request and based on that request we verify Travel Agent user and return verified Travel Agent information for properties in which it is created. The API can return data in JSON formats. The web service responds to HTTP GET requests.

You need to take eZee Reservation to use this API.

URI Request

Request parameters are supplied by appending a question mark (?) to the base URI, followed by a sequence of parameter names and values separated by an ampersand (&).

End Point URL

[BaseUrl]/booking/reservation_api/listing.php?APIKey=[APIKey]&request_type=[request_type]&username=[username]&password=[password]&groupcode=[groupcode]

Header

Parameter

NameData TypeDescriptionExample
[BaseUrl] *Live server URLhttps://live.ipms247.com/
[Request_Type] *Use Keyword “VerifyUser”
[Hotel_Code] *INT(11)Unique Hotel codeXXXX
[API_KEY] *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXX
[username] *VARCHAR(300)Pass travel agent user nameXXXXXXXXX
[password] *VARCHAR(300)Pass base_64 encoded encrypted password.
Here’s the online tool for base_64 encoded encryption 
base64_encode($x)
[groupcode] *VARCHAR(300)Unique group code for each registered chain of properties. XXXXX

Request 

https://live.ipms247.com/booking/reservation_api/listing.php?APIKey=XX&request_type=VerifyUser&username=XX&password=XX&groupcode=XX

Response

NameData TypeDescriptionExample
contactunkidInteger(20)Unique contact idxxxxxxxxxxxx
salutationStringSalutation of user301, 404 etc
business_nameStringName of businessReservation already processed
nameStringUser nameJhon
addressStringAddress of user3817 Sugar Camp Road
cityStringCity nameNew York
stateStringState nameNew York
zipcodeIntegerzipcode123456
countryStringCountry nameUSA
phoneIntegerPhone number123456789
mobileIntegerMobile number1234567890
emailStringEmail idPamalaWHam@rhyta.com
isusercreatedStringIs user created1 or 0

Success

"contact_detail":{
"26":{"contact_detail":{"contactunkid":"2600000000001612","salutation":"Mr.","business_name":"OLX","name":"Maximum","address":null,"city":null,"state":null,"zipcode":null,"country":"India","phone":null,"mobile":null,"email":"Maximum@gmail.com","isusercreated":"1"}},
"1023":{"contact_detail":{"contactunkid":"102300000000000844","salutation":"Mr.","business_name":"OLX","name":"Maximum","address":null,"city":null,"state":null,"zipcode":null,"country":"India","phone":null,"mobile":null,"email":"Maximum@gmail.com","isusercreated":"1"}},
"3419":{"contact_detail":{"contactunkid":"341900000000000098","salutation":"Mr.","business_name":"OLX","name":"Maximum","address":null,"city":null,"state":null,"zipcode":null,"country":"India","phone":null,"mobile":null,"email":"Maximum@gmail.com","isusercreated":"1"}}

Error Codes

Error CodeError Name
HotelCodeEmptyHotel code is empty.
NORESACC1This request is valid for Reservation Account only. You may not have opted for Reservation Account Or Groups Code and Authentication are invalid.
UNAUTHREQUnauthorized request. This request is not valid for this hotel code.
2Cannot Parse Request
DBConnectErrorDatabase not connected.
BadRequestBad request type.
-1No Data found.
APIACCESSDENIEDYour property doesn’t have access to API integration or Key is incorrect. Please contact support for this.
INVUSEPASSInvalid Username and Password.
UnknownErrorUnknown Error
InvalidHotelCodeInvalid Hotel code.Please check your property code.

Click here to Register