Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide
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.
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.
data.
HTTP Method
Resource Path
PUT
/data/v1/cisco-customer:customer/{name}
Path Parameters
Name
Name
Type
Description
name
String
Name of the customer which will be updated.
Request Message
Request Content Type
Request Content Type
application/xml, application/yang.operation +xml, application/json,
application/yang.operation+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.
yang model for the data details.
Response Message
Response Content Type
Response Content Type
application/xml, application/yang.operation +xml, application/json,
application/yang.operation+json
application/yang.operation+json
Response Data
No response if the operation succeeds. Erros message is displayed if the
operation fails.
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.
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.
data.
HTTP Method
Resource Path
DELETE
/data/v1/cisco-customer:customer/{name}
Path Parameters
Name
Name
Type
Description
name
String
Name of the Customer for the delete operation.
Response Message
Response Content Type
Response Content Type
application/xml, application/yang.data+xml, application/json,
application/yang.data+json
application/yang.data+json
Response Data
Error response or no data