Cisco Cisco Prime Collaboration Assurance 11.5 Guia Do Programador

Página de 32
 
 
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public  
Page 10 
 
responses 
status: 
200 - OK 
representations 
application/json 
  Example: 
The output of this API is a JSON that will contain the overall 
result of the operation, values can be 
SUCCESS - if the operation on all the devices was successful. 
FAILURE - if the operation on all the devices failed. 
PARTIALLY SUCCESFUL - if the operation succeeded on some 
of the devices. 
  
The response will also contain result per customer which will 
contain the status as 
SUCCESS - if the customer was added successfully or not. 
FAILURE - In the event of a failure to add a customer the error 
code and message fields will also be populated. 
GET 
getCustomer () 
Returns the customer if exists. 
request 
query params 
name 
id 
default: 0 
responses 
status: 
200 - OK 
representations 
application/json    Example: 
POST 
getCustomers () 
This API will return all the customers that match the filtering criteria. 
request 
representations