getVendors
Returns a list of all vendors in the database for which there are MIBs
Parameters
key |
The API key of the API consumer. |
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 |
vendors |
A list of vendor, each vendor including the id (enterprise number) and name as found in the IANA Enterprise Numbers file |
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/getVendors?key=F987835F05F4CA12F610DBA1D7C19
XML Output:
JSON Output: