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

KeyTypeExample ValueRequirement
apiKeyGUID string97a30c39-4d62-4849-abef-d52d7b7044aerequired
startDatestring2020-09-20optional
endDatestring2020-09-30optional

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.