POST api/Vehicles/{token}

Add or remove vehicles for the specified tour search

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

The tour search token

string

Required

Body Parameters

The vehicles input parameters

Collection of Vehicle
NameDescriptionTypeAdditional information
registration

Registration number, e.g. GF23 XYZ

string

None.

make

Make, e.g. BMW

string

None.

model

Model, e.g. X6

string

None.

colour

Colour, e.g. Red

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "registration": "sample string 1",
    "make": "sample string 2",
    "model": "sample string 3",
    "colour": "sample string 4"
  },
  {
    "registration": "sample string 1",
    "make": "sample string 2",
    "model": "sample string 3",
    "colour": "sample string 4"
  }
]

Response Information

Resource Description

VehicleResponse
NameDescriptionTypeAdditional information
token

The tour search token

string

None.

response

The response object

Collection of Vehicle

None.

status

The response status

ResponseStatus

None.

success

An indication that the request was successfully completed or failed

boolean

None.

datestamp

The date and time that the request was completed

date

None.

Response Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "response": [
    {
      "registration": "sample string 1",
      "make": "sample string 2",
      "model": "sample string 3",
      "colour": "sample string 4"
    },
    {
      "registration": "sample string 1",
      "make": "sample string 2",
      "model": "sample string 3",
      "colour": "sample string 4"
    }
  ],
  "status": {
    "code": 1,
    "message": "sample string 2"
  },
  "success": true,
  "datestamp": "2026-08-03T20:33:27.1387671+01:00"
}