CarReg


Click here for a complete list of operations.

UKMOT

Get MOT (Vehicle test) data for a car in England, Scotland or Wales

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
RegistrationNumber:
Model:
username:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /api/reg.asmx HTTP/1.1
Host: www.provjeraregistracije.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://regcheck.org.uk/UKMOT"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UKMOT xmlns="http://regcheck.org.uk">
      <RegistrationNumber>string</RegistrationNumber>
      <Model>string</Model>
      <username>string</username>
    </UKMOT>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <UKMOTResponse xmlns="http://regcheck.org.uk">
      <UKMOTResult>
        <Tests>
          <UKTest>
            <TestDate>string</TestDate>
            <ExpiryDate>string</ExpiryDate>
            <Result>string</Result>
            <Odometer>string</Odometer>
            <TestNumber>string</TestNumber>
            <FailureReasons xsi:nil="true" />
            <Advisories xsi:nil="true" />
          </UKTest>
          <UKTest>
            <TestDate>string</TestDate>
            <ExpiryDate>string</ExpiryDate>
            <Result>string</Result>
            <Odometer>string</Odometer>
            <TestNumber>string</TestNumber>
            <FailureReasons xsi:nil="true" />
            <Advisories xsi:nil="true" />
          </UKTest>
        </Tests>
        <taxDate>string</taxDate>
        <Json>string</Json>
        <ExtendedInformation>
          <ArrayOfString>
            <string>string</string>
            <string>string</string>
          </ArrayOfString>
          <ArrayOfString>
            <string>string</string>
            <string>string</string>
          </ArrayOfString>
        </ExtendedInformation>
        <ExtendedInformationJson>string</ExtendedInformationJson>
      </UKMOTResult>
    </UKMOTResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /api/reg.asmx HTTP/1.1
Host: www.provjeraregistracije.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UKMOT xmlns="http://regcheck.org.uk">
      <RegistrationNumber>string</RegistrationNumber>
      <Model>string</Model>
      <username>string</username>
    </UKMOT>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <UKMOTResponse xmlns="http://regcheck.org.uk">
      <UKMOTResult>
        <Tests>
          <UKTest>
            <TestDate>string</TestDate>
            <ExpiryDate>string</ExpiryDate>
            <Result>string</Result>
            <Odometer>string</Odometer>
            <TestNumber>string</TestNumber>
            <FailureReasons xsi:nil="true" />
            <Advisories xsi:nil="true" />
          </UKTest>
          <UKTest>
            <TestDate>string</TestDate>
            <ExpiryDate>string</ExpiryDate>
            <Result>string</Result>
            <Odometer>string</Odometer>
            <TestNumber>string</TestNumber>
            <FailureReasons xsi:nil="true" />
            <Advisories xsi:nil="true" />
          </UKTest>
        </Tests>
        <taxDate>string</taxDate>
        <Json>string</Json>
        <ExtendedInformation>
          <ArrayOfString>
            <string>string</string>
            <string>string</string>
          </ArrayOfString>
          <ArrayOfString>
            <string>string</string>
            <string>string</string>
          </ArrayOfString>
        </ExtendedInformation>
        <ExtendedInformationJson>string</ExtendedInformationJson>
      </UKMOTResult>
    </UKMOTResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /api/reg.asmx/UKMOT?RegistrationNumber=string&Model=string&username=string HTTP/1.1
Host: www.provjeraregistracije.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<UKMOTData xmlns="http://regcheck.org.uk">
  <Tests>
    <UKTest>
      <TestDate>string</TestDate>
      <ExpiryDate>string</ExpiryDate>
      <Result>string</Result>
      <Odometer>string</Odometer>
      <TestNumber>string</TestNumber>
      <FailureReasons>
        <string>string</string>
        <string>string</string>
      </FailureReasons>
      <Advisories>
        <string>string</string>
        <string>string</string>
      </Advisories>
    </UKTest>
    <UKTest>
      <TestDate>string</TestDate>
      <ExpiryDate>string</ExpiryDate>
      <Result>string</Result>
      <Odometer>string</Odometer>
      <TestNumber>string</TestNumber>
      <FailureReasons>
        <string>string</string>
        <string>string</string>
      </FailureReasons>
      <Advisories>
        <string>string</string>
        <string>string</string>
      </Advisories>
    </UKTest>
  </Tests>
  <taxDate>string</taxDate>
  <Json>string</Json>
  <ExtendedInformation>
    <ArrayOfString>
      <string>string</string>
      <string>string</string>
    </ArrayOfString>
    <ArrayOfString>
      <string>string</string>
      <string>string</string>
    </ArrayOfString>
  </ExtendedInformation>
  <ExtendedInformationJson>string</ExtendedInformationJson>
</UKMOTData>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /api/reg.asmx/UKMOT HTTP/1.1
Host: www.provjeraregistracije.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

RegistrationNumber=string&Model=string&username=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<UKMOTData xmlns="http://regcheck.org.uk">
  <Tests>
    <UKTest>
      <TestDate>string</TestDate>
      <ExpiryDate>string</ExpiryDate>
      <Result>string</Result>
      <Odometer>string</Odometer>
      <TestNumber>string</TestNumber>
      <FailureReasons>
        <string>string</string>
        <string>string</string>
      </FailureReasons>
      <Advisories>
        <string>string</string>
        <string>string</string>
      </Advisories>
    </UKTest>
    <UKTest>
      <TestDate>string</TestDate>
      <ExpiryDate>string</ExpiryDate>
      <Result>string</Result>
      <Odometer>string</Odometer>
      <TestNumber>string</TestNumber>
      <FailureReasons>
        <string>string</string>
        <string>string</string>
      </FailureReasons>
      <Advisories>
        <string>string</string>
        <string>string</string>
      </Advisories>
    </UKTest>
  </Tests>
  <taxDate>string</taxDate>
  <Json>string</Json>
  <ExtendedInformation>
    <ArrayOfString>
      <string>string</string>
      <string>string</string>
    </ArrayOfString>
    <ArrayOfString>
      <string>string</string>
      <string>string</string>
    </ArrayOfString>
  </ExtendedInformation>
  <ExtendedInformationJson>string</ExtendedInformationJson>
</UKMOTData>