CTSubService


Click here for a complete list of operations.

GetCustomer

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
kundnr:
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/GetCustomer"

<?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>
    <GetCustomer xmlns="http://tempuri.org/">
      <kundnr>int</kundnr>
      <getalldata>boolean</getalldata>
      <accessguid>string</accessguid>
    </GetCustomer>
  </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>
    <GetCustomerResponse xmlns="http://tempuri.org/">
      <GetCustomerResult>
        <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>
      </GetCustomerResult>
    </GetCustomerResponse>
  </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>
    <GetCustomer xmlns="http://tempuri.org/">
      <kundnr>int</kundnr>
      <getalldata>boolean</getalldata>
      <accessguid>string</accessguid>
    </GetCustomer>
  </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>
    <GetCustomerResponse xmlns="http://tempuri.org/">
      <GetCustomerResult>
        <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>
      </GetCustomerResult>
    </GetCustomerResponse>
  </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/GetCustomer?kundnr=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"?>
<Customer xmlns="http://tempuri.org/">
  <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>

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/GetCustomer HTTP/1.1
Host: system.catertaker.se
Content-Type: application/x-www-form-urlencoded
Content-Length: length

kundnr=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"?>
<Customer xmlns="http://tempuri.org/">
  <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>