Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 365
RESTConf/Yang Interface Details 
 
 
Cisco EPN Manager RESTConf NBI Guide  
120
 
 
 
 
application/yang.data+json 
 
The first URL retrieves all the OpticalCircuitOchccCFS entities in the database. The final URL 
retrieves a specific OpticalCircuitOchccCFS by its database instance id. Enter the instance 
id, but do not include the braces. 
 
URL 
Description 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitochcccfs:OpticalCircuitOchccCFS 
Retrieve all OpticalCircuitOchccCFS 
instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitochcccfs:OpticalCircuitOchccCFS/{id} 
Retrieve OpticalCircuitOchccCFS 
instance by database instance id 
 
Sample Response Data 
4.15.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalCircuitOchccCFS": [ 
    { 
      "adminState": "Down", 
      "createTime": "2015-08-25T05:58:35.241-07:00", 
      "deployed": false, 
      "description": "str1234", 
      "globalVersion": 1575602, 
      "isMatched": false, 
      "lastNonDeletedCFSId": 1575602, 
      "name": "ochCC-test", 
      "provisioningState": "DEFINED", 
      "serviceId": 1575602, 
      "status": "Created", 
      "subclassname": "OpticalCircuitOchccCFS", 
      "type": "OCHCC", 
      "version": 1, 
      "endpoints": [ 
        { 
          "instanceId": 1574606, 
          "adminState": "Unavailable", 
          "subclassname": "OptclCrctEndPntCFS", 
          "endpointRFS": {