SmartGare
API referenceEndpoints

Resolve an identifier

Resolves a reading to the vehicle carrying it, through the stored normalised form; a reading matching nothing active is not-found, and nothing is written. **Required permission:** `referential.vehicle:read`

POST/referential/v1/vehicle-identifiers/resolution

Resolves a reading to the vehicle carrying it, through the stored normalised form; a reading matching nothing active is not-found, and nothing is written.

Required permission: referential.vehicle:read

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*ResolveVehicleIdentifierInput

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/vehicle-identifiers/resolution" \  -H "Content-Type: application/json" \  -d '{    "type": "string",    "value": "string"  }'
{  "identifier": {    "enrolled_at": "2019-08-24T14:15:22Z",    "enrolled_by": "string",    "id": "string",    "identifier_type_code": "string",    "identifier_type_name": "string",    "revoke_reason": "string",    "revoked_at": "2019-08-24T14:15:22Z",    "revoked_by": "string",    "value": "string",    "vehicle_id": "string"  },  "vehicle": {    "brand": "string",    "capacity": 0,    "carrier_id": "string",    "created_at": "2019-08-24T14:15:22Z",    "fleet_number": "string",    "id": "string",    "length_m": 0,    "model": "string",    "plate_number": "string",    "replacement": true,    "seating_mode": "string",    "service_category": "string",    "standing": "string",    "status": "string",    "suspension_reason": "string",    "type": "string",    "uhf_tag_missing": true,    "updated_at": "2019-08-24T14:15:22Z"  }}