Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 204
  
 
 
 
Cisco Evolved Programmable Network Manager 2.0.1 RESTCONF API Guide 
 
 
46 
operation fails. 
HTTP Status Code 
 
200 OK -  Success with response message-body 
 
401, 403 – Authentication and Authorization errors. 
 
400 Bad Request -  Invalid request message  
 
500 Internal Server Error -  operation-failed
 
Please refer to RESTCONF standard status codes and standard error response 
data for further detail. 
4.17.3 Update Customer 
 
Resource 
Description 
Customer 
Update the customer - Customer resource that is used in the provisioning order 
data.   
HTTP Method  
Resource Path  
PUT 
/data/v1/cisco-customer:customer/{name} 
Path Parameters 
Name 
 Type 
Description 
name 
String 
Name of the customer which will be updated. 
Request  Message 
Request Content Type 
application/xml, application/yang.operation +xml, application/json, 
application/yang.operation+json 
Request Data 
Request data of type customer that contains the details of the customer – see 
yang model for the data details. 
Response  Message 
Response Content Type 
application/xml, application/yang.operation +xml, application/json, 
application/yang.operation+json 
Response Data 
No response if the operation succeeds. Erros message is displayed if the 
operation fails. 
HTTP Status Code 
 
200 OK -  Success with response message-body 
 
401, 403 – Authentication and Authorization errors. 
 
400 Bad Request -  Invalid request message  
 
500 Internal Server Error -  operation-failed
 
Please refer to RESTCONF standard status codes and standard error response 
data for further detail. 
 
4.17.4 Delete Customer 
 
Resource 
Description 
Customer 
Deletes the Customer - Customer resource that is used in the provisioning order 
data.  
HTTP Method  
Resource Path  
DELETE 
/data/v1/cisco-customer:customer/{name} 
Path Parameters 
Name 
 Type 
Description 
name 
String 
Name of the Customer for the delete operation. 
Response  Message 
Response Content Type 
application/xml, application/yang.data+xml, application/json, 
application/yang.data+json 
Response Data 
Error response or no data