Invoice Originated Networks API

get specific entry

GET /api/rest/admin/invoice-originated-networks/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEyNiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU2Nn0.yq1OI7INjC7zAFzcEJni_j27b69SDalAOb_2jBNaQnw
Host: example.org
Cookie: 

Route

GET /api/rest/admin/invoice-originated-networks/3

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/"675af77b535d465abdb3ad684eeb235f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 3066467c-ae65-4b49-a9f7-ffb1f008f1f3
x-runtime: 0.005738
content-length: 950

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "invoice-originated-networks",
    "links": {
      "self": "http://example.org/api/rest/admin/invoice-originated-networks/3"
    },
    "attributes": {
      "amount": null,
      "billing-duration": null,
      "calls-count": null,
      "calls-duration": null,
      "first-call-at": null,
      "last-call-at": null,
      "rate": null,
      "spent": true,
      "successful-calls-count": null
    },
    "relationships": {
      "invoice": {
        "links": {
          "self": "http://example.org/api/rest/admin/invoice-originated-networks/3/relationships/invoice",
          "related": "http://example.org/api/rest/admin/invoice-originated-networks/3/invoice"
        }
      },
      "country": {
        "links": {
          "self": "http://example.org/api/rest/admin/invoice-originated-networks/3/relationships/country",
          "related": "http://example.org/api/rest/admin/invoice-originated-networks/3/country"
        }
      },
      "network": {
        "links": {
          "self": "http://example.org/api/rest/admin/invoice-originated-networks/3/relationships/network",
          "related": "http://example.org/api/rest/admin/invoice-originated-networks/3/network"
        }
      }
    }
  }
}