Service


Click here for a complete list of operations.

MigrateClients

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: accountingservice.uni24.no
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://unimicro.no/MigrateClients"

<?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>
    <MigrateClients xmlns="http://unimicro.no/">
      <License>string</License>
      <key>string</key>
      <version>string</version>
      <batchCount>int</batchCount>
    </MigrateClients>
  </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>
    <MigrateClientsResponse xmlns="http://unimicro.no/">
      <MigrateClientsResult>
        <Clients>
          <ClientInfo>
            <ID>int</ID>
            <Name>string</Name>
            <ClusterName>string</ClusterName>
            <Prefix>string</Prefix>
            <LoginName>string</LoginName>
            <UserName>string</UserName>
            <ApiKey>string</ApiKey>
            <Cs>string</Cs>
            <Success>boolean</Success>
            <Message>string</Message>
          </ClientInfo>
          <ClientInfo>
            <ID>int</ID>
            <Name>string</Name>
            <ClusterName>string</ClusterName>
            <Prefix>string</Prefix>
            <LoginName>string</LoginName>
            <UserName>string</UserName>
            <ApiKey>string</ApiKey>
            <Cs>string</Cs>
            <Success>boolean</Success>
            <Message>string</Message>
          </ClientInfo>
        </Clients>
        <Version>string</Version>
        <RemainingCount>int</RemainingCount>
        <Success>boolean</Success>
      </MigrateClientsResult>
    </MigrateClientsResponse>
  </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: accountingservice.uni24.no
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>
    <MigrateClients xmlns="http://unimicro.no/">
      <License>string</License>
      <key>string</key>
      <version>string</version>
      <batchCount>int</batchCount>
    </MigrateClients>
  </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>
    <MigrateClientsResponse xmlns="http://unimicro.no/">
      <MigrateClientsResult>
        <Clients>
          <ClientInfo>
            <ID>int</ID>
            <Name>string</Name>
            <ClusterName>string</ClusterName>
            <Prefix>string</Prefix>
            <LoginName>string</LoginName>
            <UserName>string</UserName>
            <ApiKey>string</ApiKey>
            <Cs>string</Cs>
            <Success>boolean</Success>
            <Message>string</Message>
          </ClientInfo>
          <ClientInfo>
            <ID>int</ID>
            <Name>string</Name>
            <ClusterName>string</ClusterName>
            <Prefix>string</Prefix>
            <LoginName>string</LoginName>
            <UserName>string</UserName>
            <ApiKey>string</ApiKey>
            <Cs>string</Cs>
            <Success>boolean</Success>
            <Message>string</Message>
          </ClientInfo>
        </Clients>
        <Version>string</Version>
        <RemainingCount>int</RemainingCount>
        <Success>boolean</Success>
      </MigrateClientsResult>
    </MigrateClientsResponse>
  </soap12:Body>
</soap12:Envelope>