電話会議の参加者をすべて返します。
表 : 1. パラメーター
| 名前 |
タイプ |
説明 |
| conferenceCallId |
文字列 |
電話会議の ID です。 |
| isCallable |
ブーリアン |
呼び出すことができるユーザー (True) または呼び出すことができないユーザー (False) のいずれかのみを返すためのオプションのフラグです。 |
表 : 2. 返される内容
| タイプ |
説明 |
| GlideRecord |
参加者です。 |
var nn = new SNC.NotifyNow();
var user = nn.getConferenceCallParticipants('c2e91710eb120100f34087b9d106fe37');
while (user.hasNext() && user.next()) {
if (user.getValue('participant')) {
gs.log('user: ' + user.getValue('sys_id'));
} else {
gs.log('phone number: ' + user.getValue('phone_number'));
}
}
var nn = new SNC.NotifyNow();
var user = nn.getConferenceCallParticipants('c2e91710eb120100f34087b9d106fe37', true);
while (user.hasNext() && user.next()) {
if (user.getValue('participant')) {
gs.log('user: ' + user.getValue('sys_id'));
} else {
gs.log('phone number: ' + user.getValue('phone_number'));
}
}
var conferenceCallId = '32b11430eb1201003cf587b9d106feb8';
// get all participants
gs.log('all conference call participants:');
var nn = new SNC.NotifyNow();
var user = nn.getConferenceCallParticipants(conferenceCallId);
gs.log(user);
// get all callable participants
gs.log('all conference call participants we can call:');
user = nn.getConferenceCallParticipants(conferenceCallId, true);
gs.log(user);
// get all un callable participants
gs.log('all conference call participants that are already in an active session and whom we cannot call:');
user = nn.getConferenceCallParticipants(conferenceCallId, false);
gs.log(user);