Rabatt-Aktionen anzeigen

GET /accounting/sales

Rabatt-Aktionen können nach Absprache mit uns für beliebige KVM-Server Hostsysteme hinterlegt werden

Response (application/json)

200
{4 Eigenschaften
  "status": "success",
  "requestID": "7b9e5d55-d439-4e9f-943e-3e04b135c927",
  "message": "all active and scheduled sales are listed below",
  "data": [1 Element
    {7 Eigenschaften
      "title": "Intel Xeon SSV",
      "startDate": {2 Eigenschaften
        "value": "2023-09-19T22:00:00.000Z",
        "description": "From this moment the sale is active."
      },
      "stopDate": {2 Eigenschaften
        "value": null,
        "description": "Sale has no scheduled end date and is therefore active until it is manually ended by the provider."
      },
      "upgradable": {2 Eigenschaften
        "value": true,
        "description": "Pricing conditions remain forever for all VMs purchased in the sale, even after an upgrade and downgrade."
      },
      "maxVolume": {2 Eigenschaften
        "value": 100,
        "description": "Maximum amount of VMs that can be created before the sale ends automatically."
      },
      "usedVolume": {2 Eigenschaften
        "value": 52,
        "description": "Number of VMs already created by this sale."
      },
      "pricings": {2 Eigenschaften
        "value": {2 Eigenschaften
          "nl_xeon": {3 Eigenschaften
            "core": {2 Eigenschaften
              "price_net": "0.25",
              "price_gross": 0.3
            },
            "mem": {2 Eigenschaften
              "price_net": "0.2",
              "price_gross": 0.24
            },
            "nvme": {2 Eigenschaften
              "price_net": "0.20",
              "price_gross": 0.24
            }
          },
          "de_epyc": {1 Eigenschaft
            "core": {2 Eigenschaften
              "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 -X GET 'https://live.fireapi.de/accounting/sales' \
  -H 'X-FIRE-APIKEY: YOUR-API-KEY'