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

UCCX Team: API Creation with secondary supervisor

dbonagir
Cisco Employee
Cisco Employee

Hi,

I want to create a team with a secondary supervisor using the REST API :

{"teamname":"testfab5","primarySupervisor":{"@name":"fabienuccx","refURL":"https://10.20.2.188:8443/adminapi/resource/fabienuccx"},"resources":{"resource":[{"@name":"fabienuccx2","refURL":"https://10.20.2.188:8443/adminapi/resource/fabienuccx2"},{"@name":"fabienuccx","refURL":"https://10.20.2.188:8443/adminapi/resource/fabienuccx"}]},"secondarySupervisors":{"secondarySupervisor":[{"@name":"fabienuccx2","refURL":"https://10.20.2.188:8443/adminapi/resource/fabienuccx2"}]}}

But the answer is HTTP 400 Bad Request.

What is wrong with my request ?

The simple request without resources and secondary supervisor works :

{"teamname":"testfab5","primarySupervisor":{"@name":"fabienuccx","refURL":"https://10.20.2.188:8443/adminapi/resource/fabienuccx"}}

Thanks,

Fabien

0 Replies 0