Vehicle Keeper

The quoting process begins by selecting a vehicle, either through registration entry from the home screen or the my vehicles tab.

vehicle keeper

Vehicle Keeper

Notes

  • Outside Parking field is missing.

  • Estimated Vehicle Value is missing.

API

Latest vehicle keeper

As part of a new quote a user may select a vehicle they have previously insured. If this is the case the user may use the last vehicle keeper they entered. The latest vehicle keeper details would be prefilled ready for the user to check and confirm their details:

Request

curl -X 'GET' \
  'https://st.igate-test.co.uk/api/v1/user/vehicles/d2e0ad41-e10f-4647-97d0-a6d683a30d3f/latest_registered_keeper/' \
  -H 'Authorization: Bearer abc123xyz...' \
  -H 'accept: application/json'

Response

  • Type: 200 OK

{
  "estimated_vehicle_value": 2000,
  "keeper_relationship_id": "1",
  "keeper_relationship_name": "Parent",
  "purchase_value": 2000,
  "overnight_parking_id": "1",
  "overnight_parking_name": "Outside"
}

Notes

  • When there is no latest registered keeper it is expected the user enter all the vehicle keeper details.

Vehicle Keeper (Create)

After a user has either entered or confirmed the registered keeper of the vehicle they wish to quote a new vehicle keeper is created.

Relationships (List)

When the registered keeper is not the app user they must state their relationship:

vehicle_keeper_02.png

Vehicle Keeper Relationship 1

vehicle_keeper_03.png

Vehicle Keeper Relationship 2

A list of relationships can be retrieved by the relationships metadata endpoint.

Overnight Parking (List)

A list of overnight parking statuses can be retrieved by the overnight parking metadata endpoint.

Request

vehicle_keeper_04.png

Vehicle Keeper Create

curl -X 'POST' \
  'https://st.igate-test.co.uk/api/v1/user/vehicle-keepers/' \
  -H 'Authorization: Bearer abc123xyz...' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "estimated_vehicle_value": 5000,
    "purchase_value": 2000,
    "keeper_relationship_id": "businesspartner",
    "keeper_relationship_name": "Business Partner",
    "overnight_parking_id": "1",
    "overnight_parking_name": "Parked on Drive"
}'

Response

  • Type: 201 Created

{
  "url": "http://https://st.igate-test.co.uk/api/v1/user/vehicle-keepers/2b3d8718-c6e3-4862-8fc8-fccba6f10041/",
  "uuid": "2b3d8718-c6e3-4862-8fc8-fccba6f10041",
  "created_at": "2025-01-20T11:29:35.359716Z",
  "updated_at": "2025-01-20T11:29:35.359759Z",
  "estimated_vehicle_value": 2000,
  "purchase_value": 1500,
  "keeper_relationship_id": "businesspartner",
  "keeper_relationship_name": "Business Partner",
  "overnight_parking_id": "1",
  "overnight_parking_name": "Parked on Drive"
}