Overview: API Documentation
Overview: API Documentation
1. Overview
The iVectorOne API allows customers to integrate with a large number of different suppliers via a single
API.
1.1 Content
There are two calls to support property content retrieval:
Property List
This call will return a list of all properties in the system for the requested supplier.
Property Details
This call will return the full content details for the specified properties.
Search
This call takes a list of property identifiers and will return all available results with a total cost.
These results will contain booking tokens that must be passed into the pre-book call
Prebook
This request accepts a booking token from the search response and will confirm the availability
and cost of a single property result. The result will include a booking token that must be passed
into the book call.
Book
This request accepts a booking token from the pre-book response and will book the requested
property result. It will return a booking reference if successful.
Cancel
This request accepts a booking reference from the book response and will cancel a property
booking.
API Documentation
Request
GET[Base URL]/content/property/list
Response
Node Data Type Description
PropertyListResponse
PropertyID Integer The unique identifier of the property. This can beused in the
GetPropertyContent call to get full content.
Request
GET[Base URL]/content/property
Response
PropertyContentResponse
SupplierContent Single
Geography Single
3.1 Search
Use this request to return property results. All fields are mandatory unless marked with a question
mark.
Request
E.g. rooms=(1,1,1~7,2)|(2,0,0)
-
Is a 2 room search
-
Room 1 - 1 Adult, 1 child, 1 infant, aged 7 and
- 2 Room 2 - 2 Adults
Example URI
/property/search?ArrivalDate=2021-06-06&duration=1&properties=1,2,5,100&rooms=(1,2,1~5,7,2)|(1,0,0)
Response
PropertySearchResponse
PropertyResults List ?
The property search results.
PropertyResult Single
PropertyID Integer
Unique property identifier.
RoomType Single
String Room Token returned from the third party. Must be passed
SupplierReference1
into the pre-book request
String
SupplierReference2 Room Token returned from the third party. Must be passed
into the pre-book request
Supplier String
CancellationTerm
Date
The start date of the cancellation policy.
StartDate
Date
The end date of the cancellation policy.
EndDate
Decimal The cancellation cost.
Amount
API Documentation
3.2 Pre-book
Use this request to confirm availability and price for search results.
Request
POST[Base URL]/property/prebook
RoomBookingToken String
Taken from a room result in the property search response.
SupplierReference1 String
Taken from a room result in the property search response.
SupplierReference2 String Taken from a room result in the property search response.
Response
Parameter Data Type Description
PropertyPrebookResponse
BookingToken String Stores information needed to book the result. Must be passed
into the book request.
SupplierReference1 String Property level Token returned from the third party. Must be
passed into the book request if returned at prebook.
SupplierReference2 String Property level Token returned from the third party.
Must be passed into the book request if returned at prebook.
TotalCost Decimal
The total price of the property booking.
RoomBookings List
RoomBooking Single
Supplier String
The name of the supplier
TotalCost Decimal
The total cost for the room.
CancellationTerm Single
Errata List ?
3.3 Book
Request
PropertyBookRequest
BookingToken String
Taken from the property pre-book response
RoomBookingToken String
Taken from a room result in the property search response
SupplierReference String
Taken from the property pre-book response
GuestDetails List
The details of all the guests on the booking
GuestDetail Single
String
Must be one of “Adult”, “Child” or “Infant”
Type
String
The guest’s title, eg. Mr, Mrs.
Title
String
The guest’s first name.
FirstName
String
The guest’s last name.
LastName
Date
The guest’s date of birth.
DateOfBirth
Single
The details of the lead customer
LeadCustomer
String
CustomerTitle
String
CustomerFirstName
String
CustomerLastName
Date
DateOfBirth
String
CustomerAddress1
String ?
CustomerAddress2 String
CustomerTownCity String
CustomerCounty
API Documentation
CustomerPostcode
String
CustomerBookingCountryCode
String
ISO Alpha-2 code
CustomerPhone
String
CustomerMobile String
CustomerEmail String
Response
PropertyBookResponse
SupplierReference1 Token returned from the third party. Must be passed into the
String cancel request if returned at book.
SupplierReference2 Token returned from the third party. Must be passed into the
String
cancel request if returned at book.
BookingToken String Stores information needed to book the result. Must be passed
into the book request.
3.4. Cancel
Request
CancelPropertyBookingRequest
String Token returned from the third party. Must be passed into the
SupplierReference1
cancel request if returned at book.
String Token returned from the third party. Must be passed into the
SupplierReference2
cancel request if returned at book.
Response
CancelPropertyBookingResponse
A call to retrieve data, such as the property list function will use the GET method, whereas a call to
execute a function will use the POST method.
The REST paths and Http verbs required for each call are detailed in the request sections above.
The API accepts and returns content in XML or JSON. To choose between these pass the values
application/xml or application/json in the Accept and Content-Type headers in the request.
The API uses BASIC Authentication, integrators will be provided with credentials separately.