GetInfo
[POST] .../v1/sys/getinfo
Returns information for the current API login: tariff, tariff parameters, paid-until date and status. Retrieve account tariff and billing status for the API login bound to the current request. The response returns api_login, tariff_id, tariff_name, paid_until, status and tariff_parameters and the method does not require a request body for either POST or GET. tariff_parameters is keyed by tariff parameter name; each value contains is_enable and current_limit. current_limit is null when the parameter has no limit. Clients should treat missing tariff parameter keys as disabled. The method does not perform a separate permission check, but access still requires a valid current request context with api_login and reads tariff data for that account without changing server state. Missing api_login, missing tariff data and tariff lookup failures are returned as HTTP 200 ErrorResult.
Request Parameters
No request body.
Request Example
{}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | SysGetInfoResponse | Result object. |
Response Example
{
"ok": true,
"result": {
"api_login": "api00001",
"tariff_id": 12,
"tariff_name": "Business",
"paid_until": "2026-12-31T23:59:59",
"status": "Active",
"tariff_parameters": {
"report_builder_able": {
"is_enable": true,
"current_limit": null
},
"disc_space": {
"is_enable": true,
"current_limit": 1024
}
}
}
}