List the plans a web hosting package can be changed to

The higher plans one web hosting package can be changed to, with their prices, and the plan it has now.

Lists the higher plans a web hosting package can be changed to, by its site_id, each with its option_id and price (in cent, net or gross, per period), and the plan it has now (current_plan). An empty list means there is none - the highest plan, or a package of the old technology. The change itself is manitu_webhosting_upgradePOST /v1/webhosting/upgrade. Changes nothing.

RReadIdempotentNeeds service_webhosting
Tool
manitu_webhosting_upgrade_option_liston https://mcp.manitu.de/mcp
POST
/v1/webhosting/upgrade/option/liston https://api.manitu.de
Try it
readOnlyHint truedestructiveHint falseidempotentHint trueopenWorldHint false

Lists the plans a web hosting package can be changed to (an upgrade: a higher plan, for a higher price), by its site_id - each with its option_id and price (in cent, net or gross, per period) - and the plan it has now (current_plan). An empty list: there is none (the highest plan, or a package of the old technology). To change it: manitu_webhosting_upgradePOST /v1/webhosting/upgrade with the option_id. It changes nothing.

site_id (required)integer | string

The site_id of the package. Never guess one.

pattern ^[1-9][0-9]*$min 1
The tool list tells the model a little more about some of these fields, at the end of their description. Programs over REST do not get these hints.
site_idinteger

The package.

current_planobject

The plan the package has now.

current_plan.namestring

The plan, e.g. Webhosting M.

current_plan.price_centinteger

The price per period, in euro cent.

current_plan.price_typestring

net: without VAT; gross: with VAT.

One of net gross
current_plan.period_typestring

What the price is for: month or year (times period_length), onetime, or none.

One of none onetime month year
current_plan.period_lengthinteger

How many months or years one period has.

upgrade_option_listarray of object
upgrade_option_list[].option_idstring
pattern ^[^\x00-\x1F\x7F]*$
upgrade_option_list[].planobject

The plan after the change.

upgrade_option_list[].plan.namestring

The plan, e.g. Webhosting M.

upgrade_option_list[].plan.price_centinteger

The price per period, in euro cent.

upgrade_option_list[].plan.price_typestring

net: without VAT; gross: with VAT.

One of net gross
upgrade_option_list[].plan.period_typestring

What the price is for: month or year (times period_length), onetime, or none.

One of none onetime month year
upgrade_option_list[].plan.period_lengthinteger

How many months or years one period has.

One of X-API-Key, Authorization: Bearer … - never more than one in a request. More

site_id (required)integer | string

The site_id of the package.

pattern ^[1-9][0-9]*$min 1
site_idinteger

The package.

current_planobject

The plan the package has now.

current_plan.namestring

The plan, e.g. Webhosting M.

current_plan.price_centinteger

The price per period, in euro cent.

current_plan.price_typestring

net: without VAT; gross: with VAT.

One of net gross
current_plan.period_typestring

What the price is for: month or year (times period_length), onetime, or none.

One of none onetime month year
current_plan.period_lengthinteger

How many months or years one period has.

upgrade_option_listarray of object
upgrade_option_list[].option_idstring
pattern ^[^\x00-\x1F\x7F]*$
upgrade_option_list[].planobject

The plan after the change.

upgrade_option_list[].plan.namestring

The plan, e.g. Webhosting M.

upgrade_option_list[].plan.price_centinteger

The price per period, in euro cent.

upgrade_option_list[].plan.price_typestring

net: without VAT; gross: with VAT.

One of net gross
upgrade_option_list[].plan.period_typestring

What the price is for: month or year (times period_length), onetime, or none.

One of none onetime month year
upgrade_option_list[].plan.period_lengthinteger

How many months or years one period has.

200Success.400The input is wrong, or the request itself (INVALID_INPUT). Each entry names its field and its reason - correct the input and call again.401No credential was presented, or it was not recognised (UNAUTHENTICATED).403The credential is valid, but may not do this (PERMISSION_DENIED). The reason says why - another credential is the way, not a repeat.429Too many calls. The Retry-After header says when to try again.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.
Example