SOAP API - UpdateContactPointValue
UpdateContactPointValue( contactPointID, value ) : void
Since: EngageIP v25.2
Updates the value of a contact point, or throws an exception if the contact point does not exist.
Parameters:
contactPointID (Integer) - Reference to the unique ID referencing the contact point, see GetContactPoints
value (String) - The new value for the contact point. Some contact point types have required formats (for example an email address) that will throw an exception if the value does not match the required format
Possible Exceptions:
INVALID CONTACT POINT ID
INVALID VALUE
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: demo2.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>
<UpdateContactPointValue xmlns="Logisense_EngageIP">
<contactPointID>int</contactPointID>
<value>string</value>
</UpdateContactPointValue>
</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>
<UpdateContactPointValueResponse xmlns="Logisense_EngageIP" />
</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: demo2.logisense.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Logisense_EngageIP/UpdateContactPointValue"
<?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>
<UpdateContactPointValue xmlns="Logisense_EngageIP">
<contactPointID>int</contactPointID>
<value>string</value>
</UpdateContactPointValue>
</soap:Body>
</soap:Envelope>