Aktuellen Rechnungsstand abrufen
GET
/accounting/invoices/current
Response (application/json)
200
{4 Eigenschaften
"status": "success",
"requestID": "f172d6aa-00a2-46a0-8e06-3b928c255a20",
"message": "success",
"data": {4 Eigenschaften
"currentInvoiceTotal": 2.5672406481481,
"nextInvoiceDate": "2023-07-01T00:00:00.000Z",
"estimatedInvoiceTotal": 13.718320138889,
"positions": {1 Eigenschaft
"vms": {4 Eigenschaften
"30071": [1 Element
{6 Eigenschaften
"type": "BILLINGRESTART",
"start": "2023-06-09T15:22:13.000Z",
"stop": null,
"totalRuntime": 523253,
"monthlyPrice": 8.39,
"totalPrice": 1.693708591821
}
],
"30073": [2 Elemente
{6 Eigenschaften
"type": "BILLINGRESTART",
"start": "2023-06-09T15:22:13.000Z",
"stop": "2023-06-09T16:40:28.000Z",
"totalRuntime": 4695,
"monthlyPrice": 3.64,
"totalPrice": 0.006593287037037
},
{6 Eigenschaften
"type": "BILLINGRESTART",
"start": "2023-06-09T16:40:28.000Z",
"stop": "2023-06-10T11:08:18.000Z",
"totalRuntime": 66470,
"monthlyPrice": 8.39,
"totalPrice": 0.2151555941358
}
],
"30074": [1 Element
{6 Eigenschaften
"type": "CREATE",
"start": "2023-06-10T11:10:34.000Z",
"stop": null,
"totalRuntime": 451952,
"monthlyPrice": 3.64,
"totalPrice": 0.63468567901235
}
],
"30075": [2 Elemente
{6 Eigenschaften
"type": "CREATE",
"start": "2023-06-15T15:25:29.000Z",
"stop": "2023-06-15T15:29:21.000Z",
"totalRuntime": 232,
"monthlyPrice": 3.53,
"totalPrice": 0.00031595679012346
},
{6 Eigenschaften
"type": "BILLINGRESTART",
"start": "2023-06-15T15:29:21.000Z",
"stop": null,
"totalRuntime": 4425,
"monthlyPrice": 9.83,
"totalPrice": 0.016781539351852
}
]
}
}
}
}
cURL
curl -X GET 'https://live.fireapi.de/accounting/invoices/current' \ -H 'X-FIRE-APIKEY: YOUR-API-KEY'