Get user participation status
Gets the event participation status of the current user
Function GetUserParticipationStatus(Val URL, Val EventID, 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 |
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.get
1C:Enterprise/OneScript code example
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
EventID = "486";
Result = OPI_Bitrix24.GetUserParticipationStatus(URL, EventID);
URL = "b24-ar17wx.bitrix24.by";
Token = "8536b467006e9f06006b12e400000001000...";
EventID = "490";
Result = OPI_Bitrix24.GetUserParticipationStatus(URL, EventID, Token);
- Bash
- CMD/Bat
oint bitrix24 GetUserParticipationStatus \
--url "b24-ar17wx.bitrix24.by" \
--event 522 \
--token "***"
oint bitrix24 GetUserParticipationStatus ^
--url "b24-ar17wx.bitrix24.by" ^
--event 522 ^
--token "***"
Result
{
"result": "H",
"time": {
"start": 1739051124.7759,
"finish": 1739051124.82087,
"duration": 0.0449759960174561,
"processing": 0.0209991931915283,
"date_start": "2025-02-09T00:45:24+03:00",
"date_finish": "2025-02-09T00:45:24+03:00",
"operating_reset_at": 1739051724,
"operating": 0
}
}