NetworkPrefixes API

get specific entry

GET /api/rest/customer/v1/network-prefixes/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjozMywiZXhwIjoxNzg0MzgwODU1fQ.Tr4v5wWoJfJ-f1x73_OiUFUeMX0Fr4xFnIrdcxSFPEQ
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/network-prefixes/27e7a85f-d19b-447b-923a-e6be3693ed98

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/"b34cdca1e7c05522ecbee1f7fac5d24d"
cache-control: max-age=0, private, must-revalidate
x-request-id: d2a0de91-9bca-4efc-bf2c-8cba4aec33af
x-runtime: 0.005970
content-length: 558

Status

200 OK

Body

{
  "data": {
    "id": "27e7a85f-d19b-447b-923a-e6be3693ed98",
    "type": "network-prefixes",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/network-prefixes/27e7a85f-d19b-447b-923a-e6be3693ed98"
    },
    "attributes": {
      "prefix": "1111111111112",
      "number-min-length": 0,
      "number-max-length": 100
    },
    "relationships": {
      "network": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/network-prefixes/27e7a85f-d19b-447b-923a-e6be3693ed98/relationships/network",
          "related": "http://example.org/api/rest/customer/v1/network-prefixes/27e7a85f-d19b-447b-923a-e6be3693ed98/network"
        }
      }
    }
  }
}