cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
243
Views
0
Helpful
0
Replies

UCCX - send prompt in Rest Api

ciadinardi
Level 1
Level 1

Hello, 

I am trying to send a prompt file thru a rest API (json).  The problem is that I am not able to find the good path for the prompt file in the folder and put it in a string.  

I know that my restApi is working good, because when I enter an external URL in the string the RestApi is working good. 

I tried the following path: 

- https://UCCX-Server/adminapi/files/prompts/en_US/Invalid.wav   
https://UCCX-Server/adminapi/files/prompts/download/en_US/Invalid.wav  ( if I try this link in my       browser, I am able to download this wav file)
- P[invalid.wav]
- P[en_US\invalid.wav]
- Replace the string with the prompt (Rest API wont accept it)

Everytime i get the error 400, cannot find content. 

Can someone have an Idea??

 

 

 

 

0 Replies 0