Chat Request Form Submission
Chat requests are created when a customer fills in and submits a chat request form. This method creates the contact.
If the contact is successfully created, the feed is redirected to the customer chat UI. The URL to submit the GET is https://<ServerIP>:<Port>/ccp/rest/chat/<feedid>/redirect.
The code below is an example of how to submit a chat request through a form post. Users can customize this basic HTML to suit their needs.
<style type='text/css'>span { display: inline-block; width: 100px; }</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<form action='https://10.86.141.242/ccp/rest/chat/form/100525' method='post'>
<span>Title:</span><input id='title' type='text' name='title' /><br/>
<span>Author:</span><input id='author' type='text' name='author' /><br/>
<span>Description:</span><input id='description' type='text' name='description' /><br/>
<span>Tags:</span><input id='tags' type='text' name='tags' /><br/>
<span>Remarks:</span><input id='remarks' type='text' name='extensionField_remarks'
value='sample value' /><br>
<input id='submit' type='submit' value='Submit'/>
<input type="hidden" name="extensionField_chatLogo" value="./img/ciscoLogoColor.png">
<input type="hidden" name="extensionField_chatWaiting"
value="Welcome, please wait while we connect you with a customer care representative.">
<input type="hidden" name="extensionField_chatAgentJoinTimeOut"
value="All customer care representatives are busy assisting other clients.
Please continue to wait or try again later.">
<input type="hidden" name="extensionField_chatError"
value="Sorry, the chat service is currently not available. Please try again later.">
</form>