Получить report по шаблону
GET
bearerheader
AuthorizationBearer <token>Токен сервисного аккаунта. См. раздел «Аутентификация».
template_id*numberТело ответа
responseapplication/json
uid*numberlogo*string | nullbackground*string | nullheader*booleanfooter*booleanquestions*booleantable_of_contents*booleanВозможные ошибки
401Unauthorized
unauthorized: Необходима авторизация
{ "statusCode": 401, "error": "unauthorized", "message": "Необходима авторизация"}403Forbidden
access_denied: Недостаточно прав
{ "statusCode": 403, "error": "access_denied", "message": "Недостаточно прав"}curl -X GET 'https://org.inspecto.in/api/reports/template/0'Пример ответа
{ "uid": 0, "logo": "string", "background": "string", "header": true, "footer": true, "questions": true, "table_of_contents": true}