SNMP Adapter Status
The API is used to fetch the SNMP adapter status. The possible adapter status values are:
- SNMP_SERVER_RUNNING
- SNMP_SERVER_STOPPED
- SNMP_SERVER_ERROR
- EVENT_GATEWAY_ERROR;
Attribute | Data Type | Description | Default/Sample value |
---|---|---|---|
type | string | Category or type of the device whose details are being modified. The applicable value is ap | ap |
boxId | long | Syatem-generated ID of the AP. | 2 |
name | String | Name of the device. | Mojo_90:64:10 |
radios | application/json | A JSON object with attributes related to the access point radio |
/V5/configuration/global/snmp/adapterstatus
Fetch SNMP Adapter Status
Description | The API is used to fetch the SNMP adapter status. |
---|---|
Syntax |
GET <Base_URL>/configuration/global/snmp/adapterstatus?locationid=0&nodeid=0
Here,
|
Sample code |
GET https://training.mojonetworks.com/new/webservice/V5/configuration/global/snmp/
adapterstatus?CID=ATN13&locationid=0&nodeid=0
|
Request Body | This API call does not require any request body parameters. |
Response Body | If the API call is successful, the HTTP response status is 200. The response body contains the current SNMP adapter status. The response is in the application/json format. |
Put APIs
Description | This API is used to fetch the APs that match the specified filter criteria from the allowed locations for the logged-in user. If no filters are specified, all the APs from the allowed locations are fetched. However, this API is not supported in a server cluster environment.
Note: Do not use this API to fetch more than 100 devices. For fetching larger number of devices, consider using the Get Paged List of APs API. |
---|---|
User Privileges | Users with the following roles can call this API: superuser, administrator, and operator.
Request Body Parameters Response Body Error codes |
Syntax |
GET /devices/aps
|
Sample code |
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?macaddress=00:11:74:33:23:12&macaddress=00:11:74:45:12:21 GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?capability=49&locationid=10&locationid=12&sortcolumn=devicename&sortascending=false |
URL Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Query Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Response Body | If the API call is successful, the HTTP response status is 200. The response body contains the details of the APs that match the filter criteria. The response is in the application/json format. Click AP to view the complete detais of the JSON along with a sample output. |
Put APIs
Description | This API is used to fetch the APs that match the specified filter criteria from the allowed locations for the logged-in user. If no filters are specified, all the APs from the allowed locations are fetched. However, this API is not supported in a server cluster environment.
Note: Do not use this API to fetch more than 100 devices. For fetching larger number of devices, consider using the Get Paged List of APs API. |
---|---|
User Privileges | Users with the following roles can call this API: superuser, administrator, and operator.
Request Body Parameters Response Body Error codes |
Syntax |
GET /devices/aps
|
Sample code |
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?macaddress=00:11:74:33:23:12&macaddress=00:11:74:45:12:21 GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?capability=49&locationid=10&locationid=12&sortcolumn=devicename&sortascending=false |
URL Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Query Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Response Body | If the API call is successful, the HTTP response status is 200. The response body contains the details of the APs that match the filter criteria. The response is in the application/json format. Click AP to view the complete detais of the JSON along with a sample output. |
Post APIs
Description | This API is used to fetch the APs that match the specified filter criteria from the allowed locations for the logged-in user. If no filters are specified, all the APs from the allowed locations are fetched. However, this API is not supported in a server cluster environment.
Note: Do not use this API to fetch more than 100 devices. For fetching larger number of devices, consider using the Get Paged List of APs API. |
---|---|
User Privileges | Users with the following roles can call this API: superuser, administrator, and operator.
Request Body Parameters Response Body Error codes |
Syntax |
GET /devices/aps
|
Sample code |
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?macaddress=00:11:74:33:23:12&macaddress=00:11:74:45:12:21 GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?capability=49&locationid=10&locationid=12&sortcolumn=devicename&sortascending=false |
URL Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Query Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Response Body | If the API call is successful, the HTTP response status is 200. The response body contains the details of the APs that match the filter criteria. The response is in the application/json format. Click AP to view the complete detais of the JSON along with a sample output. |
Delete APIs
Description | This API is used to fetch the APs that match the specified filter criteria from the allowed locations for the logged-in user. If no filters are specified, all the APs from the allowed locations are fetched. However, this API is not supported in a server cluster environment.
Note: Do not use this API to fetch more than 100 devices. For fetching larger number of devices, consider using the Get Paged List of APs API. |
---|---|
User Privileges | Users with the following roles can call this API: superuser, administrator, and operator.
Request Body Parameters Response Body Error codes |
Syntax |
GET /devices/aps
|
Sample code |
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?macaddress=00:11:74:33:23:12&macaddress=00:11:74:45:12:21 GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?capability=49&locationid=10&locationid=12&sortcolumn=devicename&sortascending=false |
URL Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Query Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Response Body | If the API call is successful, the HTTP response status is 200. The response body contains the details of the APs that match the filter criteria. The response is in the application/json format. Click AP to view the complete detais of the JSON along with a sample output. |
Test APIs
Description | This API is used to fetch the APs that match the specified filter criteria from the allowed locations for the logged-in user. If no filters are specified, all the APs from the allowed locations are fetched. However, this API is not supported in a server cluster environment.
Note: Do not use this API to fetch more than 100 devices. For fetching larger number of devices, consider using the Get Paged List of APs API. |
---|---|
User Privileges | Users with the following roles can call this API: superuser, administrator, and operator.
Request Body Parameters Response Body Error codes |
Syntax |
GET /devices/aps
|
Sample code |
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps
GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?macaddress=00:11:74:33:23:12&macaddress=00:11:74:45:12:21 GET https://training.mojonetworks.com/new/webservice/v2/devices/aps?capability=49&locationid=10&locationid=12&sortcolumn=devicename&sortascending=false |
URL Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Query Parameters | This API call takes optional URL parameters to filter the list of APs to be fetched and the column on which the output must be sorted. AP Filter Parameters lists the parmeter names, datatypes, applicable values, and whether the results can be sorted based on the parameter. |
Response Body | If the API call is successful, the HTTP response status is 200. The response body contains the details of the APs that match the filter criteria. The response is in the application/json format. Click AP to view the complete detais of the JSON along with a sample output. |