Aviva Vehicle Repairer Lookup API

VehicleRepairAnalyticsModels

object

Data Related to VehicleRepairAnalyticsModels

modelIdstring

A unique reference given to a Data Science Model. Only supports RRR (Recommended Repairer Routing) as of now.

Allowed values:RRR

outputDatestring(date-time)

Date as which the Model has been executed to provide results.

modelOutputarray[object]

Data Related to ModelOutput

Show Child Parameters
Example

ModelOutput

object

Data Related to ModelOutput

rankingnumber

Ranks the Probability attributes, to enable comparison of all Probabilities in order of rank.

organisationIdstring

For each of potentially many repairers, this denotes the unique identifier of the repairer to correspond with the repairer database held in the Hub.

stringTypesarray[object]

An array of string messages related to the model output and their description

Show Child Parameters
decimalTypesarray[object]

An array of decimal values related to the model output and their description

Show Child Parameters
Example

StringTypes

object

An array of string messages related to the model output and their description

messagestring

A result output from a data science model in text format.

descriptionstring

This describes the content and purpose of the String Value attribute, which then enables Marketeers to comprehend the relevance of using the String Value when creating marketing campaigns.

Example

DecimalTypes

object

An array of decimal values related to the model output and their description

valuenumber

Numerical Value which can be Fractional and must contain a Decimal Point. It can be positive or negative and can represent a true value or be used in reference to an aliased value stored elsewhere.

descriptionstring

Text definition of the Decimal Value to ensure that common understanding is maintained.

Example

ProblemDetail

object

Provide ProblemDetails.

typestringrequired

An absolute URI [RFC3986] that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.

Example:http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

titlestringrequired

A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localisation.

statusintegerrequired

The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.

detailstringrequired

An human readable explanation specific to this occurrence of the problem.

instancestringrequired

An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.

codestring

This is an Aviva extension type that could be used for sending common mapped business error codes back to the consumer

Example