Начать голосование
Переводит комитет в состояние голосования. Голосовать участники могут с помощью метода vote. Возможные ошибки: COMMITTEEVOTING_ALREADY_STARTED если голосование уже началось COMMITTEEWAS_CLOSED если комитет закрыт Требуется доступ committee.edit
Path Parameters
id int64 required
id
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.284Z",
"creationDate": "2024-11-20T07:47:13.284Z",
"currentState": "COMPLETED",
"finalDecision": [
{
"comment": "string",
"decision": "APPROVE",
"decisionDate": "2024-11-20T07:47:13.284Z",
"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.284Z",
"loanApplicationId": 0,
"userId": 0
}
],
"members": [
{
"priority": 0,
"userId": 0
}
],
"name": "string",
"secretaryId": 0
}
Created
Unauthorized
Forbidden
Not Found
Loading...