---
title: Dispositivos de rede
slug: pt/dispositivos-de-rede
docTags: 
createdAt: 2024-01-10T10:59:55.214Z
---

:::ApiMethodV2
```json
{
  "name": "Get Network Devices",
  "method": "GET",
  "url": "https://api.fsflt.net/panel/network/device/list",
  "description": "Get the list of Network Devices",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "YCRBWgM5zFU8LYDanm7Ui",
        "language": "curl",
        "code": "curl --location --request GET 'https://api.fsflt.net/panel/network/device/list' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data '{\"customer_code\":\"Integer\",\"lang\":\"String\"}'",
        "customLabel": ""
      },
      {
        "id": "enbDSpaCcP09XAyy7Ltq_",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.fsflt.net/panel/network/device/list',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   },\n   body: JSON.stringify({\n      \"customer_code\": \"Integer\",\n      \"lang\": \"String\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "Y0Yf44abd3F34w-puxKs0",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"customer_code\": \"Integer\",\n   \"lang\": \"String\"\n});\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.fsflt.net/panel/network/device/list\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "lcz1OVj7jXPybz1GuKFDV",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.fsflt.net/panel/network/device/list\"\n\npayload = json.dumps({\n   \"customer_code\": \"Integer\",\n   \"lang\": \"String\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "nGtVQKOvREKF_MgjWFwjg",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fsflt.net/panel/network/device/list\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"customer_code\": \"Integer\",\n   \"lang\": \"String\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "YCRBWgM5zFU8LYDanm7Ui"
  },
  "results": {
    "languages": [
      {
        "id": "akimWPO9aW6DLlNls71G1",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"code\": 200,\n    \"content\": [\n        {\n            \"id\": \"33.2\",\n            \"brand_name\": \"MikroTik\",\n            \"brand_code\": \"mikrotik\",\n            \"device_name\": \"Mikrotik NAT connection (DNS over VPN)\"\n        }\n    ]\n}"
      }
    ],
    "selectedLanguageId": "akimWPO9aW6DLlNls71G1"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-API-KEY",
        "kind": "required",
        "type": "string",
        "description": "Your API Key",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "customer_code",
        "kind": "required",
        "type": "Integer",
        "description": "ID of the Customer"
      },
      {
        "name": "lang",
        "kind": "required",
        "type": "String",
        "description": "Lang code (IT,EN,ES,PT,FR,DE)",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "get-network-devices",
  "legacyHash": "F0QWq9pVI_CGngIedyD6H"
}
```
:::

