Invoice Terminated Destinations API

get specific entry

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEzNywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAwNn0.g_yAKOcwjus2J-_4Kskdz40Fu2voH6jAO1goytPHU2E
Host: example.org
Cookie: 

Route

GET /api/rest/admin/invoice-terminated-destinations/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/"5385c227ef5bf8a61a35519fffb833e3"
cache-control: max-age=0, private, must-revalidate
x-request-id: ceb66416-a7e2-4b9f-af07-79afaf8725f5
x-runtime: 0.006808
content-length: 1001

Status

200 OK

Body

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