Accessing the CV Villas White Label API

This section documents how partners may access the White Label API using the API Key provided by CV Villas.

All partners can access the White Label API using the API Key provided by CV Villas. It is a GET request that returns XML by default and can be accessed at the following endpoint:

Endpoint

https://www.cvvillas.com/umbraco/api/Travel/GetTravelItems/

Parameters

Key Type Example Value Requirement
apiKey GUID string 97a30c39-4d62-4849-abef-d52d7b7044ae required
startDate string 2020-09-20 optional
endDate string 2020-09-30 optional

Accessing as JSON

If you wish to receive a JSON response from the API instead of an XML response, pass in the Accept header with a value of application/json.

 

Notes: For testing, we recommend that the partner use a tool such as Postman and does not attempt to load the API in their browser, as it will likely crash due to the browser attempting to format the large amount of XML, even though it’s loaded the API.