cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
26
Views
0
Helpful
0
Replies
Highlighted
Community Manager

UCCX Team: API Creation with secondary supervisor

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

CreatePlease to create content
Ask the Expert- Introduction to Network Design