Differences in REST Request - XML Format
Use the table below to check the differences in the REST API XML Request between SDM 9.0.0 release and SDM 9.0.1 and later releases.
Here is the list of REST APIs from SDM 9.0.0 and SDM 9.0.1 and later
releases as examples.
Table 11-2 Differences in REST Request - XML Format
Serial Number | REST APIs | URL Examples | SDM 9.0.0 | SDM 9.0.1 and Later Releases | Remarks |
---|---|---|---|---|---|
1 | Add a configuration element | /rest/v1.3/configuration/deviceConfigs/ID1/configElements/add | "<configElement> <attributes> <attribute> <childrenElements> <childrenElement> <attributes> <attribute>" | "<configElement> <attributes> <childrenElements> <attributes>" | "9.0.0 has <attribute> inside <attributes>. 9.0.1 and later releases have only <attributes>. Similarly for childrenElements tag as well." |
2 | Delete a Configuration Element | /rest/v1.3/configuration/deviceConfigs/ID1/configElements/delete | "<configElement> <attributes> <attribute> <childrenElements> <childrenElement> <attributes> <attribute>" | "<configElement> <attributes> <childrenElements> <attributes>" | "9.0.0 has <attribute> inside of <attributes>. 9.0.1 and later releases have only <attributes>. Similarly for childrenElements tag as well." |
3 | Get a Configuration Element Instance | /rest/v1.3/configuration/deviceConfigs/ID1/configElements/retrieve | "<configElement> <attributes> <attribute> <childrenElements> <childrenElement> <attributes> <attribute>" | "<configElement> <attributes> <childrenElements> <attributes>" | "9.0.0 has <attribute> inside of <attributes>. 9.0.1 and later releases have only <attributes>. Similarly for childrenElements tag as well." |
4 | Update a Configuration Element | /rest/v1.3/configuration/deviceConfigs/ID3/configElements/update | "<configElement> <attributes> <attribute> <childrenElements> <childrenElement> <attributes> <attribute>" | "<configElement> <attributes> <childrenElements> <attributes>" | "9.0.0 has <attribute> inside of <attributes>. 9.0.1 and later releases have only <attributes>. Similarly for childrenElements tag as well." |
5 | Add an NF | /rest/v1.1/inventory/nfMgmt/nfs | " </nfType> <parameters> <parameter>" | " </nfType> <parameters>" | 9.0.0 has extra tag <parameters> while 9.0.1 and later releases do not. |
6 | Update NF Information | /rest/v1.1/inventory/nfMgmt/nfs/ID7/groups/ID7 | " <parameters> <parameter>" | <parameters> | 9.0.0 has <parameters> and <parameter>, 9.0.1 and later releases have <parameters> |