CTSubService


Click here for a complete list of operations.

GetCustomers

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
mycnt:
getalldata:
accessguid:

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/SubService.asmx HTTP/1.1
Host: system.catertaker.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetCustomers"

<?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>
    <GetCustomers xmlns="http://tempuri.org/">
      <mycnt>int</mycnt>
      <getalldata>boolean</getalldata>
      <accessguid>string</accessguid>
    </GetCustomers>
  </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>
    <GetCustomersResponse xmlns="http://tempuri.org/">
      <GetCustomersResult>
        <Customer>
          <Nr>int</Nr>
          <Active>boolean</Active>
          <Foretag>string</Foretag>
          <Orgnummer>string</Orgnummer>
          <BetalningDagar>int</BetalningDagar>
          <Betalsatt>int</Betalsatt>
          <Leveranssatt>int</Leveranssatt>
          <Webplats>string</Webplats>
          <Anteckning>string</Anteckning>
          <AnteckningOrder>string</AnteckningOrder>
          <OnlineCode>string</OnlineCode>
          <Created>string</Created>
          <IsApplication>boolean</IsApplication>
          <IsInternal>boolean</IsInternal>
          <Besoksadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Besoksadress>
          <Leveransadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Leveransadress>
          <Faktureringsadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Faktureringsadress>
          <ErReferens>
            <Cnt>int</Cnt>
            <Namn>string</Namn>
            <Tel>string</Tel>
            <Mobil>string</Mobil>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
          </ErReferens>
          <ErRefAtt>boolean</ErRefAtt>
          <Kontaktperson>
            <Cnt>int</Cnt>
            <Namn>string</Namn>
            <Tel>string</Tel>
            <Mobil>string</Mobil>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
          </Kontaktperson>
          <IsSaved>boolean</IsSaved>
          <ApplicationDataEnd>string</ApplicationDataEnd>
          <ApplicationDeleted>boolean</ApplicationDeleted>
          <Markning>string</Markning>
        </Customer>
        <Customer>
          <Nr>int</Nr>
          <Active>boolean</Active>
          <Foretag>string</Foretag>
          <Orgnummer>string</Orgnummer>
          <BetalningDagar>int</BetalningDagar>
          <Betalsatt>int</Betalsatt>
          <Leveranssatt>int</Leveranssatt>
          <Webplats>string</Webplats>
          <Anteckning>string</Anteckning>
          <AnteckningOrder>string</AnteckningOrder>
          <OnlineCode>string</OnlineCode>
          <Created>string</Created>
          <IsApplication>boolean</IsApplication>
          <IsInternal>boolean</IsInternal>
          <Besoksadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Besoksadress>
          <Leveransadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Leveransadress>
          <Faktureringsadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Faktureringsadress>
          <ErReferens>
            <Cnt>int</Cnt>
            <Namn>string</Namn>
            <Tel>string</Tel>
            <Mobil>string</Mobil>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
          </ErReferens>
          <ErRefAtt>boolean</ErRefAtt>
          <Kontaktperson>
            <Cnt>int</Cnt>
            <Namn>string</Namn>
            <Tel>string</Tel>
            <Mobil>string</Mobil>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
          </Kontaktperson>
          <IsSaved>boolean</IsSaved>
          <ApplicationDataEnd>string</ApplicationDataEnd>
          <ApplicationDeleted>boolean</ApplicationDeleted>
          <Markning>string</Markning>
        </Customer>
      </GetCustomersResult>
    </GetCustomersResponse>
  </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/SubService.asmx HTTP/1.1
