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

Reading a file in the documents folder using Rest API

arman
Level 1
Level 1

We need to read a document in the UCCX documents folder using the REST API and are told that we can only read the contents of a file from the temp folder and we cannot read the contents of a file from the documents folder directly. This is causing an issue for us as the file in the temp folder does not have the most up to date information but the file in the documents folder has the up to date information, we either need to read the contents of the file in the documents folder or we need some way to update the file in the temp folder with the latest information any time a change is made to the file in the documents folder, the first method is highly preferred.

XML refresh – temp folder doesn’t have the updated numbers unless the file is first viewed

  • We are trying to download the contents of a document within UCCX and we were notified by Cisco TAC to use the following URL below. However this doesn’t have the latest updated information. It seems to update the /appdmin/temp/ file, one would have to manually view the Document file first so that it updates the temp folder.
  • How do we have the temp folder update with the latest information? We are pulling the document down from the Temp folder as we don't have any way to pull it from the documents folder currently (only pulls file info such as size and date, not contents) and we need the latest data contained in the Documents folder.
  • https://192.x.x.x/appadmin/temp/ENC-AgentInfo-Current.xml

Any help would be greatly appreciated.

1 Reply 1

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Arman,

  The answer to your question was given on cisco support community forum

   https://supportforums.cisco.com/discussion/12147641/reading-file-documents-folder-using-rest-api

Thanks and Regards,

Geevarghese

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: