Response (application/json)
{
"status": "success",
"requestID": "7b9e5d55-d439-4e9f-943e-3e04b135c927",
"message": "all active and scheduled sales are listed below",
"data": [
{
"title": "Intel Xeon SSV",
"startDate": {
"value": "2023-09-19T22:00:00.000Z",
"description": "From this moment the sale is active."
},
"stopDate": {
"value": null,
"description": "Sale has no scheduled end date and is therefore active until it is manually ended by the provider."
},
"upgradable": {
"value": true,
"description": "Pricing conditions remain forever for all VMs purchased in the sale, even after an upgrade and downgrade."
},
"maxVolume": {
"value": 100,
"description": "Maximum amount of VMs that can be created before the sale ends automatically."
},
"usedVolume": {
"value": 52,
"description": "Number of VMs already created by this sale."
},
"pricings": {
"value": {
"nl_xeon": {
"core": {
"price_net": "0.25",
"price_gross": 0.3
},
"mem": {
"price_net": "0.2",
"price_gross": 0.24
},
"nvme": {
"price_net": "0.20",
"price_gross": 0.24
}
},
"de_epyc": {
"core": {
"price_net": "0.5",
"price_gross": 0.59
}
}
},
"description": "These host systems and resources are discounted in the sale. All host systems and resources that are not listed are still based on your standard conditions."
}
}
]
}
cURL
curl "https://live.fireapi.de/accounting/sales" -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY"
Anfrage testen