Service


Click here for a complete list of operations.

GetRegistration

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 /service.asmx HTTP/1.1
Host: ws.winbooks.be
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://register.winbooks.be/GetRegistration"

<?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>
    <GetRegistration xmlns="http://register.winbooks.be/">
      <SecurityCode>string</SecurityCode>
      <machinecode>string</machinecode>
      <licencenumber>string</licencenumber>
      <codeadmin>string</codeadmin>
      <version>string</version>
      <revcode>string</revcode>
      <RtfText>string</RtfText>
    </GetRegistration>
  </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>
    <GetRegistrationResponse xmlns="http://register.winbooks.be/">
      <GetRegistrationResult>
        <SerialNumber>string</SerialNumber>
        <Machinecode>string</Machinecode>
        <RegistrationCode>string</RegistrationCode>
        <FiduciaryName>string</FiduciaryName>
        <FiduciaryCode>string</FiduciaryCode>
        <Module>string</Module>
        <Version>string</Version>
        <Status>boolean</Status>
        <ErrorCode>int</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <CodeAdministrator>string</CodeAdministrator>
        <Locked>boolean</Locked>
        <VersionType>string</VersionType>
        <IPUser>string</IPUser>
        <RevCode>string</RevCode>
        <RevInfoCode>string</RevInfoCode>
        <TsInstallCode>string</TsInstallCode>
        <RtfText>string</RtfText>
        <Hour>string</Hour>
        <SpecialCodeADS>string</SpecialCodeADS>
      </GetRegistrationResult>
    </GetRegistrationResponse>
  </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 /service.asmx HTTP/1.1
Host: ws.winbooks.be
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>
    <GetRegistration xmlns="http://register.winbooks.be/">
      <SecurityCode>string</SecurityCode>
      <machinecode>string</machinecode>
      <licencenumber>string</licencenumber>
      <codeadmin>string</codeadmin>
      <version>string</version>
      <revcode>string</revcode>
      <RtfText>string</RtfText>
    </GetRegistration>
  </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>
    <GetRegistrationResponse xmlns="http://register.winbooks.be/">
      <GetRegistrationResult>
        <SerialNumber>string</SerialNumber>
        <Machinecode>string</Machinecode>
        <RegistrationCode>string</RegistrationCode>
        <FiduciaryName>string</FiduciaryName>
        <FiduciaryCode>string</FiduciaryCode>
        <Module>string</Module>
        <Version>string</Version>
        <Status>boolean</Status>
        <ErrorCode>int</ErrorCode>
        <ErrorMessage>string</ErrorMessage>
        <CodeAdministrator>string</CodeAdministrator>
        <Locked>boolean</Locked>
        <VersionType>string</VersionType>
        <IPUser>string</IPUser>
        <RevCode>string</RevCode>
        <RevInfoCode>string</RevInfoCode>
        <TsInstallCode>string</TsInstallCode>
        <RtfText>string</RtfText>
        <Hour>string</Hour>
        <SpecialCodeADS>string</SpecialCodeADS>
      </GetRegistrationResult>
    </GetRegistrationResponse>
  </soap12:Body>
</soap12:Envelope>