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 
 
 
44 
Name 
Type 
Description 
modify-service-request 
Container element 
Holds the data for modifying a existing 
service. 
service-ref 
String (FDN)  
FDN of the service to be modified. 
service-order-data 
service-order-data type 
Container holding the service order data – 
see the order data sections for details on 
each service type data. 
 
4.16.2.2.2 
Modify Service Response 
 
Name 
Type 
Description 
modify-service-response 
Container element 
Holds the data for modify service 
response. 
 
4.16.2.3 
Terminate Service 
 
Operation 
Description 
Terminate existing Service  This operation can be used to terminate existing service. 
HTTP Method  
Resource Path  
POST 
/operations/v1/cisco-service-activation:terminate-service 
Request  Message 
Request Content Type 
application/xml, application/yang.operation +xml, application/json, 
application/yang.operation+json 
Request Data 
Request data of type terminate-service-request that contains the details of the 
service type and service reference and other related data – 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 
Return a provisioning response of type terminate-service-response that 
contains the details of the execution that includes service reference details, 
device cli details, etc. – see yang model for the data details. 
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.16.2.3.1 
Terminate Service Request 
 
Name 
Type 
Description 
terminate-service-request 
Container element 
Holds the data for terminating the service. 
service-ref 
String (FDN)  
FDN of the service to be modified.