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 
 
 
190 
<ns12:customer xmlns:ns12="urn:cisco:params:xml:ns:yang:sb:customer:v1"  > 
            <ns12:fdn>MD=CISCO_EPNM!CUSTOMER= MyCustomer</ns12:fdn> 
            <ns12:name>MyCustomer</ns12:name> 
            <ns12:description>updated customer description</ns12:description> 
        </ns12:customer> 
 
7.38.4.2 
Response 
HTTP/1.1 200 OK 
Server: <epnm-host> 
Content-Type: application/yang.data+xml 
 
7.38.5 Delete Customer 
7.38.5.1 
Request 
DELETE /restconf/data/v1/cisco-customer:customer/MyCustomer HTTP/1.1 
Host:  <epnm-host> 
Accept: application/yang.data+xml 
Authorization: Basic … 
7.38.5.2 
Response 
HTTP/1.1 200 OK 
Server: <epnm-host> 
Content-Type: application/yang.data+xml