Dashboard summary
curl --request GET \
--url https://my.server.express/api/v1/client/dashboard \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/dashboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"totalServices": 123,
"activeServices": 123,
"outstandingBalance": 123,
"outstandingBreakdown": [
{
"currency": "<string>",
"amount": 123
}
],
"openTickets": 123,
"openAbuseReports": 123,
"recentServices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "DEDICATED",
"status": "ACTIVE",
"nextDueDate": "<string>"
}
],
"recentInvoices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"amount": 123,
"currency": "<string>",
"status": "paid",
"dueDate": "2023-11-07T05:31:56Z"
}
],
"recentTickets": [
{
"id": "<string>",
"subject": "<string>",
"status": "open",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Dashboard
Dashboard summary
Counts, the outstanding balance and the five most recent services, invoices and tickets. outstandingBalance sums every
UNPAID/OVERDUE invoice converted to GBP; outstandingBreakdown gives the unconverted per-currency totals. Open abuse reports
are counted across every service the caller can see, including team services. Unpaid dedicated orders are left out of
recentServices.
GET
/
v1
/
client
/
dashboard
Dashboard summary
curl --request GET \
--url https://my.server.express/api/v1/client/dashboard \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/dashboard', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/dashboard"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"totalServices": 123,
"activeServices": 123,
"outstandingBalance": 123,
"outstandingBreakdown": [
{
"currency": "<string>",
"amount": 123
}
],
"openTickets": 123,
"openAbuseReports": 123,
"recentServices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "DEDICATED",
"status": "ACTIVE",
"nextDueDate": "<string>"
}
],
"recentInvoices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"amount": 123,
"currency": "<string>",
"status": "paid",
"dueDate": "2023-11-07T05:31:56Z"
}
],
"recentTickets": [
{
"id": "<string>",
"subject": "<string>",
"status": "open",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}