Invoice Originated Networks API

get specific entry

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

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MjEyMzYzMDcsInN1YiI6Mjl9.YOAVDpBzahrm3FI6wP0eL5HENPzY7KEfRCszblWz1Gw
Host: example.org
Cookie: 

Route

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

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/"35eba3f79d32372a1c59384216b5d155"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d2a9b22c-e80b-4719-9d99-5dbad7d17ed7
X-Runtime: 0.012755
Content-Length: 1006

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "invoice-originated-networks",
    "links": {
      "self": "http://example.org/api/rest/admin/billing/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/billing/invoice-originated-networks/3/relationships/invoice",
          "related": "http://example.org/api/rest/admin/billing/invoice-originated-networks/3/invoice"
        }
      },
      "country": {
        "links": {
          "self": "http://example.org/api/rest/admin/billing/invoice-originated-networks/3/relationships/country",
          "related": "http://example.org/api/rest/admin/billing/invoice-originated-networks/3/country"
        }
      },
      "network": {
        "links": {
          "self": "http://example.org/api/rest/admin/billing/invoice-originated-networks/3/relationships/network",
          "related": "http://example.org/api/rest/admin/billing/invoice-originated-networks/3/network"
        }
      }
    }
  }
}