cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
1077
Views
5
Helpful
2
Replies

UCCX REST API - Read document content

ElthsirD
Level 1
Level 1

Hi,

So the team i'm currently working on is actually trying to get/read the content of a document within the "document" folder, we did find a solution thanks to this post : 

https://community.cisco.com/t5/contact-center/reading-a-file-in-the-documents-folder-using-rest-api/td-p/2482270

 

However we soon realized that this wasn't a viable solution for what we wanted to do. We have multiple language folder and for some reason we can't access all of them using the port 9080/9443 as it seems to be bound to the "Default IVR Language Configuration".

 

For example we can acess the "parameters.xml" file in the en_US folder but it won't work in "de" however if we change the Default IVR Language to "de" it will work but not anymore with "en_US"...

 

Has anyone got a solution using the api, configurations or something else to access or download the content of a file from the "document" section ?

 

1 Accepted Solution

Accepted Solutions

ElthsirD
Level 1
Level 1
For those who are still looking for a solution or are simply interested.
We found out that we just needed the header "Accept-Language" in our web request to solve our problem.

View solution in original post

2 Replies 2

Sean Lynch
Level 7
Level 7

If you are creating a multi-language application, you can change the language dynamically for the calling contact in the "Set Contact Info" step.  Once this done, the search order for the contact will be adjusted by the language specific directories in the repository.

An example using prompts is here: Changing call contact language  

If your application needs to remain static, I would recommend using a different trigger for the application, for each different language used, and have the specific desired language assigned to each the of trigger defaults...

Hope this helps.

-Sean

ElthsirD
Level 1
Level 1
For those who are still looking for a solution or are simply interested.
We found out that we just needed the header "Accept-Language" in our web request to solve our problem.