GET (Create Callback Request)
As an alternative to POST, GET (create callback request) uses UTF-8 encoded URL parameters to provide the parameters required for the callback contact.
Note | The variables cv_1 to cv_10 are included as call variables when Customer Collaboration Platform initiates a callback request with Unified CCE. All variables starting with "user_" are included as ECC variables when Customer Collaboration Platform initiates a callback request with Unified CCE. |
URL: |
https://<ServerIP>:<Port>/ccp/rest/callback/feed/<callbackFeedId> The <callbackFeedId> specifies the callback feed to target for the callback request. |
HTTPS method: |
GET |
Parameters: |
See Parameters. |
The contact is returned in the location field in the header: |
https://<ServerIP>:<Port>/ccp/rest/callback/contact/ 6EEF968810000132000015F60A568DFB |
Response codes: |
201 Created 400 Bad Request See HTTPS Responses for more information about the response codes. |
When you use GET to create a callback, variables must be passed as query parameters. Variables are denoted by the "variable_" prefix. For example, use the following GET command to create a callback contact with
-
call variable 7 set to "test7"
-
ECC variable user_user.callback.test set to "ct7"
https://sample_server/ccp/rest/callback/feed/12345?
name=Customer
&title=Help
&mediaAddress=5551212
&variable_cv_7=test7
&variable_user_user.callback.test=ct7
Note | Sending an ECC variable that is not configured in Unified CCE when creating a callback request does not result in the request failing. (Unified CCE ignores the variable when processing the request.) |
Use the 'tags' parameter in the query string to include tags when you use GET to create a callback request..
https://sample_host/ccp/rest/callback/feed/12345
?name=Customer
&title=Help
&mediaAddress=5551212
&tags=tag1,tag2,tag3