list_claim_policy_drivers
List the drivers a claim vehicle's driver is picked from: the policy's drivers on a date.
Code
list_claim_policy_drivers › Request Body
claim_idClaim whose policy's drivers are listed
as_ofYYYY-MM-DD date to read the policy on; the claim's loss date when omitted, else today
list_claim_policy_drivers › Responses
The drivers on the claim's policy revision in force on as_of. No drivers when claims.vehicle-driver-capture is off, the claim has no policy or one that is not personal auto, or no committed or pending revision was in force on that date.
successIndicates if the request was successful
list_claim_vehicle_loss_payees
List the loss payees a repossessed claim vehicle can pick from its policy.
Code
list_claim_vehicle_loss_payees › Request Body
claim_idClaim the vehicle is on
vehicle_idPolicy vehicle (properties id) the claim vehicle was picked from; null or omitted for a vehicle not on the policy
list_claim_vehicle_loss_payees › Responses
The vehicle's loss payees on the policy revision in force on the claim's loss date (the vehicle's own revision while the claim has no loss date). Empty when claims.vehicle-driver-capture is off, the vehicle is not on the policy, or it has none.
successIndicates if the request was successful
list_matching_driver_contacts
List existing individual contacts a driver about to be saved as a new contact may be.
Code
list_matching_driver_contacts › Request Body
claim_vehicle_idThe claim vehicle the driver is recorded on; a date of birth, licence or licence state left out is taken from what it stores, unless cleared names it
last_nameCompared ignoring case, accents, spaces and punctuation
date_of_birthYYYY-MM-DD
drivers_licenselicense_stateclearedStored values the user cleared in the form: they are not compared, though left out
list_matching_driver_contacts › Responses
successIndicates if the request was successful
Existing active individual contacts whose surname, and date of birth or licence number and state, are the driver's; by name, at most 10; empty when there is nothing to compare. No date of birth or licence.
permissionDeniedPresent and true when the session is refused
list_matching_policy_drivers
List the drivers on the claim's policy that a driver about to be saved on a claim vehicle may be.
Code
list_matching_policy_drivers › Request Body
claim_vehicle_idThe first-party claim vehicle the driver is recorded on; a date of birth, licence or licence state left out is taken from what it stores, unless cleared names it
last_nameCompared ignoring case, accents, spaces and punctuation; without one only the licence number and state are compared
date_of_birthYYYY-MM-DD
drivers_licenselicense_stateclearedStored values the user cleared in the form: they are not compared, though left out
as_ofYYYY-MM-DD date to read the policy on; the claim's loss date when omitted, else today
list_matching_policy_drivers › Responses
successIndicates if the request was successful
dataThe drivers on the claim's policy, as list_claim_policy_drivers reads it, that the driver may be: the same date of birth and surname, or the same licence number and state whatever the surname. No date of birth or licence.
permissionDeniedPresent and true when the session is refused
save_vehicle_undeclared_driver
Record a first-party claim vehicle's driver who is not on the policy (an undeclared driver).
Code
save_vehicle_undeclared_driver › Request Body
claim_vehicle_idThe first-party claim vehicle
Every key is optional: a key left out keeps the stored value, null clears it. A masked date of birth or licence is refused.
link_contact_idAn active individual contact recorded as the driver instead, unchanged; the details are then not saved
check_expected_driverWrite nothing unless the vehicle's driver is still expected_driver_id; otherwise refused with error_code driver_changed
expected_driver_idThe driver the caller saw on the vehicle; null for a vehicle without one
expected_undeclared_driver_versionThe opaque version from undeclared_driver.version on the vehicle read; null for no unnamed driver. Checked with check_expected_driver, including changes hidden by masking.
expected_driver_relationshipThe saved relationship the caller saw, or null. Checked for named drivers when check_expected_driver is true; unnamed-driver versions already include it.
kept_policy_warningThe warning list_matching_policy_drivers answered the caller for this vehicle: the driver is kept as undeclared past it, and a claim history note records the drivers it showed (the first ten by name, and how many more), once per warning. Ignored with link_contact_id. One not issued to the caller for this vehicle, or issued for other details (the surname, birth date, licence and state compared), is refused and nothing is written.
save_vehicle_undeclared_driver › Responses
successIndicates if the request was successful
The claim vehicle, as get_claim_vehicle returns it
permissionDeniedPresent and true when the session is refused
error_codedriver_changed when check_expected_driver found another driver on the vehicle
update_claim_vehicle
Code
update_claim_vehicle › Request Body
claim_vehiclecheck_expected_undeclared_driverexpected_undeclared_driver_versionexpected_driver_relationshipcheck_expected_driverexpected_driver_idupdate_claim_vehicle › Responses
successmessagedata