Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide

Page of 244
  
 
 
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide  
 
 
57 
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 more details. 
 
4.19.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 
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 more details. 
 
4.20 Resource Activation 
RESTCONF NBI supports the setting up of the resource level configuration using various operations like 
Termination Point Configuration, Template Based Configuration (TBC), and Model Based Configuration 
(MBC). 
The operations listed below are supported as part of Resource Activation.