SOAP API - GetContactPoints

GetContactPoints( contactID ) : ContactPoint[] 

Since: EngageIP v25.2

Returns a contact's contact points, or throws an exception if the contact does not exist.

The returned value from this method call is an array of ContactPoint objects.  A contact point object consists of the following properties:

  • ID (Integer) - The unique ID of the contact point

  • ContactPointTypeID (Integer) - The ID of the type of contact point this object represents

  • Value (String) - The value stored for this contact point

  • ContactID (Integer) - The contact ID for which this contact point belongs

Parameters:

  • contactID (Integer) - The ID of the contact in which to retrieve the list of contact points.  An exception will be thrown if the ID does not exist.

Returns:

An array of Contact Points for the specified contact

Possible Exceptions:

  • INVALID CONTACT ID


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 /adminportal/webservice.asmx HTTP/1.1 Host: demo.logisense.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> <AuthHeader xmlns="Logisense_EngageIP"> <Username>string</Username> <Password>string</Password> </AuthHeader> </soap12:Header> <soap12:Body> <GetContactPoints xmlns="Logisense_EngageIP"> <contactID>int</contactID> </GetContactPoints> </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> <GetContactPointsResponse xmlns="Logisense_EngageIP"> <GetContactPointsResult> <ContactPoint> <Validate /> <ID>int</ID> <ContactPointTypeID>int</ContactPointTypeID> <Value>string</Value> <ContactID>int</ContactID> </ContactPoint> <ContactPoint> <Validate /> <ID>int</ID> <ContactPointTypeID>int</ContactPointTypeID> <Value>string</Value> <ContactID>int</ContactID> </ContactPoint> </GetContactPointsResult> </GetContactPointsResponse> </soap12:Body> </soap12:Envelope>




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 /adminportal/webservice.asmx HTTP/1.1 Host: demo.logisense.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "Logisense_EngageIP/GetContactPoints" <?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> <AuthHeader xmlns="Logisense_EngageIP"> <Username>string</Username> <Password>string</Password> </AuthHeader> </soap:Header> <soap:Body> <GetContactPoints xmlns="Logisense_EngageIP"> <contactID>int</contactID> </GetContactPoints> </soap:Body> </soap:Envelope>