List the contracts of the account
The contracts of the account - web hosting, domains, server housing, vServers - and whether one is terminated.
Lists the contracts of the account - web hosting packages, domains on their own, server housing and vServers -, each with its area, its contract_number, when it began, what it is for and whether it is terminated (is_terminated). site_id, domain and vserver_id lead to the routes of that area. Contracts are terminated in the customer panel. Refused if the access may not see the account's contracts. Changes nothing.
manitu_account_contract_list on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Lists the contracts of the manitu customer account this connection works in: web hosting packages, domains on their own, server housing and vServers - each with its area, what it is called (contract_number), when it began, what it is for, and whether it is terminated already (is_terminated). site_id, domain and vserver_id lead to the routes of that area. Contracts are terminated in the customer panel only - say so if the user asks for that. Refused if this access may not see the account's contracts. It changes nothing.
Arguments
Takes no arguments.
Result structuredContent, checked against the schema
contract_listarray of objectcontract_list[].contract_idstringThe contract in this list - the same as long as area and contract number are.
contract_list[].areastringwebhosting: a web hosting package; domain: a domain on its own; server: server housing; vserver: a virtual server.
contract_list[].contract_numberstringWhat the contract is called on invoices and in the customer panel - the package name, the domain, the contract number.
contract_list[].started_onstring | nullWhen the contract began.
contract_list[].descriptionstring | nullWhat the contract is for, as manitu names it (e.g. the plan, Webhosting M).
contract_list[].site_idinteger | nullThe web hosting package, as manitu_webhosting_getPOST /v1/webhosting/get takes it - null for other areas.
contract_list[].domainstring | nullThe domain, as manitu_domain_getPOST /v1/domain/get takes it - null for other areas.
contract_list[].vserver_idinteger | nullThe vServer, as manitu_vserver_getPOST /v1/vserver/get takes it - null for other areas.
contract_list[].is_terminatedbooleanWhether the contract is terminated already.
Authentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
No fields - send {} or no body.
Response in data; the rest of the body as on every call
contract_listarray of objectcontract_list[].contract_idstringThe contract in this list - the same as long as area and contract number are.
contract_list[].areastringwebhosting: a web hosting package; domain: a domain on its own; server: server housing; vserver: a virtual server.
contract_list[].contract_numberstringWhat the contract is called on invoices and in the customer panel - the package name, the domain, the contract number.
contract_list[].started_onstring | nullWhen the contract began.
contract_list[].descriptionstring | nullWhat the contract is for, as manitu names it (e.g. the plan, Webhosting M).
contract_list[].site_idinteger | nullThe web hosting package, as manitu_webhosting_getPOST /v1/webhosting/get takes it - null for other areas.
contract_list[].domainstring | nullThe domain, as manitu_domain_getPOST /v1/domain/get takes it - null for other areas.
contract_list[].vserver_idinteger | nullThe vServer, as manitu_vserver_getPOST /v1/vserver/get takes it - null for other areas.
contract_list[].is_terminatedbooleanWhether the contract is terminated already.
Statuses
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.