Invoice Originated Destinations API

get specific entry

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEyNCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU2Nn0.QsSPqKjdbHhr__kIiig1WEURRjWxXZbGcNPjLh2ozgs
Host: example.org
Cookie: 

Route

GET /api/rest/admin/invoice-originated-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/"b816a61e726767a8d918ae5c446d86b6"
cache-control: max-age=0, private, must-revalidate
x-request-id: cb074b6c-0320-4d0f-a3cf-2998ef9e9abb
x-runtime: 0.006612
content-length: 1000

Status

200 OK

Body

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