RegistrationApi


Click here for a complete list of operations.

CreateAccountWithInfo

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/CreateAccountWithInfo"

<?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>
    <CreateAccountWithInfo xmlns="ns://service.bartecautoid.com/RegistrationApi/">
      <head>
        <ApiUsername>string</ApiUsername>
        <ApiPassword>string</ApiPassword>
      </head>
      <userName>string</userName>
      <password>string</password>
      <email>string</email>
      <serialNumber>string</serialNumber>
      <culture>string</culture>
      <countryId>int</countryId>
      <stateId>int</stateId>
      <receiveUpdateEmails>boolean</receiveUpdateEmails>
      <receiveMarketingEmails>boolean</receiveMarketingEmails>
      <address1>string</address1>
      <address2>string</address2>
      <company>string</company>
      <city>string</city>
      <postCode>string</postCode>
      <phone>string</phone>
    </CreateAccountWithInfo>
  </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>
    <CreateAccountWithInfoResponse xmlns="ns://service.bartecautoid.com/RegistrationApi/">
      <CreateAccountWithInfoResult>
        <UserOid>guid</UserOid>
        <UserName>string</UserName>
        <FirstName>string</FirstName>
        <LastName>string</LastName>
      </CreateAccountWithInfoResult>
    </CreateAccountWithInfoResponse>
  </soap:Body>
</soap:Envelope>