Subscribe a customer to a conversation
Overview
In this scenario, we show how to subscribe a customer to a conversation without sending an email.
XML
<?xml version="1.0" encoding="UTF-8"?><kanaRoot> <EventRequest Id="" CompanyName="default" CampaignName="camp1"> </Customer> </EventRequest> </kanaRoot> Result
If the customer with the email address, [email protected], is not subscribed to the conversation associated with the CampaignName, a new subscription is created. This means a new record is inserted into the CUST_SUBSCRIPTION table with status_code = 100 (activate). If there is already an existing row in the CUST_SUBSCRIPTION table for the subscription, then status_code is set to 100.
A new row is inserted into the EVENT_QUEUE table with = 3 (handled) for each <Customer> element.
No email is sent.