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

Adding or Deleting multiple Triggers using REST API

dbonagir
Cisco Employee
Cisco Employee

I am using the UCCX REST API for adding triggers associated with an application to the UCCX Server. We are running version 10.6 Enhanced. I have no problems adding individual trigger, but when i include more than 1 trigger to be added it throws out below error. Any ideas ??

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<apiErrors>

<apiError>

<errorData></errorData>

<errorMessage>

Exception Description: An error occurred marshalling the object

Internal Exception: org.xml.sax.SAXParseException; cvc-complex-type.2.4.a: Invalid content was found starting with element 'triggerEnabled'. One of '{self, directoryNumber}' is expected.</errorMessage>

<errorType>InvalidInput</errorType>

</apiError>

</apiErrors>

I am attaching a screen shot of the Postman setup.

1 Reply 1

srirgopa
Level 1
Level 1

I am also not able to add multiple applications and getting an error. I am able to add triggers or applications individually. Is there any trick?