create_quote

This tool creates a brand new quote for the customer.

When creating a quote you will receive a quote reference number, it is important that you log this as you will need this quote number if you wish to quickly create the job. Otherwise, you can create the booking using the exact same fields.

The system does not send any quote emails or SMS messages automatically when using the API.

🚧

Customer Account Information Optional

Quotes can be generated without any customer account identified, however, please be aware this also means a customer can not retrieve any previously stored quotes and you will be unable to retrieve them from their customer ID.

Via Points

Via Points must be provided in the following format for each array object.

ParameterDescription
textThis should contain the full via-point address text. Seek PICKUP_ADDRESS for formatting information.
latVia-point Latitude. Seek PICKUP_LAT for formatting information.
longVia-point Longitude. Seek PICKUP_LONG for formatting information.
Form Data
string
required

This is the username for the customer account (generally a phone number in international format, excluding the + or 00)

string
required

This is the password for the customer account (generally a PIN number of a minimum 4 digit length, and up to 12 digits long).

string

This should contain the lead passengers name or reference.

int64

This should contain a mobile or landline number in international format for the lead passenger. (IE: in the UK: 447780123456 and in the US: 15468875544). The default is the PHONE_NUMBER value sent in the user parameters.

int32
Defaults to 1

This should contain the total number of passengers. It is important to provide this value when more than 4 passengers are required as this will limit the type of vehicles that will receive this job. The default value is 1.

int32
Defaults to 0

This should contain the total number of cases required as part of the booking so that an appropriate vehicle is sent. Please consider larger items such as golf clubs as 2 cases. The default value is 0.

string

This should contain the full pick-up text with no line breaks. Please ensure each section of the address is separated by a comma. For example, you would send: 13 Down Town, London, SW13 9KD, UK If the address contains a POI (Point-of-interest), you can place this at the start by including it within brackets. For example: (Coffee Cafe) 13 Down Town, London, SW13 9KD, UK

double

Latitude of the pick-up location in Decimal Degrees only. Do not use commas as decimals. For example: 51.507323

double

Longitude of the pick-up location in Decimal Degrees only. Do not use commas as decimals. For example: -0.127754

string

This should contain the full drop-off text with no line breaks. Please ensure each section of the address is separated by a comma. For example, you would send: 13 Down Town, London, SW13 9KD, UK If the address contains a POI (Point-of-interest), you can place this at the start by including it within brackets. For example: (Coffee Cafe) 13 Down Town, London, SW13 9KD, UK

double

Latitude of the drop-off location in Decimal Degrees only. Do not use commas as decimals. For example: 51.507323

double

Longitude of the drop-off location in Decimal Degrees only. Do not use commas as decimals. For example: 51.507323

json

This should be a multidimensional JSON object with the following elements in each child array. Please look further down the page for what each object within the viapoints array should include.

string

This should include any important notes regarding the booking. This will display on the fleet operators booking information screen, and also at the very top in bold on the drivers tablet/mobile device.

string
Defaults to NA

This is the vehicle preference for the booking. Please seek the "vehicle_types" API for valid types.

string
Defaults to N

If a wheelchair accessible vehicle is required this should be set to Y.

date
Defaults to NOW

This should contain the date and time of the booking pickup. You must supply this using a valid date and time format as detailed here: http://uk3.php.net/manual/en/datetime.formats.php If however the booking is for now, you can either send the current date/time, or send the value NOW. This default value is NOW. Please be aware that this only influences the price of the journey, it does not get stored with the quote.

json

This allows you to submit custom fields in KEY>VAL pairs, with Key being the full text of the field in your Gazoop system.

Language
Response
Click Try It! to start a request and see the response here!