Host: system.catertaker.se
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>
    <GetCustomers xmlns="http://tempuri.org/">
      <mycnt>int</mycnt>
      <getalldata>boolean</getalldata>
      <accessguid>string</accessguid>
    </GetCustomers>
  </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>
    <GetCustomersResponse xmlns="http://tempuri.org/">
      <GetCustomersResult>
        <Customer>
          <Nr>int</Nr>
          <Active>boolean</Active>
          <Foretag>string</Foretag>
          <Orgnummer>string</Orgnummer>
          <BetalningDagar>int</BetalningDagar>
          <Betalsatt>int</Betalsatt>
          <Leveranssatt>int</Leveranssatt>
          <Webplats>string</Webplats>
          <Anteckning>string</Anteckning>
          <AnteckningOrder>string</AnteckningOrder>
          <OnlineCode>string</OnlineCode>
          <Created>string</Created>
          <IsApplication>boolean</IsApplication>
          <IsInternal>boolean</IsInternal>
          <Besoksadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Besoksadress>
          <Leveransadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Leveransadress>
          <Faktureringsadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Faktureringsadress>
          <ErReferens>
            <Cnt>int</Cnt>
            <Namn>string</Namn>
            <Tel>string</Tel>
            <Mobil>string</Mobil>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
          </ErReferens>
          <ErRefAtt>boolean</ErRefAtt>
          <Kontaktperson>
            <Cnt>int</Cnt>
            <Namn>string</Namn>
            <Tel>string</Tel>
            <Mobil>string</Mobil>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
          </Kontaktperson>
          <IsSaved>boolean</IsSaved>
          <ApplicationDataEnd>string</ApplicationDataEnd>
          <ApplicationDeleted>boolean</ApplicationDeleted>
          <Markning>string</Markning>
        </Customer>
        <Customer>
          <Nr>int</Nr>
          <Active>boolean</Active>
          <Foretag>string</Foretag>
          <Orgnummer>string</Orgnummer>
          <BetalningDagar>int</BetalningDagar>
          <Betalsatt>int</Betalsatt>
          <Leveranssatt>int</Leveranssatt>
          <Webplats>string</Webplats>
          <Anteckning>string</Anteckning>
          <AnteckningOrder>string</AnteckningOrder>
          <OnlineCode>string</OnlineCode>
          <Created>string</Created>
          <IsApplication>boolean</IsApplication>
          <IsInternal>boolean</IsInternal>
          <Besoksadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Besoksadress>
          <Leveransadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Leveransadress>
          <Faktureringsadress>
            <Cnt>int</Cnt>
            <Gata_box>string</Gata_box>
            <Postnr_ort>string</Postnr_ort>
            <Tel>string</Tel>
            <Fax>string</Fax>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
            <Xtra>string</Xtra>
            <Land>string</Land>
          </Faktureringsadress>
          <ErReferens>
            <Cnt>int</Cnt>
            <Namn>string</Namn>
            <Tel>string</Tel>
            <Mobil>string</Mobil>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
          </ErReferens>
          <ErRefAtt>boolean</ErRefAtt>
          <Kontaktperson>
            <Cnt>int</Cnt>
            <Namn>string</Namn>
            <Tel>string</Tel>
            <Mobil>string</Mobil>
            <Epost>string</Epost>
            <Ovrigt>string</Ovrigt>
          </Kontaktperson>
          <IsSaved>boolean</IsSaved>
          <ApplicationDataEnd>string</ApplicationDataEnd>
          <ApplicationDeleted>boolean</ApplicationDeleted>
          <Markning>string</Markning>
        </Customer>
      </GetCustomersResult>
    </GetCustomersResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Service/SubService.asmx/GetCustomers?mycnt=string&getalldata=string&accessguid=string HTTP/1.1
Host: system.catertaker.se
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfCustomer xmlns="http://tempuri.org/">
  <Customer>
    <Nr>int</Nr>
    <Active>boolean</Active>
    <Foretag>string</Foretag>
    <Orgnummer>string</Orgnummer>
    <BetalningDagar>int</BetalningDagar>
    <Betalsatt>int</Betalsatt>
    <Leveranssatt>int</Leveranssatt>
    <Webplats>string</Webplats>
    <Anteckning>string</Anteckning>
    <AnteckningOrder>string</AnteckningOrder>
    <OnlineCode>string</OnlineCode>
    <Created>string</Created>
    <IsApplication>boolean</IsApplication>
    <IsInternal>boolean</IsInternal>
    <Besoksadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Besoksadress>
    <Leveransadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Leveransadress>
    <Faktureringsadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Faktureringsadress>
    <ErReferens>
      <Cnt>int</Cnt>
      <Namn>string</Namn>
      <Tel>string</Tel>
      <Mobil>string</Mobil>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
    </ErReferens>
    <ErRefAtt>boolean</ErRefAtt>
    <Kontaktperson>
      <Cnt>int</Cnt>
      <Namn>string</Namn>
      <Tel>string</Tel>
      <Mobil>string</Mobil>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
    </Kontaktperson>
    <IsSaved>boolean</IsSaved>
    <ApplicationDataEnd>string</ApplicationDataEnd>
    <ApplicationDeleted>boolean</ApplicationDeleted>
    <Markning>string</Markning>
  </Customer>
  <Customer>
    <Nr>int</Nr>
    <Active>boolean</Active>
    <Foretag>string</Foretag>
    <Orgnummer>string</Orgnummer>
    <BetalningDagar>int</BetalningDagar>
    <Betalsatt>int</Betalsatt>
    <Leveranssatt>int</Leveranssatt>
    <Webplats>string</Webplats>
    <Anteckning>string</Anteckning>
    <AnteckningOrder>string</AnteckningOrder>
    <OnlineCode>string</OnlineCode>
    <Created>string</Created>
    <IsApplication>boolean</IsApplication>
    <IsInternal>boolean</IsInternal>
    <Besoksadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Besoksadress>
    <Leveransadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Leveransadress>
    <Faktureringsadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Faktureringsadress>
    <ErReferens>
      <Cnt>int</Cnt>
      <Namn>string</Namn>
      <Tel>string</Tel>
      <Mobil>string</Mobil>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
    </ErReferens>
    <ErRefAtt>boolean</ErRefAtt>
    <Kontaktperson>
      <Cnt>int</Cnt>
      <Namn>string</Namn>
      <Tel>string</Tel>
      <Mobil>string</Mobil>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
    </Kontaktperson>
    <IsSaved>boolean</IsSaved>
    <ApplicationDataEnd>string</ApplicationDataEnd>
    <ApplicationDeleted>boolean</ApplicationDeleted>
    <Markning>string</Markning>
  </Customer>
