curl "https://api.scanova.io/plans/275/pricing/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"pricing": [
{ "id": 501, "pricing": { "id": 2, "name": "Monthly", "period": "month" }, "price": "29.00" },
{ "id": 502, "pricing": { "id": 3, "name": "Yearly", "period": "year" }, "price": "290.00" }
]
}
Analysen & Tarife
Preisoptionen eines Tarifs abrufen
GET /plans//pricing/
GET
/
plans
/
{id}
/
pricing
/
curl "https://api.scanova.io/plans/275/pricing/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"pricing": [
{ "id": 501, "pricing": { "id": 2, "name": "Monthly", "period": "month" }, "price": "29.00" },
{ "id": 502, "pricing": { "id": 3, "name": "Yearly", "period": "year" }, "price": "290.00" }
]
}
Gibt die Preiszeilen eines Tarifs auf dem Management-API-Host (
Dieselben Tariffelder wie bei Verfügbare Tarife auflisten, abzüglich
api.scanova.io) zurück, authentifiziert mit Ihrem rohen Management-API-Schlüssel.
GET https://api.scanova.io/plans/{id}/pricing/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
integer
erforderlich
Die numerische
id des Tarifs, aus Verfügbare Tarife auflisten.curl "https://api.scanova.io/plans/275/pricing/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"pricing": [
{ "id": 501, "pricing": { "id": 2, "name": "Monthly", "period": "month" }, "price": "29.00" },
{ "id": 502, "pricing": { "id": 3, "name": "Yearly", "period": "year" }, "price": "290.00" }
]
}
quotas — dieser Endpunkt betrifft den Preis, nicht die Berechtigungen. pricing listet nur aktive/sichtbare Preiszeilen des Tarifs auf; price ist eine Dezimalzahl als String in der konfigurierten Währung des Tarifs (hier nicht pro Währung zurückgegeben — prüfen Sie Abrechnungsland/-währung Ihres Kontos separat). 404, wenn die Tarif-id nicht existiert oder für den Aufrufer nicht sichtbar/verfügbar ist.
Siehe auch
- Verfügbare Tarife auflisten — eine Tarif-
idzum Bepreisen finden. - Aktueller Tarif — der tatsächliche aktuelle Preis-/Abrechnungsstatus des Kontos.
- Management-API-Übersicht — das Auth-Schema und die Quota-Regeln, die für diesen Endpunkt gelten.
Autorisierungen
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Pfadparameter
The plan's numeric id, from GET /plans/available/.
Antwort
Plan detail with its active pricing rows.
War diese Seite hilfreich?