Invoice Terminated Destinations API

get specific entry

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

Request

Headers

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

Route

GET /api/rest/admin/billing/invoice-terminated-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/"e5c267c50d063918d2a99d0c0ff872a0"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 76f290b3-b9dc-4e4a-a073-84b8a4961c68
X-Runtime: 0.010797
Content-Length: 1057

Status

200 OK

Body

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