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.eyJhdWQiOlsiY3VzdG9tZXItdjEiXSwic3ViIjozMywiZXhwIjoxNzgxMjc4ODY3fQ.YXVO7MxzX_jC9LYEMlkt3n2APhUkuLAPZPKQsO5ikOU
Host: example.org
Cookie: 

Route

GET /api/rest/customer/v1/network-prefixes/8e2e1ae1-6f4e-446d-b7b2-48818f4d8d96

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/"b2520b314a5e9322a30ccf28e8cce12f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 9e6c848f-d77a-4140-9ca3-80d09b69877e
x-runtime: 0.005815
content-length: 558

Status

200 OK

Body

{
  "data": {
    "id": "8e2e1ae1-6f4e-446d-b7b2-48818f4d8d96",
    "type": "network-prefixes",
    "links": {
      "self": "http://example.org/api/rest/customer/v1/network-prefixes/8e2e1ae1-6f4e-446d-b7b2-48818f4d8d96"
    },
    "attributes": {
      "prefix": "1111111111112",
      "number-min-length": 0,
      "number-max-length": 100
    },
    "relationships": {
      "network": {
        "links": {
          "self": "http://example.org/api/rest/customer/v1/network-prefixes/8e2e1ae1-6f4e-446d-b7b2-48818f4d8d96/relationships/network",
          "related": "http://example.org/api/rest/customer/v1/network-prefixes/8e2e1ae1-6f4e-446d-b7b2-48818f4d8d96/network"
        }
      }
    }
  }
}