Завершить комитет
Принимает список финальных голосов. Может выполняться только секретарём данного комитета. После завершение голоса от пользователей не принимаются. Но он всё ещё доступен для изменений. Требуется доступ committee.edit
Path Parameters
id int64 required
id
application/json
Request Body array required
votes
- Array [
- ]
comment string
decision string
Possible values: [APPROVE
, DENY
, IGNORE
]
loanApplicationId int64
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
comment string
committeeDate date-time
creationDate date-time
currentState string
Possible values: [COMPLETED
, CREATED
, VOTING_BEGAN
, VOTING_ENDED
]
finalDecision object[]
comment string
decision string
Possible values: [APPROVE
, DENY
, IGNORE
]
decisionDate date-time
loanApplicationId int64
userId int64
id int64
loanApplications object[]
additionalConditions string
comment string
control string
loanApplicationId int64 required
relatedActivities string
reporter string
memberVotes object[]
comment string
decision string
Possible values: [APPROVE
, DENY
, IGNORE
]
decisionDate date-time
loanApplicationId int64
userId int64
members object[]
priority int32
userId int32 required
name string
secretaryId int32
{
"comment": "string",
"committeeDate": "2024-11-20T07:47:13.282Z",
"creationDate": "2024-11-20T07:47:13.282Z",
"currentState": "COMPLETED",
"finalDecision": [
{
"comment": "string",
"decision": "APPROVE",
"decisionDate": "2024-11-20T07:47:13.282Z",
"loanApplicationId": 0,
"userId": 0
}
],
"id": 0,
"loanApplications": [
{
"additionalConditions": "string",
"comment": "string",
"control": "string",
"loanApplicationId": 0,
"relatedActivities": "string",
"reporter": "string"
}
],
"memberVotes": [
{
"comment": "string",
"decision": "APPROVE",
"decisionDate": "2024-11-20T07:47:13.282Z",
"loanApplicationId": 0,
"userId": 0
}
],
"members": [
{
"priority": 0,
"userId": 0
}
],
"name": "string",
"secretaryId": 0
}
Created
Unauthorized
Forbidden
Not Found
Loading...