ContactService


Click here for a complete list of operations.

GenericCustomerDataAdd

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 /api/contactservice.asmx HTTP/1.1
Host: losalesdemo.mc.hostedcc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://datasquirt.com/webservices/GenericCustomerDataAdd"

<?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:Header>
    <ContactCredentials xmlns="http://datasquirt.com/webservices/">
      <UserID>string</UserID>
      <Password>string</Password>
    </ContactCredentials>
  </soap:Header>
  <soap:Body>
    <GenericCustomerDataAdd xmlns="http://datasquirt.com/webservices/">
      <genericCustomerData>
        <GenericCustomerDataID>int</GenericCustomerDataID>
        <CustomerID>int</CustomerID>
        <ShortField01>string</ShortField01>
        <ShortField02>string</ShortField02>
        <ShortField03>string</ShortField03>
        <ShortField04>string</ShortField04>
        <ShortField05>string</ShortField05>
        <ShortField06>string</ShortField06>
        <ShortField07>string</ShortField07>
        <ShortField08>string</ShortField08>
        <ShortField09>string</ShortField09>
        <ShortField10>string</ShortField10>
        <ShortField11>string</ShortField11>
        <ShortField12>string</ShortField12>
        <ShortField13>string</ShortField13>
        <ShortField14>string</ShortField14>
        <ShortField15>string</ShortField15>
        <ShortField16>string</ShortField16>
        <ShortField17>string</ShortField17>
        <ShortField18>string</ShortField18>
        <ShortField19>string</ShortField19>
        <ShortField20>string</ShortField20>
        <ShortField21>string</ShortField21>
        <ShortField22>string</ShortField22>
        <ShortField23>string</ShortField23>
        <ShortField24>string</ShortField24>
        <ShortField25>string</ShortField25>
        <ShortField26>string</ShortField26>
        <ShortField27>string</ShortField27>
        <ShortField28>string</ShortField28>
        <ShortField29>string</ShortField29>
        <ShortField30>string</ShortField30>
        <LongField01>string</LongField01>
        <LongField02>string</LongField02>
      </genericCustomerData>
    </GenericCustomerDataAdd>
  </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>
    <GenericCustomerDataAddResponse xmlns="http://datasquirt.com/webservices/">
      <GenericCustomerDataAddResult>int</GenericCustomerDataAddResult>
    </GenericCustomerDataAddResponse>
  </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 /api/contactservice.asmx HTTP/1.1
Host: losalesdemo.mc.hostedcc.com
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:Header>
    <ContactCredentials xmlns="http://datasquirt.com/webservices/">
      <UserID>string</UserID>
      <Password>string</Password>
    </ContactCredentials>
  </soap12:Header>
  <soap12:Body>
    <GenericCustomerDataAdd xmlns="http://datasquirt.com/webservices/">
      <genericCustomerData>
        <GenericCustomerDataID>int</GenericCustomerDataID>
        <CustomerID>int</CustomerID>
        <ShortField01>string</ShortField01>
        <ShortField02>string</ShortField02>
        <ShortField03>string</ShortField03>
        <ShortField04>string</ShortField04>
        <ShortField05>string</ShortField05>
        <ShortField06>string</ShortField06>
        <ShortField07>string</ShortField07>
        <ShortField08>string</ShortField08>
        <ShortField09>string</ShortField09>
        <ShortField10>string</ShortField10>
        <ShortField11>string</ShortField11>
        <ShortField12>string</ShortField12>
        <ShortField13>string</ShortField13>
        <ShortField14>string</ShortField14>
        <ShortField15>string</ShortField15>
        <ShortField16>string</ShortField16>
        <ShortField17>string</ShortField17>
        <ShortField18>string</ShortField18>
        <ShortField19>string</ShortField19>
        <ShortField20>string</ShortField20>
        <ShortField21>string</ShortField21>
        <ShortField22>string</ShortField22>
        <ShortField23>string</ShortField23>
        <ShortField24>string</ShortField24>
        <ShortField25>string</ShortField25>
        <ShortField26>string</ShortField26>
        <ShortField27>string</ShortField27>
        <ShortField28>string</ShortField28>
        <ShortField29>string</ShortField29>
        <ShortField30>string</ShortField30>
        <LongField01>string</LongField01>
        <LongField02>string</LongField02>
      </genericCustomerData>
    </GenericCustomerDataAdd>
  </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>
    <GenericCustomerDataAddResponse xmlns="http://datasquirt.com/webservices/">
      <GenericCustomerDataAddResult>int</GenericCustomerDataAddResult>
    </GenericCustomerDataAddResponse>
  </soap12:Body>
</soap12:Envelope>