Operation to retrieve device credentials. Can take one of two parameters: 'id' or 'address'. , e.g. ?id=17010 or ?address=172.23.218.75, where the id is MEI ID or the address is the management address.
Since Product Version: 1.2
Resource URL
/webacs/api/v1/op/cm/credentialsRequest Parameters
Type | Attribute Name | Source | Description |
---|---|---|---|
String |
id optional |
query |
id is the MEI ID |
String |
address optional |
query |
The management address. |
Response Parameters
Type | Attribute Name | Description |
---|---|---|
credentialList |
The map of credentials. |
|
String |
id |
This corresponds to the IP_ADDRESS field in the underlying credential class. In XMP this holds the MEI ID. |
Sample Payloads
Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.
Sample XML Response Payload
https://172.25.123.114/webacs/api/v1/op/cm/credentials
<?xml version="1.0" ?> <mgmtResponse responseType="operation" requestUrl="../../../../pages/common/login.jsp.html" rootUrl="https://172.25.123.114/webacs/api/v1/op/"> <credentialDTO> <credentialList> <credentialList> <instanceId>2</instanceId> <instanceUuid>String value</instanceUuid> <instanceVersion>1</instanceVersion> <propertyName>String value</propertyName> <stringValue>String value</stringValue> </credentialList> </credentialList> <id>String value</id> </credentialDTO> </mgmtResponse>
Sample JSON Response Payload
https://172.25.123.114/webacs/api/v1/op/cm/credentials.json
{ "mgmtResponse" : { "@responseType" : "operation", "@requestUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/cm\/credentials", "@rootUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/", "credentialDTO" : { "credentialList" : { "credentialList" : { "instanceId" : 2, "instanceUuid" : "String value", "instanceVersion" : 1, "propertyName" : "String value", "stringValue" : "String value" } }, "id" : "String value" } } }