Services API

get specific entry

GET /api/rest/admin/billing/services/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTAsInN1YiI6NTF9.mR7EaIntDHOTDgYIYQ1oAO-hPfUqw5_qJdZV7qjhieo
Host: example.org
Cookie: 

Route

GET /api/rest/admin/billing/services/6

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/"796a4c78053cbab65c3fb3f7063c7cdb"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 195fa5d5-bb18-4050-8bf4-d99fa7f036d5
X-Runtime: 0.012584
Content-Length: 979

Status

200 OK

Body

{
  "data": {
    "id": "6",
    "type": "services",
    "links": {
      "self": "http://example.org/api/rest/admin/billing/services/6"
    },
    "attributes": {
      "name": "Service_6",
      "variables": {
        "baz": 123
      },
      "state": "Active",
      "initial-price": "53.05",
      "renew-price": "63.6",
      "created-at": "2024-11-14T01:23:50.267Z",
      "renew-at": null,
      "renew-period": "Disabled",
      "uuid": "acd834f8-87ca-428a-9140-e20fda97e65e"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/admin/billing/services/6/relationships/account",
          "related": "http://example.org/api/rest/admin/billing/services/6/account"
        },
        "data": {
          "type": "accounts",
          "id": "50"
        }
      },
      "service-type": {
        "links": {
          "self": "http://example.org/api/rest/admin/billing/services/6/relationships/service-type",
          "related": "http://example.org/api/rest/admin/billing/services/6/service-type"
        }
      },
      "transactions": {
        "links": {
          "self": "http://example.org/api/rest/admin/billing/services/6/relationships/transactions",
          "related": "http://example.org/api/rest/admin/billing/services/6/transactions"
        }
      }
    }
  }
}