03-20-2018 02:39 AM
Dears,
I am trying to trigger POST API using the call studio Rest_Client element but It's not working. However, I am using the same setting in POSTMAN and Its working fine !!
UCCE , CVP , call studio versions : 11.5
Simple IVR application:
Welcome message > Menue > press 1 to trigger the POST API> Rest_Client > End
Here are the Rest_Client element settings:
Endpoint:https://<FQDN>//unifiedconfig/config/campaign/5004/import
HTTP Method: POST
Parameters:
Ignore Certificate Validation: true
Require HTTP auth: true
Username: username@FQDN
PW: password
Headers:
Body:
<import>
<overwriteData>true</overwriteData>
<fileContent>
<![CDATA[
AccountNumber,FirstName,LastName,Phone01
6782,Mohamed,Youssef,72072415
]]>
</fileContent>
<delimiter>,</delimiter>
</import>
Use Proxy: false
Connection Timeut:3000
Read Timeout: 5000
For the CVP logs: Attached is the activity logs. there are no error logs been generated!
04-30-2018 04:16 PM
Hi Mohamed
You will need to write the response body to the logs. On the general tab of your REST_Client element go to the add to log section. Add in any name such as log,.response , then {Data.Element.Rest_Client.response_body} in the value and create after.
This will let you know if you are actually getting a response or not and you can continue troubleshooting from there
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide