MOT Juice API

Development endpoint domain: https://api.motjuice.dev

Live endpoint domain: https://api.motjuice.co.uk

Client API

/v1/client/engagement
POST
Client-Key required - Your unique MOT Juice API key

Schema

kpi_month string optional
Format: YYYY-MM
Default: Current month
Specify a particular month for which the data is required.

exclude_external_training boolean optional
Default: false
Specify whether the DVSA and CPD training progress should exclude any "external" training not provided by MOT Juice.

vts_id array optional
Default: all subscribed VTS
Array of VTS IDs to return.

Example

{
    "kpi_month" : "2023-02",
    "exclude_external_training" : true,
    "vts_id" : [
        "ABC00001",
        "VID12345"
    ]
}
                                

200 OK
400 Bad Request
403 Forbidden
404 Not Found
405 Method Not Allowed
500 Internal Server Error

A successful response body contains an array of JSON data for each VTS. Each value ranges from 0 - 100, the percentage of completion.

Example

[
    {
        "vts_id": "ABC00001",
        "name": "ABC Garage",
        "tester_first_login": 100,
        "garage_first_login": 100,
        "tester_logins": 75,
        "garage_logins": 0,
        "tester_bootcamp": 53,
        "garage_bootcamp": 0,
        "dvsa_started": 100,
        "cpd_started": 100,
        "dvsa_ontrack": 75,
        "cpd_ontrack": 0,
        "exam_passed": 0,
        "tqi_reviewed": 0,
        "qc_checks": 25,
        "audits": 0,
        "tla_reviewed": 0,
        "calibrations": 90,
        "invoice_cross_checks": 0
    },
    {
        "vts_id": "VID12345",
        "name": "MOT Garage Ltd",
        "tester_first_login": 100,
        "garage_first_login": 100,
        "tester_logins": 80,
        "garage_logins": 67,
        "tester_bootcamp": 0,
        "garage_bootcamp": 0,
        "dvsa_started": 100,
        "cpd_started": 100,
        "dvsa_ontrack": 100,
        "cpd_ontrack": 40,
        "exam_passed": 80,
        "tqi_reviewed": 30,
        "qc_checks": 80,
        "audits": 100,
        "tla_reviewed": 100,
        "calibrations": 100,
        "invoice_cross_checks": 100
    }
]