Final Check
Once a user selects a quote they may proceed to the final check.
Notes
When a user edits any information a new quote request must be created for a new set of quotes.
About You
Endpoints
Basic information about the user can be found at their user endpoint.
Extended information about the user can be found at their user profile endpoint.
Your driving details
A users driving information may be found on their user profile.
User Profile
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/user/profile/cb7d3f93-ccce-48d4-bf82-4c3dcb54d6ee/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
Type: 200 OK
{
"url": "https://st.igate-test.co.uk/api/v1/user/profile/cb7d3f93-ccce-48d4-bf82-4c3dcb54d6ee/",
"uuid": "cb7d3f93-ccce-48d4-bf82-4c3dcb54d6ee",
"created_at": "2024-11-29T09:49:24.049001Z",
"updated_at": "2024-11-29T09:49:24.049093Z",
"first_name": "John",
"last_name": "Smith",
"preferred_name": "John Smith",
"phone_number": null,
"gender_id": null,
"gender_name": null,
"marital_status_id": null,
"marital_status_name": null,
"date_of_birth": null,
"driving_licence_number": null,
"licence_type_id": null,
"licence_type_name": null,
"date_licence_obtained": null,
"home_owner": null,
"uk_resident_since_birth": null,
"uk_resident_years": null,
"receive_notifications": null,
"email_subscriptions": null,
"sms_alerts": null
}
Your car details
This the vehicle that the quote relates and may be found from the quote request.
Quote Request
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/quote-requests/b224f44b-d620-4176-bccb-104a61175e84/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
Type: 200 OK
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/b224f44b-d620-4176-bccb-104a61175e84/",
"uuid": "b224f44b-d620-4176-bccb-104a61175e84",
"policy_start_date": "2025-01-20",
"vehicle": "https://st.igate-test.co.uk/api/v1/user/vehicles/09eef7c7-e1b3-4574-ab7b-2d935cf209fc/",
"vehicle_keeper": "https://st.igate-test.co.uk/api/v1/user/vehicle-keepers/d0373a50-8ed8-4ac9-a1bf-a964c8915699/",
"days_required": 5,
"reason_id": "1",
"reason_name": "Cargo Transport",
"completed": true,
"quote_pitch": "**Best Value** quote is **17 days** cover for only **4.20** per day. Extend your insurance and save!",
"quotes": [
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397152/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397152",
"created_at": "2025-01-20T11:59:22.341419Z",
"updated_at": "2025-01-20T11:59:22.346240Z",
"quote_days": 14,
"principle": true,
"quote_ref": "199/3949167/Z442/WEB",
"quote_status": "QUOTE",
"quote_price": "64.40",
"quote_fees": "5.00",
"quote_day_price": "4.60",
"label": "Your Quote",
"cheapest_quote": false,
"best_value_quote": false,
"show_quote": true
},
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397153/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397153",
"created_at": "2025-01-20T11:59:23.341419Z",
"updated_at": "2025-01-20T11:59:23.346240Z",
"quote_days": 10,
"principle": false,
"quote_ref": "199/3949167/Z443/WEB",
"quote_status": "QUOTE",
"quote_price": "48.00",
"quote_fees": "5.00",
"quote_day_price": "4.20",
"label": "Cheapest",
"cheapest_quote": true,
"best_value_quote": false,
"show_quote": true
},
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397154/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397154",
"created_at": "2025-01-20T11:59:24.341419Z",
"updated_at": "2025-01-20T11:59:24.346240Z",
"quote_days": 17,
"principle": false,
"quote_ref": "199/3949167/Z444/WEB",
"quote_status": "QUOTE",
"quote_price": "71.40",
"quote_fees": "5.00",
"quote_day_price": "4.20",
"label": "Best value",
"cheapest_quote": false,
"best_value_quote": false,
"show_quote": true
}
]
}
From the quote request the vehicle can be retrieved.
Vehicle
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/vehicles/09eef7c7-e1b3-4574-ab7b-2d935cf209fc/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
Type: 200 OK
{
"url": "https://st.igate-test.co.uk/api/v1/vehicles/09eef7c7-e1b3-4574-ab7b-2d935cf209fc/",
"uuid": "09eef7c7-e1b3-4574-ab7b-2d935cf209fc",
"created_at": "2025-01-24T11:27:34.419898Z",
"updated_at": "2025-01-24T11:27:34.419946Z",
"vehicle_type": 1,
"reg_no": "kr10ygd",
"abi_code": 16545701,
"year_of_manufacture": 2010,
"cc": 1242,
"number_of_doors": 3,
"number_of_seats": 4,
"make": "Fiat",
"model": "500",
"gearbox_type_id": "002",
"gearbox_type_name": "Manual",
"body_type_id": "02",
"body_type_name": "Hatchback",
"fuel_type_id": "002",
"fuel_type_name": "Petrol"
}
Car Storage Details
This information may be found from the vehicle keeper on the quote request.
Quote Request
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/quote-requests/b224f44b-d620-4176-bccb-104a61175e84/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
Type: 200 OK
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/b224f44b-d620-4176-bccb-104a61175e84/",
"uuid": "b224f44b-d620-4176-bccb-104a61175e84",
"policy_start_date": "2025-01-20",
"vehicle": "https://st.igate-test.co.uk/api/v1/user/vehicles/09eef7c7-e1b3-4574-ab7b-2d935cf209fc/",
"vehicle_keeper": "https://st.igate-test.co.uk/api/v1/user/vehicle-keepers/d0373a50-8ed8-4ac9-a1bf-a964c8915699/",
"days_required": 5,
"reason_id": "1",
"reason_name": "Cargo Transport",
"completed": true,
"quote_pitch": "**Best Value** quote is **17 days** cover for only **4.20** per day. Extend your insurance and save!",
"quotes": [
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397152/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397152",
"created_at": "2025-01-20T11:59:22.341419Z",
"updated_at": "2025-01-20T11:59:22.346240Z",
"quote_days": 14,
"principle": true,
"quote_ref": "199/3949167/Z442/WEB",
"quote_status": "QUOTE",
"quote_price": "64.40",
"quote_fees": "5.00",
"quote_day_price": "4.60",
"label": "Your Quote",
"cheapest_quote": false,
"best_value_quote": false,
"show_quote": true
},
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397153/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397153",
"created_at": "2025-01-20T11:59:23.341419Z",
"updated_at": "2025-01-20T11:59:23.346240Z",
"quote_days": 10,
"principle": false,
"quote_ref": "199/3949167/Z443/WEB",
"quote_status": "QUOTE",
"quote_price": "48.00",
"quote_fees": "5.00",
"quote_day_price": "4.20",
"label": "Cheapest",
"cheapest_quote": true,
"best_value_quote": false,
"show_quote": true
},
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397154/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397154",
"created_at": "2025-01-20T11:59:24.341419Z",
"updated_at": "2025-01-20T11:59:24.346240Z",
"quote_days": 17,
"principle": false,
"quote_ref": "199/3949167/Z444/WEB",
"quote_status": "QUOTE",
"quote_price": "71.40",
"quote_fees": "5.00",
"quote_day_price": "4.20",
"label": "Best value",
"cheapest_quote": false,
"best_value_quote": false,
"show_quote": true
}
]
}
The vehicle keeper can be retrieved by performing a GET request to the vehicle keeper endpoint.
Vehicle Keeper
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/user/vehicle-keepers/d0373a50-8ed8-4ac9-a1bf-a964c8915699/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
{
"url": "https://st.igate-test.co.uk/api/v1/user/vehicle-keepers/d0373a50-8ed8-4ac9-a1bf-a964c8915699/",
"uuid": "d0373a50-8ed8-4ac9-a1bf-a964c8915699",
"created_at": "2025-01-20T11:24:14.518965Z",
"updated_at": "2025-01-20T11:24:14.528450Z",
"estimated_vehicle_value": 2000,
"keeper_relationship_id": "1",
"keeper_relationship_name": "Parent"
"purchase_value": 2000,
"overnight_parking_id": "1",
"overnight_parking_name": "Outside"
}
Convictions and claims
As per the terms and conditions for use of the application a user must confirm they have no claims or convictions. Therefore this section is not applicable.
Cover Details
Information about the cover may be found on the quote and quote request.
Quote
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397152/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
Type: 200 OK
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397152/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397152",
"created_at": "2025-01-20T11:59:22.341419Z",
"updated_at": "2025-01-20T11:59:22.346240Z",
"quote_days": 14,
"principle": true,
"quote_ref": "199/3949167/Z442/WEB",
"quote_status": "QUOTE",
"quote_price": "64.40",
"quote_fees": "5.00",
"quote_day_price": "4.60",
"label": "Your Quote",
"cheapest_quote": false,
"best_value_quote": false,
"show_quote": true
}
Further information about the quote can be found on the quote endpoint.
Quote Request
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/quote-requests/b224f44b-d620-4176-bccb-104a61175e84/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
Type: 200 OK
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/b224f44b-d620-4176-bccb-104a61175e84/",
"uuid": "b224f44b-d620-4176-bccb-104a61175e84",
"policy_start_date": "2025-01-20",
"vehicle": "https://st.igate-test.co.uk/api/v1/user/vehicles/09eef7c7-e1b3-4574-ab7b-2d935cf209fc/",
"vehicle_keeper": "https://st.igate-test.co.uk/api/v1/user/vehicle-keepers/d0373a50-8ed8-4ac9-a1bf-a964c8915699/",
"days_required": 5,
"reason_id": "1",
"reason_name": "Cargo Transport",
"completed": true,
"quote_pitch": "**Best Value** quote is **17 days** cover for only **4.20** per day. Extend your insurance and save!",
"quotes": [
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397152/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397152",
"created_at": "2025-01-20T11:59:22.341419Z",
"updated_at": "2025-01-20T11:59:22.346240Z",
"quote_days": 14,
"principle": true,
"quote_ref": "199/3949167/Z442/WEB",
"quote_status": "QUOTE",
"quote_price": "64.40",
"quote_fees": "5.00",
"quote_day_price": "4.60",
"label": "Your Quote",
"cheapest_quote": false,
"best_value_quote": false,
"show_quote": true
},
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397153/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397153",
"created_at": "2025-01-20T11:59:23.341419Z",
"updated_at": "2025-01-20T11:59:23.346240Z",
"quote_days": 10,
"principle": false,
"quote_ref": "199/3949167/Z443/WEB",
"quote_status": "QUOTE",
"quote_price": "48.00",
"quote_fees": "5.00",
"quote_day_price": "4.20",
"label": "Cheapest",
"cheapest_quote": true,
"best_value_quote": false,
"show_quote": true
},
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397154/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397154",
"created_at": "2025-01-20T11:59:24.341419Z",
"updated_at": "2025-01-20T11:59:24.346240Z",
"quote_days": 17,
"principle": false,
"quote_ref": "199/3949167/Z444/WEB",
"quote_status": "QUOTE",
"quote_price": "71.40",
"quote_fees": "5.00",
"quote_day_price": "4.20",
"label": "Best value",
"cheapest_quote": false,
"best_value_quote": false,
"show_quote": true
}
]
}
Order Summary
Information in this section can be found on the quote.
Quote
Request
curl -X 'GET' \
'https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397152/' \
-H 'Authorization: Bearer abc123xyz...' \
-H 'accept: application/json'
Response
Type: 200 OK
{
"url": "https://st.igate-test.co.uk/api/v1/quote-requests/quotes/9e1cd7ea-39bb-421b-8c4b-57acbf397152/",
"uuid": "9e1cd7ea-39bb-421b-8c4b-57acbf397152",
"created_at": "2025-01-20T11:59:22.341419Z",
"updated_at": "2025-01-20T11:59:22.346240Z",
"quote_days": 14,
"principle": true,
"quote_ref": "199/3949167/Z442/WEB",
"quote_status": "QUOTE",
"quote_price": "64.40",
"quote_fees": "5.00",
"quote_day_price": "4.60",
"label": "Your Quote",
"cheapest_quote": false,
"best_value_quote": false,
"show_quote": true
}