We have upgraded our support system to serve you better.
For Support, please go to our Momentive Support Hub located here.

Skip to main content

Customer Messaging Activity in xWeb

 
 

Customer Messaging Activity in xWeb

This topic illustrates how to insert Customer Messaging Activity records in xWeb.

Request

This request shows two records being added in one request. You may set the values of additional columns if needed.

The following fields are required:

  • cma_cst_key
  • cma_activity_date
  • Either cma_eml_key or cma_eml_address
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>***************</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:InsertFacadeObject>
<ns:szObjectName>CustomerMessagingActivity</ns:szObjectName>
<ns:oNode>
<ns:CustomerMessagingActivityObjects>
<ns:CustomerMessagingActivityObject>
<ns:cma_cst_key>2a50c454-eac0-4768-9a85-0c97968be7fd</ns:cma_cst_key>
<ns:cma_activity_id>1325645</ns:cma_activity_id>
<ns:cma_message_id>998787</ns:cma_message_id>
<ns:cma_recipient_id>897</ns:cma_recipient_id>
<ns:cma_activity_code>Sent</ns:cma_activity_code>
<ns:cma_activity_subcode>Sent Delivered</ns:cma_activity_subcode>
<ns:cma_eml_address>someone@somewhere.com</ns:cma_eml_address>
<ns:cma_activity_date>03/12/2012 13:44:55.892</ns:cma_activity_date>
</ns:CustomerMessagingActivityObject>
<ns:CustomerMessagingActivityObject>
<ns:cma_cst_key>2a50c454-eac0-4768-9a85-0c97968be7fd</ns:cma_cst_key>
<ns:cma_activity_id>1325646</ns:cma_activity_id>
<ns:cma_message_id>998787</ns:cma_message_id>
<ns:cma_recipient_id>897</ns:cma_recipient_id>
<ns:cma_activity_code>Opened</ns:cma_activity_code>
<ns:cma_activity_subcode>Opened</ns:cma_activity_subcode>
<ns:cma_eml_address>someone@somewhere.com</ns:cma_eml_address>
<ns:cma_activity_date>03/12/2012 14:44:55.892</ns:cma_activity_date>
</ns:CustomerMessagingActivityObject>
</ns:CustomerMessagingActivityObjects>
</ns:oNode>
</ns:InsertFacadeObject>
</soapenv:Body>
</soapenv:Envelope>

Response

The response returns the primary key of the newly added records as seen below:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>***************************</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<InsertFacadeObjectResponse xmlns="http://www.avectra.com/2005/">
<InsertFacadeObjectResult>
<CustomerMessagingActivityObjects xsi:schemaLocation="http://www.avectra.com/2005/ CustomerMessagingActivity.xsd" recordReturn="2">
<CustomerMessagingActivityObject>
<cma_key>80b79af2-0185-471d-aebf-318380e05324</cma_key>
</CustomerMessagingActivityObject>
<CustomerMessagingActivityObject>
<cma_key>d45423d1-c85d-4fd5-9296-82996ca3c3dc</cma_key>
</CustomerMessagingActivityObject>
</CustomerMessagingActivityObjects>
</InsertFacadeObjectResult>
</InsertFacadeObjectResponse>
</soap:Body>
</soap:Envelope>
Was this article helpful?
0 out of 0 found this helpful