cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1682
Views
5
Helpful
3
Replies

XML Document name change using UCCX API

W S H FERNANDO
Level 6
Level 6

Hi Everyone, 

 

I'm trying to rename the XML file which is in the documents of UCCX using UCCX API, when I'm using the PUT method I'm getting 500 Internal System error as result, Which I mentioned below. 

 

Any Idea for this error? 

 

Thanks

Sasith 

 

API.JPG

2 Accepted Solutions

Accepted Solutions

veveduru
Cisco Employee
Cisco Employee

Hi Sasit,

 Thanks to my engineers (Joji & Anurodh), the root cause has been identified. 

 

When renaming the Document XML file, the path to the PUT request should include the file name.

So, your request should be: 

 

https://<IP Address >/adminapi/document/en/Pages.xml

 

The request payload remains the same.

 

Kindly try it out and let us know.

 

regards

View solution in original post

Hi Veera, 

Thanks a lot, this saved a big burden on our customer, it worked!

 

Regds

Sasith Fernando 

 

 

View solution in original post

3 Replies 3

veveduru
Cisco Employee
Cisco Employee

Hi Sasit,

 Thanks to my engineers (Joji & Anurodh), the root cause has been identified. 

 

When renaming the Document XML file, the path to the PUT request should include the file name.

So, your request should be: 

 

https://<IP Address >/adminapi/document/en/Pages.xml

 

The request payload remains the same.

 

Kindly try it out and let us know.

 

regards

Hi Veera, 

Thanks a lot, this saved a big burden on our customer, it worked!

 

Regds

Sasith Fernando 

 

 

Hi Veera, 

Thanks a lot, this saved a big burden on our customer, it worked!

 

Regds

Sasith Fernando