Fines Checking
Check if an individual or organisation has any outstanding fines owed according to the Ministry of Justice including the amount owed.
Current version: 1.0
WSDL:
https://www.motorweb.co.nz/action/robotSchema/soap/fines-check-1.0.wsdl
Expand to see the SOAP WSDL.
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.motorweb.co.nz/soap/finescheck/1.0" targetNamespace="http://schemas.motorweb.co.nz/soap/finescheck/1.0">
<wsdl:types>
<xsd:schema xmlns="http://schemas.motorweb.co.nz/soap/finescheck/1.0" xmlns:common="http://schemas.motorweb.co.nz/soap/common/1.0" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.motorweb.co.nz/soap/finescheck/1.0">
<xsd:import namespace="http://schemas.motorweb.co.nz/soap/common/1.0"/>
<xsd:element name="finesCheckRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:choice>
<xsd:element name="organisation" type="organisationType"/>
<xsd:element name="individual" type="individualType"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="finesCheckResponse">
<xsd:complexType>
<xsd:choice>
<xsd:element name="no-match-or-outstanding-fines"/>
<xsd:element name="outstanding-fines">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="amount">
<xsd:simpleType>
<xsd:restriction base="xsd:decimal">
<xsd:fractionDigits value="2"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="at-date" type="xsd:date"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element ref="common:error"/>
</xsd:choice>
<xsd:attribute name="reference">
<xsd:annotation>
<xsd:documentation> The unique reference number of this transaction. </xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="organisationType">
<xsd:sequence>
<xsd:element name="name" type="moj200"/>
<xsd:element minOccurs="0" name="previous-name" type="moj200"/>
<xsd:element ref="addresses"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="individualType">
<xsd:sequence>
<xsd:element name="name" type="individualName"/>
<xsd:element minOccurs="0" name="previous-name" type="individualName"/>
<xsd:element ref="addresses"/>
<xsd:element minOccurs="0" name="gender">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="M">
<xsd:annotation>
<xsd:documentation>Male </xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="F">
<xsd:annotation>
<xsd:documentation>Female </xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="U">
<xsd:annotation>
<xsd:documentation>unknown </xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="date-of-birth" type="xsd:date"/>
<xsd:element minOccurs="0" name="occupation">
<xsd:simpleType>
<xsd:restriction base="xsd:normalizedString">
<xsd:minLength value="1"/>
<xsd:maxLength value="30"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element minOccurs="0" name="employer-name" type="moj200"/>
<xsd:element minOccurs="0" name="drivers-licence">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="licence-number" type="licenceNumberType"/>
<xsd:element name="licence-version" type="licenceVersionType"/>
<xsd:element name="verified" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>Licence is verified or not </xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="individualName">
<xsd:sequence>
<xsd:element name="first" type="moj200"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="middle" type="moj200"/>
<xsd:element name="last" type="moj200"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="addresses">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="3" name="address" type="addressType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="addressType">
<xsd:sequence>
<xsd:element name="line-1" type="moj200"/>
<xsd:element minOccurs="0" name="line-2" type="moj200"/>
<xsd:element minOccurs="0" name="line-3" type="moj200"/>
<xsd:choice>
<xsd:sequence>
<xsd:element name="suburb" type="moj200"/>
<xsd:element name="town" type="moj200" minOccurs="0"/>
</xsd:sequence>
<xsd:element name="town" type="moj200"/>
</xsd:choice>
<xsd:element minOccurs="0" name="state-province">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="40"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element minOccurs="0" name="country-code">
<xsd:annotation>
<xsd:documentation> The current officially assigned ISO 3166-1 alpha-3 codes, using the English short country names officially used by the ISO 3166 Maintenance Agency (ISO 3166/MA) </xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="3"/>
<xsd:maxLength value="3"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element minOccurs="0" name="postcode">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="10"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="moj200">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="200"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="licenceNumberType">
<xsd:annotation>
<xsd:documentation> Field 5a on a physical driver's licence. </xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:minLength value="8"/>
<xsd:maxLength value="8"/>
<xsd:pattern value="[A-Z]{2}[0-9]{6}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="licenceVersionType">
<xsd:annotation>
<xsd:documentation> Field 5b on a physical driver's licence. Version numbers were originally sequential but are now fairly random. </xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:minLength value="3"/>
<xsd:maxLength value="3"/>
<xsd:pattern value="[0-9]{3}"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
<xsd:schema xmlns="http://schemas.motorweb.co.nz/soap/common/1.0" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.motorweb.co.nz/soap/common/1.0">
<xsd:element name="error">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="errorMessageType">
<xsd:attribute name="code">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="20"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:simpleType name="errorMessageType">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2000"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="finesCheckResponse">
<wsdl:part element="tns:finesCheckResponse" name="finesCheckResponse"/>
</wsdl:message>
<wsdl:message name="finesCheckRequest">
<wsdl:part element="tns:finesCheckRequest" name="finesCheckRequest"/>
</wsdl:message>
<wsdl:portType name="FinesCheck">
<wsdl:operation name="finesCheck">
<wsdl:input message="tns:finesCheckRequest" name="finesCheckRequest"/>
<wsdl:output message="tns:finesCheckResponse" name="finesCheckResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="FinesCheckSoap11" type="tns:FinesCheck">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="finesCheck">
<soap:operation soapAction="http://schemas.motorweb.co.nz/soap/finescheck/1.0"/>
<wsdl:input name="finesCheckRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="finesCheckResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="FinesCheckService">
<wsdl:port binding="tns:FinesCheckSoap11" name="FinesCheckSoap11">
<soap:address location="https://robot.motorweb.co.nz/soap/finescheck/1.0/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Last updated