api:networkmanagement:devicemodel:get
Table of Contents
API : Network Device Model Get
Introduction
This request will return a single network device model.
Request
| URL | https://api.telecomx.dk/network/device/model/MODEL_ID | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN or ADMIN. | |
| Params | MODEL_ID | Id of the network device model. |
Query examples
https://api.telecomx.dk/network/device/model/1234567890ABCDEF12345678
Response
| Property | Type | Description |
|---|---|---|
| _id | Id | Unique id of the device model. |
| brand | String | Name of brand: TP-LINK. |
| name | String | Name of device model. |
| type | String | Type of device: ROUTER, SWITCH, ACCESS_POINT, FIREWALL, MODEM, OTHER. |
| picture | Id | Id of picture of the device on image.telecomx.dk, 256×256 pixels or larger. |
| description | String | A short description of the device model and its capabilities. |
| capabilities | Subsection with device capabilities | |
| capabilities.wifi | Boolean | True if the device model supports wifi. |
| capabilities.wifi2G | Boolean | True if the device model supports 2.4GHz wifi. |
| capabilities.wifi5G | Boolean | True if the device model supports 5GHz wifi. |
| capabilities.wifi6G | Boolean | True if the device model supports 6GHz wifi. |
| capabilities.simSupport | Boolean | Supports SIM-card. Only relevant if type = “ROUTER”. |
Note that properties holding no value may be omitted from the object.
Example
{ "_id": "12345678901234567890ABCC", "brand": "TP-LINK", "name": "XVS-200", "type": "ROUTER", "picture": "12345678901234567890ABCD", "description": "5G router with 2,4/5Ghz wifi and ethernet.", "capabilities": { "wifi": true, "wifi2G": true, "wifi5G": true, "wifi6G": false, "simSupport": true } }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | not_found | Network device model not found |
| 403 | access_denied | Insufficient access level |
| 422 | id | Id is not a valid model id. |
| 500 | internal_error | <Unspecified> |
api/networkmanagement/devicemodel/get.txt · Last modified: by Mikkel Meerwaldt Jørgensen