Skip to main content

Diagnostic Specification

Connect the WebHook

Provide an endpoint that receives a request with the POST verb, the body (in JSON) is described in the following section.

If the endpoint is secure, please inform the technical team who will implement the necessary code.

Body example

{
"reportUrl": "https://report.ca-rool.com/pcSv7d72",
"dateAnalysis": "2023-11-23T17:38:16.720Z",
"vehicle": {
"license": "FG-856-MQ",
"externalId": "123456",
"vehicleMileage": 9876,
"brand": "SEAT",
"model": "Arona"
},
"frontLeft": {
"data": {
"reference": {
"position": 1,
"notVisible": false,
"manufacturer": "First Stop",
"name": "First Stop Winter 2",
"width": 145,
"ratio": 70,
"isZR": false,
"diameter": 13,
"loadIndex": 71,
"speedIndex": "T",
"dotDate": "2016",
"dotManufacturer": "HD",
"countryCode": "ita",
"hasHernia": false,
"hasCut": false,
"approvedReference": "205/55 R16 91V",
"isRightWay": true
},
"wear": {
"position": 1,
"notVisible": false,
"hasObject": false,
"hasCracks": false,
"hasShoulderWear": false,
"hasDamaged": false,
"rate": "A"
}
},
"report": {
"color": "RED",
"brand": "First Stop",
"model": "First Stop Winter 2",
"dimension": "145/70R13 71 T",
"season": "Hiver",
"produced": "Produced in May 2016 - Italy",
"diagnoses": [
{
"codeValue": "WEAR_VERY_OK",
"value": "Tyre in very good condition, very good tread height",
"color": "GREEN"
},
{
"codeValue": "AXLE_DIFF_DIMENSION",
"value": "Dimensions different on the axle",
"color": "RED"
}
],
"recommendation": {
"codeValue": "VERIFY_BY_SPECIALIST",
"value": "To be checked by a specialist",
"color": "RED"
}
}
},
"frontRight": {
"data": {
...
},
"report": {
"report": {
...
}
},
"rearLeft": {
"data": {
...
},
"report": {
...
}
},
"rearRight": {
"data": {
...
},
"report": {
...
}
},
"recommendations": [
{
"codeLabel": "MOUNTING_DIRECTION",
"label": "Checking mounting directions",
"codeValue": "UNKNOWN",
"value": "?",
"color": "RED"
},
{
"codeLabel": "AXLE",
"label": "Same brand, pattern, dimension for each axle",
"codeValue": "KO",
"value": "KO",
"color": "RED"
},
{
"codeLabel": "TYRES_INTEGRITY",
"label": "Presence of a cut, hernia, crack",
"codeValue": "KO",
"value": "KO",
"color": "RED"
},
{
"codeLabel": "CONCERNED_BY_MOUNTAIN_LAW",
"label": "Postcode requires winter tyres",
"codeValue": "UNKNOWN",
"value": "?",
"color": "OFF"
}
]
}

Request body properties

PropertyNot nullTypeDescription
reportUrlyesStringPDF report URL
vehicleyesVehicleObjetContains vehicle data
dateAnalysisyesStringAnalysis creation date
frontLeftyesTyreObjectFront left tyre information
frontRightyesTyreObjectFront right tyre information
rearLeftyesTyreObjectRear left tyre information
rearRightyesTyreObjectRear right tyre information
recommendationsyesArray[RecommendationObject]Global recommendations

VehicleObjet

PropertyNot nullTypeDescription
licenseyesStringVehicle registration number
makernoStringVehicle Brand
modelnoStringVehicle model
externalIdnoStringExternal code passed during analysis creation
vehicleMileagenoIntegerMileage (unit based on vehicle country)

TyreObject

PropertyNot nullTypeDescription
datayesDataObjectRaw tyre data
reportyesReportObjectCalculated PDF Report data

DataObject

PropertyNot nullTypeDescription
referenceyesReferenceObjectExtracted tyre sidewall data
wearyesWearObjectExtracted tyre tread data

ReferenceObject

PropertyNot nullTypeDescription
positionyesIntegerTyre position on the vehicle: 1 = front left tyre; 2 = front right tyre; etc
notVisibleyesBooleanIf true, photo was not visible therefor no data is available
manufacturernoStringTyre manufacturer
namenoStringTyre model
widthnoIntegerTyre width
rationoIntegerTyre ratio
isZRnoBooleanIs Tyre ZR or not (R is no)
diameternoIntegerRim diameter
loadIndexnoIntegerTyre load index
speedIndexnoIntegerTyre speed index
dotDatenoStringTyre manufacturing date
dotManufacturernoStringTyre factory code
dotCountryCodenoStringCountry code of the tyre factory
seasonnoStringTyre season
3pmsfnoBooleanTyre 3PMSF marking
hasHernianoBooleanTrue if tyre has hernia
hasCutnoBooleanTrue if tyre has cut
approvedReferencenoStringApproved reference
isRightWaynoBooleanIs tyre mounted the right way

WearObject

PropertyNot nullTypeDescription
positionyesIntegerTyre position on the vehicle: 1 = front left tyre; 2 = front right tyre; etc
notVisibleyesBooleanIf true, photo was not visible therefor no data is available
hasObjectnoBooleanTrue if an object is detected in the tyre tread (nail / screw / etc)
hasCracksnoBooleanTrue if there is cracks in the grooves
hasShoulderWearnoBooleanTrue if the tyre has collapsed shoulder tread
hasDamagednoBooleanTrue if the tyre has damage tread
ratenoStringTread wear: A = new tyre; B = tyre in good condition; BC = tyre almost worn; C = tyre worn; D = tyre with wear indicator reach

ReportObject

PropertyNot nullTypeDescription
coloryesStringTyre color indicator
brandnoStringTyre brand
modelnoStringTyre model
dimensionnoStringFull tyre dimension
seasonnoStringTyre season
producednoStringDOT code meaning
diagnosesyesArray[DiagnosisObject]List of tyre diagnostics
recommendationyesArray[RecommendationTyreObject]List of tyre recommendations

DiagnosisObject

PropertyNot nullTypeDescription
coloryesStringColor code of the result
valueyesStringLabel of the diagnostic result
codeValueyesStringCode representing the diagnostic result

RecommendationTyreObject

PropertyNot nullTypeDescription
coloryesStringColor code of the result
valueyesStringLabel of the recommendation result
codeValueyesStringCode representing the recommendation result

RecommendationObject

PropertyNot nullTypeDescription
codeLabelyesStringCode representing the recommendation type
labelyesStringLabel of the recommendation type
codeValueyesStringCode representing the recommendation result
valueyesStringLabel of the recommendation result
coloryesStringResult color

Signification Codes

CategoryCodeLabel
Anomaly
PRESENCE_OBJECTThere is an object on the tread
PRESENCE_CRACKSThere is cracks on the rubber
PRESENCE_CUTThere is cut on the sidewall
PRESENCE_HERNIAThere is hernia on the sidewall
DAMAGEDDamaged tread
SHOULDER_WEARCollapsed should wear
TOO_OLDTyre age greater than 10 years, rubber aging
Axle
AXLE_DIFF_DIMENSIONDifferent dimensions on the axle
AXLE_DIFF_BRANDDifferent brands on the axle
AXLE_DIFF_PROFILEDifferent patterns on the axle
AXLE_DIFF_SEASONDifferent seasons on the axle
Axle - specific GB
AXLE_DIFF_BRANDWe recommend to have the same brand on the axle
AXLE_DIFF_SPEED_INDEXWe recommend to have the same speed index on the axle
AXLE_DIFF_SEASONWe recommend to have the same season on the axle
Wear
IMPOSSIBLE_ANALYZE_WEARImpossible wear analysis
WEAR_VERY_OKVery good tread depth
WEAR_OKGood tread depth
WEAR_MEDIUMTread low, replacement to be planned
WEAR_WORNWorn tyre, limited tread height, risk of aquaplaning
WEAR_VERY_WORNWorn tyre - Wear indicator reached
Recommandation Tyre
REDO_PHOTOTake your photos again while respecting the mask
TO_BE_REPLACED_URGENTLYTo be replaced urgently
VERIFY_BY_SPECIALISTTo be checked by a specialist
TO_BE_REPLACEDTo be replaced
NEXT_CHECK_10000_KMNext check in 6 months or 10,000 kms
NEXT_CHECK_5000_KMNext check in 6 months or 5,000 km
NEXT_CHECK_5000_KM_AT_LATESTNext check: 6 months or 5,000 kms at the latest
Recommandation Value
OKOK
KOKO
UNKNOWN?
YESYes
NOno
Recommandation Label
MOUNTING_DIRECTIONChecking the mounting directions
AXLESame brand / profile / dimension per axle
TYRES_INTEGRITYNo presence of hernia, cut or crack
CONCERNED_BY_MOUNTAIN_LAWCommune affected by the Mountain law )
TYRES_COMPATIBLE_MOUNTAIN_LAWTyres compatible with mountain law (M+S / 3PMSF marking)