Availability

    Checking the status of CarJam system.

    Request

    https://www.carjam.co.nz/api/availability/

    Response

    <message>
        <carjam>status</carjam>
        <mvr>status</mvr>
        <ppsr>status</ppsr>
        <alive>status</alive>
    </message>

    Where:

    • status is 1 when a service is up and 0 when it is down
    • carjam indicates if carjam website itself is running
    • mvr indicates if the government's Motor Vehicle Register
    • ppsr indicates if the government'sΒ Personal Property Securities Register is running
    • alive indicates if all the services are up

    Please note that you Β should still handle error conditions appropriately from vehicle queries even if "availability" indicates everything is good.

    Error Response

    <error>
        <code>-1</code>
        <message>Something went wrong</message>
        <class>wterror</class>
    </error>