NetworkTypes API

get listing

GET /api/rest/admin/system/network-types

Parameters

Name Description
filter[id] id filter
filter[name] name filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzcsInN1YiI6MTk3fQ.ZszTPOQM-8PPPzXs1pnxVdMXly_V4aAVW-oiOEQStkw
Host: example.org
Cookie: 

Route

GET /api/rest/admin/system/network-types

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"9fb140d00c533bdd6d491d605b5c8c13"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: ff1b79bf-ec20-4cb2-884c-e1b3a30eee8e
X-Runtime: 0.010606
Content-Length: 2174

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/1"
      },
      "attributes": {
        "name": "Unknown"
      }
    },
    {
      "id": "2",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/2"
      },
      "attributes": {
        "name": "Landline"
      }
    },
    {
      "id": "3",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/3"
      },
      "attributes": {
        "name": "Mobile"
      }
    },
    {
      "id": "4",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/4"
      },
      "attributes": {
        "name": "National"
      }
    },
    {
      "id": "5",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/5"
      },
      "attributes": {
        "name": "Shared Cost"
      }
    },
    {
      "id": "6",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/6"
      },
      "attributes": {
        "name": "Toll-Free"
      }
    },
    {
      "id": "7",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/7"
      },
      "attributes": {
        "name": "Special Services"
      }
    },
    {
      "id": "8",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/8"
      },
      "attributes": {
        "name": "Short Code"
      }
    },
    {
      "id": "9",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/9"
      },
      "attributes": {
        "name": "Emergency"
      }
    },
    {
      "id": "10",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/10"
      },
      "attributes": {
        "name": "UIFN"
      }
    },
    {
      "id": "11",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/11"
      },
      "attributes": {
        "name": "Premium-rate, global telecommunication service"
      }
    },
    {
      "id": "12",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/12"
      },
      "attributes": {
        "name": "Network type 1"
      }
    },
    {
      "id": "13",
      "type": "network-types",
      "links": {
        "self": "http://example.org/api/rest/admin/system/network-types/13"
      },
      "attributes": {
        "name": "Network type 2"
      }
    }
  ],
  "meta": {
    "total-count": 13
  },
  "links": {
    "first": "http://example.org/api/rest/admin/system/network-types?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/system/network-types?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}