FileActionEligibilityResponseDto
Response for GET /v1/files/{fileId}/action-eligibility (4.3.7)
fileIdstring<uuid>
The file
canMarkCompleteboolean
POST /transition with action "complete" is allowed
canCancelboolean
POST /transition with action "cancel" is allowed
canReopenboolean
POST /transition with action "reopen" is allowed
canRestoreboolean
POST /transition with action "restore" is allowed
cancelBlockedReasonstringnullable
Why cancel is not allowed (empty when allowed)
reopenBlockedReasonstringnullable
Why reopen is not allowed (empty when allowed)
successboolean
Indicates whether the operation was successful
messagestringnullable
Error message if the operation failed
FileActionEligibilityResponseDto
{
"fileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"canMarkComplete": true,
"canCancel": true,
"canReopen": true,
"canRestore": true,
"cancelBlockedReason": "string",
"reopenBlockedReason": "string",
"success": true,
"message": "string"
}