get specific entry
GET /api/rest/customer/v1/invoices/:id
Request
Headers
Route
GET /api/rest/customer/v1/invoices/ce11333a-e07d-11ee-bc8d-0242ac120003
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "ce11333a-e07d-11ee-bc8d-0242ac120003",
"type": "invoices",
"links": {
"self": "http://example.org/api/rest/customer/v1/invoices/ce11333a-e07d-11ee-bc8d-0242ac120003"
},
"attributes": {
"reference": "8",
"start-date": "2024-03-05T14:35:42.775Z",
"end-date": "2024-03-11T14:35:42.775Z",
"has-pdf": false,
"amount-spent": "0.0",
"originated-amount-spent": "0.0",
"originated-calls-count": 0,
"originated-successful-calls-count": 0,
"originated-calls-duration": 0,
"originated-billing-duration": 0,
"originated-first-call-at": null,
"originated-last-call-at": null,
"terminated-amount-spent": "0.0",
"terminated-calls-count": 0,
"terminated-successful-calls-count": 0,
"terminated-calls-duration": 0,
"terminated-billing-duration": 0,
"terminated-first-call-at": null,
"terminated-last-call-at": null
},
"relationships": {
"account": {
"links": {
"self": "http://example.org/api/rest/customer/v1/invoices/ce11333a-e07d-11ee-bc8d-0242ac120003/relationships/account",
"related": "http://example.org/api/rest/customer/v1/invoices/ce11333a-e07d-11ee-bc8d-0242ac120003/account"
}
}
}
}
}