Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Заголовки
X-Tenant-Id
integer
Компания, в контексте которой выполняется запрос — её id из GET /v1/tenant/. Пользователь должен состоять в этой компании: чужой id доступа к данным не даёт. Без заголовка компания определяется по домену запроса.
Параметры пути
id
integer
обязательно
Ответ
200 - application/json
id
integer
обязательно
read-only
name
string
обязательно
Maximum string length: 255
inventory
object
обязательно
Show child attributes
maintenance_date
string<date-time>
обязательно
responsible
integer
обязательно
comment
string | null
обязательно
read-only
fact_maintenance_date
string<date-time> | null
обязательно
read-only
end_total_distance
integer | null
обязательно
read-only
resources
object[]
обязательно
read-only
Show child attributes
description
string | null
state
integer | null
interval
string | null
type
enum<integer>
0 - Разовое
1 - Периодическое
Доступные опции:
0,
1
Требуемый диапазон: -32768 <= x <= 32767
period_type
enum<integer>enum<number>
0 - По интервалу
1 - По пробегу
Доступные опции:
0,
1
Требуемый диапазон: -32768 <= x <= 32767
distance_threshold
integer | null
Требуемый диапазон: -2147483648 <= x <= 2147483647
time_threshold
string | null
total_distance
integer<int64> | null
Требуемый диапазон: -9223372036854776000 <= x <= 9223372036854776000
distance
integer<int64> | null
Требуемый диапазон: -9223372036854776000 <= x <= 9223372036854776000