NetworkTypes API

get listing

GET /api/rest/admin/network-types

Parameters

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE0NCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAwNn0.wbjCVwmYZL3M2QESowiDDK2McdCiZmIaUneh-0QEa84
Host: example.org
Cookie: 

Route

GET /api/rest/admin/network-types

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"b65277cd08324cfcd6a9baf76cadde6a"
cache-control: max-age=0, private, must-revalidate
x-request-id: 52963ee5-a85d-4649-a289-7d0186448a58
x-runtime: 0.009152
content-length: 2781

Status

200 OK

Body

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