Skip to content

Сохранить решение по файлу заявки

Request

Сохраняет черновое решение. До завершения проверки оно не меняет статус файла для пользователя и не показывает ему комментарий.

Security
bearerAuth or jwtCookie
Path
sourcestringrequired
Enum:"REFERRAL""BUSINESS"
businessTypestringrequired
Enum:"SE""IE""LLC"
businessEntityIdinteger, (int64), >= 1required
fileIdinteger, (int64), >= 1required
Bodyapplication/jsonrequired
decisionstringrequired
Enum:"APPROVE""REQUEST_REUPLOAD"
commentstring or null, <= 2000 characters

Обязателен и не может быть пустым для REQUEST_REUPLOAD; для APPROVE допускается null.

curl -i -X PATCH \
  'https://felmee.com/api/admin/business-registry/applications/{source}/{businessType}/{businessEntityId}/documents/{fileId}/decision' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "decision": "APPROVE",
    "comment": "string"
  }'

Responses

Решение сохранено; возвращена карточка с черновыми решениями

Bodyapplication/json
codeErrorstring or nullrequired

Устаревший camelCase-alias поля error_code; при ошибке оба поля содержат одинаковое значение.

successbooleanrequired

Флаг успешного выполнения запроса

messagestringrequired

Человекочитаемое описание результата

error_codestring or null(ERROR_CODE)required

Код ошибки. Для успешных ответов всегда null.

Enum:"INVALID_BODY""INVALID_DATE""invalid_body""unauthorized""not_found""slot_unavailable""conflict""BUSINESS_INACTIVE""INSUFFICIENT_FUNDS""REQUISITES_REQUIRED"
dataobject or null(BusinessApplicationCard)required

Полезная нагрузка. Может быть объектом, массивом или null.

Response
{ "success": true, "message": "Document decision saved successfully", "codeError": null, "error_code": null, "data": { "source": "BUSINESS", "business_type": "SE", "business_entity_id": 42, "status": "NEW_APPLICATION", "bank_status": "NOT_SENT", "submitted_at": "2026-10-28T12:00:00Z", "partner": { … }, "documents": [ … ], "requisites": null } }