New company creation.
Company creation request.
key required | string [ 3 .. 256 ] characters \w+ Unique company key. |
detail | string or null [ 0 .. 1024 ] characters Default: null Company detail. |
{- "key": "my_company",
- "detail": null
}
{- "key": "my_company",
- "detail": null
}
Updating the company information.
Company update request.
key required | string [ 3 .. 256 ] characters \w+ Unique company key. |
detail | string or null [ 0 .. 1024 ] characters Default: null Company detail. |
key required | string [ 3 .. 256 ] characters \w+ Unique company key. |
detail | string or null [ 0 .. 1024 ] characters Default: null Company detail. |
{- "key": "my_company",
- "detail": null
}
{- "key": "my_company",
- "detail": null
}
Getting a list of companies.
offset | integer<int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 The number of items to skip before starting to collect the result set. |
limit | integer<int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 The number of items to return. |
filter | string [ 1 .. 64 ] characters Example: filter=example text Filter for searching by text fields. |
sort_field | string [ 1 .. 64 ] characters Example: sort_field=name Field to sort by. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Sort direction. |
required | Array of objects (company) [ 0 .. 10000000 ] items A list of companies. |
required | object (company_list_stats) Statistics by company list. |
{- "companies": [
- {
- "key": "my_company",
- "detail": null
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Getting company information by key.
key required | string (company_key) [ 3 .. 256 ] characters \w+ Example: my_company Company key. |
key required | string [ 3 .. 256 ] characters \w+ Unique company key. |
detail | string or null [ 0 .. 1024 ] characters Default: null Company detail. |
{- "key": "my_company",
- "detail": null
}
Removing a company by key.
key required | string (company_key) [ 3 .. 256 ] characters \w+ Example: my_company Company key. |
{- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}, - "message": "Bad Request"
}
New user creation.
User creation request.
username required | string (user_name) [ 2 .. 256 ] characters \w+ Login, unique identifier. |
password | string or null<password> [ 5 .. 256 ] characters Default: null Password. |
name | string or null [ 2 .. 256 ] characters Default: null Full name of user. |
string or null<email> [ 5 .. 256 ] characters Default: null User mail address. | |
phone | string or null [ 5 .. 32 ] characters Default: null User phone. |
company_key required | string (company_key) [ 3 .. 256 ] characters \w+ Company key. |
enabled | boolean Default: true User status. |
roles required | Array of strings (user_roles) [ 0 .. 2 ] items unique Items Enum: "ADMIN" "PARTNER" "USER" … 1 more List of user roles. |
timezone | integer<int32> [ -12 .. 12 ] Default: 0 Basic time zone used for statistics. |
{- "username": "my_username_for_login",
- "password": "my_password",
- "name": "my_visible_name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "company_key": "my_company",
- "enabled": true,
- "roles": [ ],
- "timezone": 3
}
{- "username": "my_username_for_login",
- "name": "my_visible_name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "company_key": "my_company",
- "enabled": true,
- "roles": [ ],
- "timezone": 3
}
Updating the user information by login. The username field cannot be changed.
User update request.
username required | string (user_name) [ 2 .. 256 ] characters \w+ Login, unique identifier. |
password | string or null<password> [ 5 .. 256 ] characters Default: null Password. |
name | string or null [ 2 .. 256 ] characters Default: null Full name of user. |
string or null<email> [ 5 .. 256 ] characters Default: null User mail address. | |
phone | string or null [ 5 .. 32 ] characters Default: null User phone. |
company_key required | string (company_key) [ 3 .. 256 ] characters \w+ Company key. |
enabled | boolean Default: true User status. |
roles required | Array of strings (user_roles) [ 0 .. 2 ] items unique Items Enum: "ADMIN" "PARTNER" "USER" … 1 more List of user roles. |
timezone | integer<int32> [ -12 .. 12 ] Default: 0 Basic time zone used for statistics. |
username required | string (user_name) [ 2 .. 256 ] characters \w+ Login, unique identifier. |
name | string or null [ 2 .. 256 ] characters Default: null Full name of user. |
string or null<email> [ 5 .. 256 ] characters Default: null User mail address. | |
phone | string or null [ 5 .. 32 ] characters Default: null User phone. |
company_key required | string (company_key) [ 3 .. 256 ] characters \w+ Company key. |
enabled | boolean Default: true User status. |
roles required | Array of strings (user_roles) [ 0 .. 2 ] items unique Items Enum: "ADMIN" "PARTNER" "USER" … 1 more List of user roles. |
timezone | integer<int32> [ -12 .. 12 ] Default: 0 Basic time zone used for statistics. |
{- "username": "my_username_for_login",
- "password": "my_password",
- "name": "my_visible_name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "company_key": "my_company",
- "enabled": true,
- "roles": [ ],
- "timezone": 3
}
{- "username": "my_username_for_login",
- "name": "my_visible_name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "company_key": "my_company",
- "enabled": true,
- "roles": [ ],
- "timezone": 3
}
Getting a list of users.
offset | integer<int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 The number of items to skip before starting to collect the result set. |
limit | integer<int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 The number of items to return. |
filter | string [ 1 .. 64 ] characters Example: filter=example text Filter for searching by text fields. |
sort_field | string [ 1 .. 64 ] characters Example: sort_field=name Field to sort by. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Sort direction. |
company_key | string (company_key) [ 3 .. 256 ] characters \w+ Example: company_key=my_company Company key. |
user_group | string (user_groups) Default: "TOTAL" Enum: "TOTAL" "ACTIVE" "BLOCKED" … 1 more Example: user_group=ACTIVE Users logic groups. |
required | Array of objects (user) [ 0 .. 10000000 ] items A list of users. |
required | object (user_list_stats) Statistics by users list. |
{- "users": [
- {
- "username": "my_username_for_login",
- "name": "my_visible_name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "company_key": "my_company",
- "enabled": true,
- "roles": [ ],
- "timezone": 3
}
], - "statistics": {
- "overall": {
- "total": 1,
- "active": 1,
- "blocked": 1,
- "admins": 1
}, - "filter": {
- "total": 1,
- "active": 1,
- "blocked": 1,
- "admins": 1
}
}
}
Getting user information by login.
username required | string (user_name) [ 2 .. 256 ] characters \w+ Example: my_username_for_login Login, unique identifier. |
username required | string (user_name) [ 2 .. 256 ] characters \w+ Login, unique identifier. |
name | string or null [ 2 .. 256 ] characters Default: null Full name of user. |
string or null<email> [ 5 .. 256 ] characters Default: null User mail address. | |
phone | string or null [ 5 .. 32 ] characters Default: null User phone. |
company_key required | string (company_key) [ 3 .. 256 ] characters \w+ Company key. |
enabled | boolean Default: true User status. |
roles required | Array of strings (user_roles) [ 0 .. 2 ] items unique Items Enum: "ADMIN" "PARTNER" "USER" … 1 more List of user roles. |
timezone | integer<int32> [ -12 .. 12 ] Default: 0 Basic time zone used for statistics. |
{- "username": "my_username_for_login",
- "name": "my_visible_name",
- "email": "admin@company.com",
- "phone": "+71112223333",
- "company_key": "my_company",
- "enabled": true,
- "roles": [ ],
- "timezone": 3
}
Removing a user by login.
username required | string (user_name) [ 2 .. 256 ] characters \w+ Example: my_username_for_login Login, unique identifier. |
{- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}, - "message": "Bad Request"
}
User actions for the period. If the period is not specified, records for the current day are returned from the beginning of the day to the current time. If username is empty, report on all users are processed.
offset | integer<int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 The number of items to skip before starting to collect the result set. |
limit | integer<int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 The number of items to return. |
from | string<date-time> Example: from=2024-02-21T09:30:00+03:00 Date and time in the ISO 8601 format. If no datetime is specified, audit data are returned from the beginning of the day. |
to | string<date-time> Example: to=2024-02-21T18:00:00+03:00 Date and time in the ISO 8601 format. If not specified, data up to the current time is returned. |
company_key | string (company_key) [ 3 .. 256 ] characters \w+ Example: company_key=my_company Company key. |
username | string (user_name) [ 2 .. 256 ] characters \w+ Example: username=my_username_for_login Login, unique identifier. |
service_name | string (service_name) Enum: "UNIVERSAL" "ROUTING" "ACCOUNT" … 9 more Example: service_name=UNIVERSAL Service name. |
operation_id | string (operation_id) [ 3 .. 256 ] characters Example: operation_id=run_plan_calculation Operation identifier. |
method_group | string (method_group) Enum: "NOTRACE" "TRACE" "PLAN" … 9 more Example: method_group=PLAN Method group name. |
sort_field | string [ 1 .. 64 ] characters Example: sort_field=name Field to sort by. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Sort direction. |
required | Array of objects (audit_action) [ 0 .. 10000000 ] items User audit data list. |
required | object (audit_stats) Statistics by records list. |
{- "actions": [
- {
- "username": "my_username_for_login",
- "company_key": "my_company",
- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}, - "method_group": "PLAN",
- "statistics": {
- "points_count": 1500,
- "duration": "P1Y1M1DT2H12M34.3S"
}
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Receiving data by tracecode
.
tracecode required | string<uuid> Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
data_flow_type | string (flow_type) Default: "INPUT" Enum: "INPUT" "OUTPUT" Example: data_flow_type=OUTPUT Data flow type. |
data_flow_stage | integer<int32> [ 0 .. 3 ] Default: 0 Example: data_flow_stage=1 Data flow stage. |
data_flow_convert | string (flow_convert) Deprecated Default: "ORIGIN" Enum: "ORIGIN" "JSON" "XLSX" Example: data_flow_convert=JSON Data result convert. |
File with data in XLSX format.
{- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}, - "message": "Bad Request"
}
User statistics for the period. If username is empty, statistics on all users are processed. If the period is not specified, the statistics for the current month returns (from the beginning of the month to the present day). If no 'from' datetime is specified, data are returned from the beginning of the month. If no 'to' datetime is specified, data are returned be to the present day (excluding).
username | string (user_name) [ 2 .. 256 ] characters \w+ Example: username=my_username_for_login Login, unique identifier. |
from | string<date> Example: from=2024-02-22 Date 'from' in the YYYY-MM-DD format. |
to | string<date> Example: to=2024-02-22 Date 'to' in the YYYY-MM-DD format. |
required | Array of objects (user_statistics) [ 0 .. 10000000 ] items User statistics list. |
{- "users": [
- {
- "username": "my_username_for_login",
- "dates": [
- {
- "date": "2024-02-05",
- "services": [
- {
- "service": "UNIVERSAL",
- "methods": [
- {
- "method_group": "PLAN",
- "unique_points_per_day": 1500,
- "points_per_day": 1500
}
]
}
]
}
]
}
]
}
Report by user for the period. If username is empty, report on all users are processed. If the period is not specified, the report for the current month returns (from the beginning of the month to the present day). If no 'from' datetime is specified, data are returned from the beginning of the month. If no 'to' datetime is specified, data are returned be to the present day (excluding).
username | string (user_name) [ 2 .. 256 ] characters \w+ Example: username=my_username_for_login Login, unique identifier. |
from | string<date> Example: from=2024-02-22 Date 'from' in the YYYY-MM-DD format. |
to | string<date> Example: to=2024-02-22 Date 'to' in the YYYY-MM-DD format. |
File with data in XLSX format.
{- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}, - "message": "Bad Request"
}
Setting the quotas for the user for a specific time period from date to date.
username required | string (user_name) [ 2 .. 256 ] characters \w+ Example: my_username_for_login Login, unique identifier. |
Request to change the quota on the date.
required | Array of objects (service_quota) [ 1 .. 100 ] items unique All services quota list. |
{- "services": [
- {
- "service": "UNIVERSAL",
- "methods": [
- {
- "method_group": "PLAN",
- "points_per_request": 15,
- "points_per_day": 1500,
- "points_per_date_window": 1500,
- "max_concurrent_execution": 5
}
]
}
]
}
{- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}, - "message": "Bad Request"
}
Obtaining the quotas for the user.
username required | string (user_name) [ 2 .. 256 ] characters \w+ Example: my_username_for_login Login, unique identifier. |
required | object (quota_base) All services quota. |
{- "base": {
- "services": [
- {
- "service": "UNIVERSAL",
- "methods": [
- {
- "method_group": "PLAN",
- "points_per_request": 15,
- "points_per_day": 1500,
- "points_per_date_window": 1500,
- "max_concurrent_execution": 5
}
]
}
]
}
}
Quota removal for the user.
username required | string (user_name) [ 2 .. 256 ] characters \w+ Example: my_username_for_login Login, unique identifier. |
{- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}, - "message": "Bad Request"
}
获取服务版本。
major required | integer<int32> [ 1 .. 100 ] 产品版本。 在单个版本中,保证了服务之间通用数据结构的兼容性。 版本更改表示与以前版本的产品(和所有服务)不兼容的更改。 |
minor required | integer<int32> [ 0 .. 111 ] 服务的小版本。 版本更改表示新功能。 该更新向后兼容服务的主要版本。 |
build required | string [ 1 .. 64 ] characters 构建版本。 包含向后兼容的错误修复和文档更新。 |
{- "major": 4,
- "minor": 4,
- "build": "1754RC"
}
检查服务可用性。
filename required | string [ 6 .. 128 ] characters Example: file_en.html File name. |
File with data in HTML format.
{- "resource_id": "resource_id",
- "detail": {
- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}
}