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.eyJleHAiOjE3MzE1Nzg3NDgsInN1YiI6Mjl9.c2pxwDNhvcCDes6w9gOe_o_rjwzD5SigoYqfX6Ih6YI
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: 7c5b9bd1-2810-44c3-8855-75018e3d9154
X-Runtime: 0.012184
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"
        }
      }
    }
  }
}