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 = "2388";
Status = "Y";
Result = OPI_Bitrix24.SetUserParticipationStatus(URL, EventID, Status);
URL = "b24-ar17wx.bitrix24.by";
Token = "75d8c668006e9f06006b12e400000001000...";
EventID = "2392";
Result = OPI_Bitrix24.SetUserParticipationStatus(URL, EventID, Status, Token);
- Bash
- CMD/Bat
oint bitrix24 SetUserParticipationStatus \
--url ""b24-ar17wx.bitrix24.by"" \
--event "2472" \
--status ""Y"" \
--token "***"
oint bitrix24 SetUserParticipationStatus ^
--url ""b24-ar17wx.bitrix24.by"" ^
--event "2472" ^
--status ""Y"" ^
--token "***"
Result
{
"result": true,
"time": {
"start": 1757977121.69556,
"finish": 1757977121.77019,
"duration": 0.0746340751647949,
"processing": 0.0509688854217529,
"date_start": "2025-09-15T22:58:41+00:00",
"date_finish": "2025-09-15T22:58:41+00:00",
"operating_reset_at": 1757977721,
"operating": 0
}
}