Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

DVLA AIP

Davonalt
7 - Meteor

Hi,

I am trying to use the download tool to retrieve data regarding car details. The DVLA example is below.

 

Any help with configuring the download tool would be great. 

 

Requests

To call the API, make a HTTP POST request to the following URL:

https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles

and include the following in the request body:

{ "registrationNumber": "TE57VRN" }

You must also include a mandatory x-api-key header with each request you send. This must contain the API key which you have been issued with.

For example, using cURL, a request can be made as follows:

curl -L -X POST 'https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles' \
-H 'x-api-key: REPLACE WITH YOUR API KEY' \
-H 'Content-Type: application/json' \
-d '{"registrationNumber": "TE57VRN"}'

OWASP security guidelines dictate that sensitive information should not be included in URLs. This reduces the risk of sensitive information being unnecessarily recorded in Web Server logs. The vehicle registration number is deemed sensitive information in accordance with the Information Commissioner’s Office (ICO), so is passed in the body as a POST request.

10 REPLIES 10
tomgilbert
5 - Atom

Thanks, i managed to get this to work in the end! I was missing the curly brackets which was causing an error.

Labels
Top Solution Authors