</ArrayOfCustomer>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Service/SubService.asmx/GetCustomers HTTP/1.1
Host: system.catertaker.se
Content-Type: application/x-www-form-urlencoded
Content-Length: length

mycnt=string&getalldata=string&accessguid=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfCustomer xmlns="http://tempuri.org/">
  <Customer>
    <Nr>int</Nr>
    <Active>boolean</Active>
    <Foretag>string</Foretag>
    <Orgnummer>string</Orgnummer>
    <BetalningDagar>int</BetalningDagar>
    <Betalsatt>int</Betalsatt>
    <Leveranssatt>int</Leveranssatt>
    <Webplats>string</Webplats>
    <Anteckning>string</Anteckning>
    <AnteckningOrder>string</AnteckningOrder>
    <OnlineCode>string</OnlineCode>
    <Created>string</Created>
    <IsApplication>boolean</IsApplication>
    <IsInternal>boolean</IsInternal>
    <Besoksadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Besoksadress>
    <Leveransadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Leveransadress>
    <Faktureringsadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Faktureringsadress>
    <ErReferens>
      <Cnt>int</Cnt>
      <Namn>string</Namn>
      <Tel>string</Tel>
      <Mobil>string</Mobil>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
    </ErReferens>
    <ErRefAtt>boolean</ErRefAtt>
    <Kontaktperson>
      <Cnt>int</Cnt>
      <Namn>string</Namn>
      <Tel>string</Tel>
      <Mobil>string</Mobil>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
    </Kontaktperson>
    <IsSaved>boolean</IsSaved>
    <ApplicationDataEnd>string</ApplicationDataEnd>
    <ApplicationDeleted>boolean</ApplicationDeleted>
    <Markning>string</Markning>
  </Customer>
  <Customer>
    <Nr>int</Nr>
    <Active>boolean</Active>
    <Foretag>string</Foretag>
    <Orgnummer>string</Orgnummer>
    <BetalningDagar>int</BetalningDagar>
    <Betalsatt>int</Betalsatt>
    <Leveranssatt>int</Leveranssatt>
    <Webplats>string</Webplats>
    <Anteckning>string</Anteckning>
    <AnteckningOrder>string</AnteckningOrder>
    <OnlineCode>string</OnlineCode>
    <Created>string</Created>
    <IsApplication>boolean</IsApplication>
    <IsInternal>boolean</IsInternal>
    <Besoksadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Besoksadress>
    <Leveransadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Leveransadress>
    <Faktureringsadress>
      <Cnt>int</Cnt>
      <Gata_box>string</Gata_box>
      <Postnr_ort>string</Postnr_ort>
      <Tel>string</Tel>
      <Fax>string</Fax>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
      <Xtra>string</Xtra>
      <Land>string</Land>
    </Faktureringsadress>
    <ErReferens>
      <Cnt>int</Cnt>
      <Namn>string</Namn>
      <Tel>string</Tel>
      <Mobil>string</Mobil>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
    </ErReferens>
    <ErRefAtt>boolean</ErRefAtt>
    <Kontaktperson>
      <Cnt>int</Cnt>
      <Namn>string</Namn>
      <Tel>string</Tel>
      <Mobil>string</Mobil>
      <Epost>string</Epost>
      <Ovrigt>string</Ovrigt>
    </Kontaktperson>
    <IsSaved>boolean</IsSaved>
    <ApplicationDataEnd>string</ApplicationDataEnd>
    <ApplicationDeleted>boolean</ApplicationDeleted>
    <Markning>string</Markning>
  </Customer>
</ArrayOfCustomer>