getMibObjectSiblingCount
Returns the number of siblings for a MIB Object
Parameters
key |
The API key of the API consumer. |
oid |
The object identifier for which the count of siblings is needed |
Response
Each response contains the following attributes:
Response Attributes |
Name |
Description |
status |
A status code, useful for determining success of the call. See status codes table. |
versionApi |
An versionApi (Attribute), informing the caller which version of the API is being used |
versionBuild |
An versionBuild (Attribute), informing the caller which build of the API is being used |
reqId |
The reqId identifies the request (reserved for later use) |
rspId |
The rspId identifies the response (reserved for later use) |
name |
The name of the api call |
value |
The number of sibling objects |
Status codes
Code |
Description |
0 |
Operation was successfull |
1 |
General Error (Unknown) |
2 |
Parameter not provided or in incorrect format |
3 |
No account exists |
4 |
No account exists for session |
5 |
An API Key is required |
6 |
API Key does not match caller domain. |
7 |
API Key does not exist. |
8 |
API called too many times. |
Example
http://mibapi.com/bytesphere/api/mibs/v1/mibService/getMibObjectSiblingCount?key=F987835F05F4CA12F610DBA1D7C19&oid=1.3.6.1.2.1.2.2.1.10
XML Output:
JSON Output: