get specific entry
GET /api/rest/admin/accounts/:id
Request
Headers
Route
GET /api/rest/admin/accounts/22
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "22",
"type": "accounts",
"links": {
"self": "http://example.org/api/rest/admin/accounts/22"
},
"attributes": {
"name": "account3",
"balance": "0.0",
"min-balance": "0.0",
"max-balance": "0.0",
"vat": "23.1",
"balance-low-threshold": null,
"balance-high-threshold": null,
"send-balance-notifications-to": null,
"destination-rate-limit": "0.3444",
"max-call-duration": 36000,
"external-id": null,
"uuid": "9e85e738-a26e-11ef-a008-0242ac120003",
"origination-capacity": 1,
"termination-capacity": 2,
"total-capacity": 5,
"send-invoices-to": null,
"invoice-period": null
},
"relationships": {
"contractor": {
"links": {
"self": "http://example.org/api/rest/admin/accounts/22/relationships/contractor",
"related": "http://example.org/api/rest/admin/accounts/22/contractor"
},
"data": {
"type": "contractors",
"id": "3"
}
},
"timezone": {
"links": {
"self": "http://example.org/api/rest/admin/accounts/22/relationships/timezone",
"related": "http://example.org/api/rest/admin/accounts/22/timezone"
},
"data": {
"type": "timezones",
"id": "1"
}
},
"invoice-template": {
"links": {
"self": "http://example.org/api/rest/admin/accounts/22/relationships/invoice-template",
"related": "http://example.org/api/rest/admin/accounts/22/invoice-template"
},
"data": null
}
}
}
}