summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources/batchDataEvent.json
blob: 49eb273f5851cfd9dea5018e4ef167f528c7c187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  "event":{
    "batch-responses":[
      {
        "operationId":"1",
        "ids":[
          "123",
          "124"
        ],
        "status-code":1,
        "status-message":"Batch operation success on the above cmhandle ids ",
        "data":{
          "ietf-netconf-monitoring:netconf-state":{
            "schemas":{
              "schema":[
                {
                  "identifier":"ietf-tls-server",
                  "version":"2016-11-02",
                  "format":"ietf-netconf-monitoring:yang",
                  "namespace":"urn:ietf:params:xml:ns:yang:ietf-tls-server",
                  "location":[
                    "NETCONF"
                  ]
                }
              ]
            }
          }
        }
      },
      {
        "operationId":"101",
        "ids":[
          "456",
          "457"
        ],
        "status-code":101,
        "status-message":"cmHandle(s) do not exist",
        "data":{
          "error":{
            "message":"cmHandle(s) do not exist"
          }
        }
      }
    ]
  }
}