以下のトリガーでWebhookを設定する場合は、Webhookを実行する対象のスペースを選択してください。APIを使用してWebhookを作成する場合、このトリガーの種類では「partitionIds」属性が必須です。
設定で選択したスペースに新しいメンバーが追加されると、送信Webhookが実行されます。
トリガーの種類:Member_Added_In_Space
{
'payload': {
'id': '1006052107',
'name': 'Carol Clark',
'emailId': 'Carolclark@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/1006052107',
'memberType': '0',
'userStatus': 'active',
'userProfile': {
'firstName': 'Carol Clark',
'lastName': '',
'timeZone': 'Asia/Kolkata',
'customFields': {
'12266000000430041': {
'name': 'カスタム項目3',
'type': 'DATE'
},
'12266000000430035': {
'name': 'カスタム項目2',
'type': 'TEXTAREA'
},
'12266000000430029': {
'name': 'カスタム項目1',
'type': 'TEXT'
},
'12266000000430073': {
'name': 'カスタム項目6',
'type': 'FILE'
},
'12266000000430047': {
'name': 'カスタム項目4',
'type': 'SELECTBOX'
},
'12266000000430059': {
'name': 'カスタム項目5',
'type': 'MULTI_SELECTBOX'
}
}
}
},
'partition': {
'type': '2',
'id': '12266000000008040',
'name': '教科書 - フィードバック',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'ミシェル',
'emailId': 'michelle@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Member_Added_In_Space',
'triggeredTime': '17 Nov 2021, 12:30 PM',
'triggeredTimeInMillis': '1637132454072',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
設定で選択したスペースからメンバーが削除されると、送信Webhookが実行されます。
トリガーの種類:Member_Removed_From_Space
{
'payload': {
'id': '62592875',
'name': 'エマ・ストーン',
'emailId': 'emmastone@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875',
'memberType': '0',
'userStatus': 'active',
'userProfile': {
'firstName': 'ラジェシュ・ビルラ',
'lastName': '+1',
'timeZone': 'Asia/Kolkata',
'customFields': {
'12266000000430035': {
'name': 'カスタム項目 2',
'type': 'TEXTAREA',
'value': 'カスタム項目の値'
},
'12266000000430041': {
'name': 'カスタム項目 3',
'type': 'DATE',
'value': '05 Nov 2021'
},
'12266000000430073': {
'name': 'カスタム項目 6',
'type': 'FILE',
'value': {
'fileId': '12266000000491135',
'size': '89134',
'name': 'image.png',
'contentType': 'image/png',
'downloadUrl': 'https://communityspaces.zoho.com/pulse/api/downloadFile?scopeID=12266000000002002&fileId=12266000000491135',
'extension': 'png'
}
},
'12266000000430029': {
'name': 'カスタム項目 1',
'type': 'TEXT',
'value': 'カスタム項目の値'
},
'12266000000430047': {
'name': 'カスタム項目 4',
'type': 'SELECTBOX',
'value': '12266000000430049'
},
'12266000000430059': {
'name': 'カスタム項目 5',
'type': 'MULTI_SELECTBOX',
'value': [
{
'id': '12266000000430061',
'name': '選択肢 1'
},
{
'id': '12266000000430063',
'name': '選択肢2'
}
]
}
}
}
},
'partition': {
'type': '2',
'id': '12266000000008040',
'name': '教科書 - フィードバック',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'ミシェル',
'emailId': 'michelle@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Member_Removed_From_Space',
'triggeredTime': '17 Nov 2021, 12:35 PM',
'triggeredTimeInMillis': '1637132704038',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}