api:networkmanagement:devicetplink:lookup
Table of Contents
API : Network Device TP Link Lookup
Introduction
Looks up the MAC address for a given TP-Link serial number for the current customer. Returns the MAC address if a matching imported device exists, otherwise `null`.
Request
| URL | https://api.telecomx.dk/network/device/lookup-serial/{serialNumber} | ||
|---|---|---|---|
| Method | GET | ||
| Access level | MANAGER or OWNER if user belongs to the customer. RESELLER if customer belongs to the reseller or a sub reseller. ADMIN. |
||
| Property | Type | Description | |
| Param | serialNumber | String | Serial number of the TP-Link device (11–13 characters). |
Query examples
https://api.telecomx.dk/network/device/lookup-serial/224A3N700254
Response
| Property | Type | Description |
|---|---|---|
| macAddress | String | MAC address of the device if found, otherwise null. |
Example
{ "macAddress": "306893508632" }
Example (not found)
{ "macAddress": null }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | AccessDenied | User does not have read access to the customer. |
| 422 | InvalidData | Path parameter is invalid (e.g. serialNumber fails validation). |
| 500 | InternalError | Unexpected server error while processing the lookup or validating the response. |
api/networkmanagement/devicetplink/lookup.txt · Last modified: 2025/12/05 12:46 by Mikkel Meerwaldt Jørgensen