Invoice Originated Destinations API

get specific entry

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

Request

Headers

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

Route

GET /api/rest/admin/billing/invoice-originated-destinations/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/"6d1d4c03d7aeadf9eb9ce69b33879c48"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 273026f7-1140-4624-82bc-f4e16358cb09
X-Runtime: 0.010763
Content-Length: 1056

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "invoice-originated-destinations",
    "links": {
      "self": "http://example.org/api/rest/admin/billing/invoice-originated-destinations/3"
    },
    "attributes": {
      "amount": null,
      "billing-duration": null,
      "calls-count": null,
      "calls-duration": null,
      "dst-prefix": 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-destinations/3/relationships/invoice",
          "related": "http://example.org/api/rest/admin/billing/invoice-originated-destinations/3/invoice"
        }
      },
      "country": {
        "links": {
          "self": "http://example.org/api/rest/admin/billing/invoice-originated-destinations/3/relationships/country",
          "related": "http://example.org/api/rest/admin/billing/invoice-originated-destinations/3/country"
        }
      },
      "network": {
        "links": {
          "self": "http://example.org/api/rest/admin/billing/invoice-originated-destinations/3/relationships/network",
          "related": "http://example.org/api/rest/admin/billing/invoice-originated-destinations/3/network"
        }
      }
    }
  }
}