SxApiService
Click here for a complete list of operations.
CAMGetContactList
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 /SxApiService.asmx HTTP/1.1
Host: sxapi-mer.cameronashleybp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Nxtrend.WS/CAMGetContactList"
<?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>
<CAMGetContactList xmlns="Nxtrend.WS">
<connectString>string</connectString>
<userCode>string</userCode>
<requestObject>
<contactID>double</contactID>
<subjectRoleType>string</subjectRoleType>
<subjectPrimaryKey>string</subjectPrimaryKey>
<subjectSecondaryKey>string</subjectSecondaryKey>
<firstName>string</firstName>
<lastName>string</lastName>
<contactType>string</contactType>
<priority>int</priority>
<sort>string</sort>
<recordLimit>int</recordLimit>
<extractNotesFlag>boolean</extractNotesFlag>
<notesDelimiter>string</notesDelimiter>
</requestObject>
</CAMGetContactList>
</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>
<CAMGetContactListResponse xmlns="Nxtrend.WS">
<CAMGetContactListResult>
<errorMessage>string</errorMessage>
<arrayContact>
<CAMGetContactList.output.Contact>
<contactID>double</contactID>
<companyNumber>int</companyNumber>
<firstName>string</firstName>
<middleName>string</middleName>
<lastName>string</lastName>
<comment>string</comment>
<contactType>string</contactType>
<contactTypeDescription>string</contactTypeDescription>
<contactTitle>string</contactTitle>
<groupCode>string</groupCode>
<priority>int</priority>
<salutation>string</salutation>
<dateUser1 xsi:nil="true" />
<dateUser2 xsi:nil="true" />
<dateUser3 xsi:nil="true" />
<dateUser4 xsi:nil="true" />
<dateUser5 xsi:nil="true" />
<decUser1>double</decUser1>
<decUser2>double</decUser2>
<decUser3>double</decUser3>
<decUser4>double</decUser4>
<decUser5>double</decUser5>
<intUser1>int</intUser1>
<intUser2>int</intUser2>
<intUser3>int</intUser3>
<intUser4>int</intUser4>
<intUser5>int</intUser5>
<charUser1>string</charUser1>
<charUser2>string</charUser2>
<charUser3>string</charUser3>
<charUser4>string</charUser4>
<charUser5>string</charUser5>
<charUser6>string</charUser6>
<charUser7>string</charUser7>
<charUser8>string</charUser8>
<charUser9>string</charUser9>
<charUser10>string</charUser10>
<logUser1>boolean</logUser1>
<logUser2>boolean</logUser2>
<logUser3>boolean</logUser3>
<logUser4>boolean</logUser4>
<logUser5>boolean</logUser5>
<firstSubjectRoleType>string</firstSubjectRoleType>
<firstSubjectPrimaryKey>string</firstSubjectPrimaryKey>
<firstSubjectSecondaryKey>string</firstSubjectSecondaryKey>
<firstSubjectName>string</firstSubjectName>
<secondSubjectRoleType>string</secondSubjectRoleType>
<secondSubjectPrimaryKey>string</secondSubjectPrimaryKey>
<secondSubjectSecondaryKey>string</secondSubjectSecondaryKey>
<secondSubjectName>string</secondSubjectName>
<firstPhoneNumber>string</firstPhoneNumber>
<firstPhoneNumberDescription>string</firstPhoneNumberDescription>
<secondPhoneNumber>string</secondPhoneNumber>
<secondPhoneNumberDescription>string</secondPhoneNumberDescription>
<thirdPhoneNumber>string</thirdPhoneNumber>
<thirdPhoneNumberDescription>string</thirdPhoneNumberDescription>
<faxNumber>string</faxNumber>
<firstEmailAddress>string</firstEmailAddress>
<firstEmailAddressDescription>string</firstEmailAddressDescription>
<secondEmailAddress>string</secondEmailAddress>
<secondEmailAddressDescription>string</secondEmailAddressDescription>
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<postalCode>string</postalCode>
<notesData>string</notesData>
<sortField>string</sortField>
</CAMGetContactList.output.Contact>
<CAMGetContactList.output.Contact>
<contactID>double</contactID>
<companyNumber>int</companyNumber>
<firstName>string</firstName>
<middleName>string</middleName>
<lastName>string</lastName>
<comment>string</comment>
<contactType>string</contactType>
<contactTypeDescription>string</contactTypeDescription>
<contactTitle>string</contactTitle>
<groupCode>string</groupCode>
<priority>int</priority>
<salutation>string</salutation>
<dateUser1 xsi:nil="true" />
<dateUser2 xsi:nil="true" />
<dateUser3 xsi:nil="true" />
<dateUser4 xsi:nil="true" />
<dateUser5 xsi:nil="true" />
<decUser1>double</decUser1>
<decUser2>double</decUser2>
<decUser3>double</decUser3>
<decUser4>double</decUser4>
<decUser5>double</decUser5>
<intUser1>int</intUser1>
<intUser2>int</intUser2>
<intUser3>int</intUser3>
<intUser4>int</intUser4>
<intUser5>int</intUser5>
<charUser1>string</charUser1>
<charUser2>string</charUser2>
<charUser3>string</charUser3>
<charUser4>string</charUser4>
<charUser5>string</charUser5>
<charUser6>string</charUser6>
<charUser7>string</charUser7>
<charUser8>string</charUser8>
<charUser9>string</charUser9>
<charUser10>string</charUser10>
<logUser1>boolean</logUser1>
<logUser2>boolean</logUser2>
<logUser3>boolean</logUser3>
<logUser4>boolean</logUser4>
<logUser5>boolean</logUser5>
<firstSubjectRoleType>string</firstSubjectRoleType>
<firstSubjectPrimaryKey>string</firstSubjectPrimaryKey>
<firstSubjectSecondaryKey>string</firstSubjectSecondaryKey>
<firstSubjectName>string</firstSubjectName>
<secondSubjectRoleType>string</secondSubjectRoleType>
<secondSubjectPrimaryKey>string</secondSubjectPrimaryKey>
<secondSubjectSecondaryKey>string</secondSubjectSecondaryKey>
<secondSubjectName>string</secondSubjectName>
<firstPhoneNumber>string</firstPhoneNumber>
<firstPhoneNumberDescription>string</firstPhoneNumberDescription>
<secondPhoneNumber>string</secondPhoneNumber>
<secondPhoneNumberDescription>string</secondPhoneNumberDescription>
<thirdPhoneNumber>string</thirdPhoneNumber>
<thirdPhoneNumberDescription>string</thirdPhoneNumberDescription>
<faxNumber>string</faxNumber>
<firstEmailAddress>string</firstEmailAddress>
<firstEmailAddressDescription>string</firstEmailAddressDescription>
<secondEmailAddress>string</secondEmailAddress>
<secondEmailAddressDescription>string</secondEmailAddressDescription>
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<postalCode>string</postalCode>
<notesData>string</notesData>
<sortField>string</sortField>
</CAMGetContactList.output.Contact>
</arrayContact>
<moreRecordsAvailable>boolean</moreRecordsAvailable>
</CAMGetContactListResult>
</CAMGetContactListResponse>
</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 /SxApiService.asmx HTTP/1.1
Host: sxapi-mer.cameronashleybp.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:Body>
<CAMGetContactList xmlns="Nxtrend.WS">
<connectString>string</connectString>
<userCode>string</userCode>
<requestObject>
<contactID>double</contactID>
<subjectRoleType>string</subjectRoleType>
<subjectPrimaryKey>string</subjectPrimaryKey>
<subjectSecondaryKey>string</subjectSecondaryKey>
<firstName>string</firstName>
<lastName>string</lastName>
<contactType>string</contactType>
<priority>int</priority>
<sort>string</sort>
<recordLimit>int</recordLimit>
<extractNotesFlag>boolean</extractNotesFlag>
<notesDelimiter>string</notesDelimiter>
</requestObject>
</CAMGetContactList>
</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>
<CAMGetContactListResponse xmlns="Nxtrend.WS">
<CAMGetContactListResult>
<errorMessage>string</errorMessage>
<arrayContact>
<CAMGetContactList.output.Contact>
<contactID>double</contactID>
<companyNumber>int</companyNumber>
<firstName>string</firstName>
<middleName>string</middleName>
<lastName>string</lastName>
<comment>string</comment>
<contactType>string</contactType>
<contactTypeDescription>string</contactTypeDescription>
<contactTitle>string</contactTitle>
<groupCode>string</groupCode>
<priority>int</priority>
<salutation>string</salutation>
<dateUser1 xsi:nil="true" />
<dateUser2 xsi:nil="true" />
<dateUser3 xsi:nil="true" />
<dateUser4 xsi:nil="true" />
<dateUser5 xsi:nil="true" />
<decUser1>double</decUser1>
<decUser2>double</decUser2>
<decUser3>double</decUser3>
<decUser4>double</decUser4>
<decUser5>double</decUser5>
<intUser1>int</intUser1>
<intUser2>int</intUser2>
<intUser3>int</intUser3>
<intUser4>int</intUser4>
<intUser5>int</intUser5>
<charUser1>string</charUser1>
<charUser2>string</charUser2>
<charUser3>string</charUser3>
<charUser4>string</charUser4>
<charUser5>string</charUser5>
<charUser6>string</charUser6>
<charUser7>string</charUser7>
<charUser8>string</charUser8>
<charUser9>string</charUser9>
<charUser10>string</charUser10>
<logUser1>boolean</logUser1>
<logUser2>boolean</logUser2>
<logUser3>boolean</logUser3>
<logUser4>boolean</logUser4>
<logUser5>boolean</logUser5>
<firstSubjectRoleType>string</firstSubjectRoleType>
<firstSubjectPrimaryKey>string</firstSubjectPrimaryKey>
<firstSubjectSecondaryKey>string</firstSubjectSecondaryKey>
<firstSubjectName>string</firstSubjectName>
<secondSubjectRoleType>string</secondSubjectRoleType>
<secondSubjectPrimaryKey>string</secondSubjectPrimaryKey>
<secondSubjectSecondaryKey>string</secondSubjectSecondaryKey>
<secondSubjectName>string</secondSubjectName>
<firstPhoneNumber>string</firstPhoneNumber>
<firstPhoneNumberDescription>string</firstPhoneNumberDescription>
<secondPhoneNumber>string</secondPhoneNumber>
<secondPhoneNumberDescription>string</secondPhoneNumberDescription>
<thirdPhoneNumber>string</thirdPhoneNumber>
<thirdPhoneNumberDescription>string</thirdPhoneNumberDescription>
<faxNumber>string</faxNumber>
<firstEmailAddress>string</firstEmailAddress>
<firstEmailAddressDescription>string</firstEmailAddressDescription>
<secondEmailAddress>string</secondEmailAddress>
<secondEmailAddressDescription>string</secondEmailAddressDescription>
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<postalCode>string</postalCode>
<notesData>string</notesData>
<sortField>string</sortField>
</CAMGetContactList.output.Contact>
<CAMGetContactList.output.Contact>
<contactID>double</contactID>
<companyNumber>int</companyNumber>
<firstName>string</firstName>
<middleName>string</middleName>
<lastName>string</lastName>
<comment>string</comment>
<contactType>string</contactType>
<contactTypeDescription>string</contactTypeDescription>
<contactTitle>string</contactTitle>
<groupCode>string</groupCode>
<priority>int</priority>
<salutation>string</salutation>
<dateUser1 xsi:nil="true" />
<dateUser2 xsi:nil="true" />
<dateUser3 xsi:nil="true" />
<dateUser4 xsi:nil="true" />
<dateUser5 xsi:nil="true" />
<decUser1>double</decUser1>
<decUser2>double</decUser2>
<decUser3>double</decUser3>
<decUser4>double</decUser4>
<decUser5>double</decUser5>
<intUser1>int</intUser1>
<intUser2>int</intUser2>
<intUser3>int</intUser3>
<intUser4>int</intUser4>
<intUser5>int</intUser5>
<charUser1>string</charUser1>
<charUser2>string</charUser2>
<charUser3>string</charUser3>
<charUser4>string</charUser4>
<charUser5>string</charUser5>
<charUser6>string</charUser6>
<charUser7>string</charUser7>
<charUser8>string</charUser8>
<charUser9>string</charUser9>
<charUser10>string</charUser10>
<logUser1>boolean</logUser1>
<logUser2>boolean</logUser2>
<logUser3>boolean</logUser3>
<logUser4>boolean</logUser4>
<logUser5>boolean</logUser5>
<firstSubjectRoleType>string</firstSubjectRoleType>
<firstSubjectPrimaryKey>string</firstSubjectPrimaryKey>
<firstSubjectSecondaryKey>string</firstSubjectSecondaryKey>
<firstSubjectName>string</firstSubjectName>
<secondSubjectRoleType>string</secondSubjectRoleType>
<secondSubjectPrimaryKey>string</secondSubjectPrimaryKey>
<secondSubjectSecondaryKey>string</secondSubjectSecondaryKey>
<secondSubjectName>string</secondSubjectName>
<firstPhoneNumber>string</firstPhoneNumber>
<firstPhoneNumberDescription>string</firstPhoneNumberDescription>
<secondPhoneNumber>string</secondPhoneNumber>
<secondPhoneNumberDescription>string</secondPhoneNumberDescription>
<thirdPhoneNumber>string</thirdPhoneNumber>
<thirdPhoneNumberDescription>string</thirdPhoneNumberDescription>
<faxNumber>string</faxNumber>
<firstEmailAddress>string</firstEmailAddress>
<firstEmailAddressDescription>string</firstEmailAddressDescription>
<secondEmailAddress>string</secondEmailAddress>
<secondEmailAddressDescription>string</secondEmailAddressDescription>
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<postalCode>string</postalCode>
<notesData>string</notesData>
<sortField>string</sortField>
</CAMGetContactList.output.Contact>
</arrayContact>
<moreRecordsAvailable>boolean</moreRecordsAvailable>
</CAMGetContactListResult>
</CAMGetContactListResponse>
</soap12:Body>
</soap12:Envelope>