RegistrationApi


Click here for a complete list of operations.

GetStateList

Test

The test form is only available for requests from the local machine.

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 /RegApi-PROD/RegistrationApi.asmx HTTP/1.1
Host: service.bartecautoid.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "ns://service.bartecautoid.com/RegistrationApi/GetStateList"

<?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>
    <GetStateList xmlns="ns://service.bartecautoid.com/RegistrationApi/">
      <head>
        <ApiUsername>string</ApiUsername>
        <ApiPassword>string</ApiPassword>
      </head>
      <serialNumber>string</serialNumber>
      <culture>string</culture>
    </GetStateList>
  </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>
    <GetStateListResponse xmlns="ns://service.bartecautoid.com/RegistrationApi/">
      <GetStateListResult>
        <States>
          <State>
            <Id>int</Id>
            <Name>string</Name>
            <DisplayName>string</DisplayName>
          </State>
          <State>
            <Id>int</Id>
            <Name>string</Name>
            <DisplayName>string</DisplayName>
          </State>
        </States>
      </GetStateListResult>
    </GetStateListResponse>
  </soap:Body>
</soap:Envelope>