soapApp


Click here for a complete list of operations.

AddRelatie

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 /soap.asmx HTTP/1.1
Host: soap.e-boekhouden.nl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.e-boekhouden.nl/soap/AddRelatie"

<?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>
    <AddRelatie xmlns="http://www.e-boekhouden.nl/soap">
      <SessionID>string</SessionID>
      <SecurityCode2>string</SecurityCode2>
      <oRel>
        <ID>long</ID>
        <AddDatum>dateTime</AddDatum>
        <Code>string</Code>
        <Bedrijf>string</Bedrijf>
        <Contactpersoon>string</Contactpersoon>
        <Geslacht>string</Geslacht>
        <Adres>string</Adres>
        <Postcode>string</Postcode>
        <Plaats>string</Plaats>
        <Land>string</Land>
        <Adres2>string</Adres2>
        <Postcode2>string</Postcode2>
        <Plaats2>string</Plaats2>
        <Land2>string</Land2>
        <Telefoon>string</Telefoon>
        <GSM>string</GSM>
        <FAX>string</FAX>
        <Email>string</Email>
        <Site>string</Site>
        <Notitie>string</Notitie>
        <Bankrekening>string</Bankrekening>
        <Girorekening>string</Girorekening>
        <BTWNummer>string</BTWNummer>
        <KvkNummer>string</KvkNummer>
        <Aanhef>string</Aanhef>
        <IBAN>string</IBAN>
        <BIC>string</BIC>
        <BP>string</BP>
        <Def1>string</Def1>
        <Def2>string</Def2>
        <Def3>string</Def3>
        <Def4>string</Def4>
        <Def5>string</Def5>
        <Def6>string</Def6>
        <Def7>string</Def7>
        <Def8>string</Def8>
        <Def9>string</Def9>
        <Def10>string</Def10>
        <LA>string</LA>
        <Gb_ID>long</Gb_ID>
        <GeenEmail>long</GeenEmail>
        <NieuwsbriefgroepenCount>long</NieuwsbriefgroepenCount>
      </oRel>
    </AddRelatie>
  </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>
    <AddRelatieResponse xmlns="http://www.e-boekhouden.nl/soap">
      <AddRelatieResult>
        <ErrorMsg>
          <LastErrorCode>string</LastErrorCode>
          <LastErrorDescription>string</LastErrorDescription>
        </ErrorMsg>
        <Rel_ID>long</Rel_ID>
      </AddRelatieResult>
    </AddRelatieResponse>
  </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 /soap.asmx HTTP/1.1
Host: soap.e-boekhouden.nl
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>
    <AddRelatie xmlns="http://www.e-boekhouden.nl/soap">
      <SessionID>string</SessionID>
      <SecurityCode2>string</SecurityCode2>
      <oRel>
        <ID>long</ID>
        <AddDatum>dateTime</AddDatum>
        <Code>string</Code>
        <Bedrijf>string</Bedrijf>
        <Contactpersoon>string</Contactpersoon>
        <Geslacht>string</Geslacht>
        <Adres>string</Adres>
        <Postcode>string</Postcode>
        <Plaats>string</Plaats>
        <Land>string</Land>
        <Adres2>string</Adres2>
        <Postcode2>string</Postcode2>
        <Plaats2>string</Plaats2>
        <Land2>string</Land2>
        <Telefoon>string</Telefoon>
        <GSM>string</GSM>
        <FAX>string</FAX>
        <Email>string</Email>
        <Site>string</Site>
        <Notitie>string</Notitie>
        <Bankrekening>string</Bankrekening>
        <Girorekening>string</Girorekening>
        <BTWNummer>string</BTWNummer>
        <KvkNummer>string</KvkNummer>
        <Aanhef>string</Aanhef>
        <IBAN>string</IBAN>
        <BIC>string</BIC>
        <BP>string</BP>
        <Def1>string</Def1>
        <Def2>string</Def2>
        <Def3>string</Def3>
        <Def4>string</Def4>
        <Def5>string</Def5>
        <Def6>string</Def6>
        <Def7>string</Def7>
        <Def8>string</Def8>
        <Def9>string</Def9>
        <Def10>string</Def10>
        <LA>string</LA>
        <Gb_ID>long</Gb_ID>
        <GeenEmail>long</GeenEmail>
        <NieuwsbriefgroepenCount>long</NieuwsbriefgroepenCount>
      </oRel>
    </AddRelatie>
  </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>
    <AddRelatieResponse xmlns="http://www.e-boekhouden.nl/soap">
      <AddRelatieResult>
        <ErrorMsg>
          <LastErrorCode>string</LastErrorCode>
          <LastErrorDescription>string</LastErrorDescription>
        </ErrorMsg>
        <Rel_ID>long</Rel_ID>
      </AddRelatieResult>
    </AddRelatieResponse>
  </soap12:Body>
</soap12:Envelope>