Set user participation status
Sets the event participation status for the current user
Function SetUserParticipationStatus(Val URL, Val EventID, Val Status, Val Token = "") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| URL | --url | String | ✔ | URL of webhook or a Bitrix24 domain, when token used |
| EventID | --event | Number | ✔ | Calednar event ID |
| Status | --status | String | ✔ | Participation status: Y (agreed), N (refused), Q (did not answer) |
| Token | --token | String | ✖ | Access token, when app auth method used |
Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API
tip
Method at API documentation: calendar.meeting.status.set
1C:Enterprise/OneScript code example
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
EventID = "2748";
Status = "Y";
Result = OPI_Bitrix24.SetUserParticipationStatus(URL, EventID, Status);
URL = "b24-ar17wx.bitrix24.by";
Token = "8a1bee68006e9f06006b12e400000001000...";
EventID = "2752";
Result = OPI_Bitrix24.SetUserParticipationStatus(URL, EventID, Status, Token);
- Bash
- CMD/Bat
oint bitrix24 SetUserParticipationStatus \
--url "b24-ar17wx.bitrix24.by" \
--event 2792 \
--status "Y" \
--token "***"
oint bitrix24 SetUserParticipationStatus ^
--url "b24-ar17wx.bitrix24.by" ^
--event 2792 ^
--status "Y" ^
--token "***"
Result
{
"result": true,
"time": {
"start": 1760522674,
"finish": 1760522674.41826,
"duration": 0.418262004852295,
"processing": 0,
"date_start": "2025-10-15T10:04:34+00:00",
"date_finish": "2025-10-15T10:04:34+00:00",
"operating_reset_at": 1760523274,
"operating": 0
}
}