CTSubService


Click here for a complete list of operations.

ChangeKundnummer

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

<?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>
    <ChangeKundnummer xmlns="http://tempuri.org/">
      <usercnt>int</usercnt>
      <kund>
        <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>
      </kund>
      <newnrstring>string</newnrstring>
      <accessguid>string</accessguid>
    </ChangeKundnummer>
  </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>
    <ChangeKundnummerResponse xmlns="http://tempuri.org/">
      <ChangeKundnummerResult>
        <NoActionPerformed>boolean</NoActionPerformed>
        <NoActionReason>string</NoActionReason>
        <ReturnedInt>int</ReturnedInt>
        <ReturnedString>string</ReturnedString>
        <ActionString>string</ActionString>
      </ChangeKundnummerResult>
    </ChangeKundnummerResponse>
  </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>
    <ChangeKundnummer xmlns="http://tempuri.org/">
      <usercnt>int</usercnt>
      <kund>
        <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>
      </kund>
      <newnrstring>string</newnrstring>
      <accessguid>string</accessguid>
    </ChangeKundnummer>
  </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>
    <ChangeKundnummerResponse xmlns="http://tempuri.org/">
      <ChangeKundnummerResult>
        <NoActionPerformed>boolean</NoActionPerformed>
        <NoActionReason>string</NoActionReason>
        <ReturnedInt>int</ReturnedInt>
        <ReturnedString>string</ReturnedString>
        <ActionString>string</ActionString>
      </ChangeKundnummerResult>
    </ChangeKundnummerResponse>
  </soap12:Body>
</soap12:Envelope>