投票が開始されるたびに、送信Webhookを実行します。
トリガーの種類:Poll_Created
{
'payload': {
'id': '12266000000493174',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174',
'title': '',
'createdTime': '17 Nov 2021, 03:38 PM',
'createdTimeInMillis': '1637143715698',
'options': [
{
'option': '線画アイコン',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007&size=thumb',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007&size=original'
},
{
'option': '塗りつぶしアイコン',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008&size=thumb',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008&size=original'
},
{
'option': 'アイコンなし'
}
],
'partition': {
'type': '1',
'id': '12266000000002010',
'name': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'mentions': {
'user': [],
'partition': [
{
'id': '12266000000008040',
'name': '教科書 - フィードバック',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
}
],
'orgGroup': []
},
'tags': [],
'embedAttachments': {
'image': {},
'file': {},
'video': {}
},
'plainContent': 'こんにちは、@Textbook - Feedback チームの皆さん。\n \n製品のアイコンを選択してください。',
'richContent': 'こんにちは、@<a href='https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'target='blank'>Textbook - Feedback</a> チームの皆さん。<br/> <br/>製品のアイコンを選択してください。',
'rawContent': 'こんにちは、<parition:mention>12266000000008040:Textbook - Feedback</parition:mention> チームの皆さん。<br/> <br/>製品のアイコンを選択してください。',
'attachments': []
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'ミシェル',
'emailId': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Poll_Created',
'triggeredTime': '17 Nov 2021, 03:38 PM',
'triggeredTimeInMillis': '1637143715947',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
投票が更新されると、送信Webhookが実行されます。
トリガーの種類:Poll_Updated
{
'payload': {
'id': '12266000000493174',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174',
'title': '',
'createdTime': '17 Nov 2021, 03:38 PM',
'createdTimeInMillis': '1637143715698',
'options': [
{
'option': 'ラインアイコン',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007&size=thumb',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007&size=original'
},
{
'option': '塗りつぶしアイコン',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008&size=thumb',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008&size=original'
},
{
'option': 'アイコンなし'
}
],
'partition': {
'type': '1',
'id': '12266000000002010',
'name': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'mentions': {
'user': [],
'partition': [
{
'id': '12266000000008040',
'name': 'Textbook - Feedback',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
}
],
'orgGroup': []
},
'tags': [],
'embedAttachments': {
'image': {},
'file': {},
'video': {}
},
'plainContent': 'こんにちは、@Textbook - Feedback チームの皆さん。\n \n製品のアイコンを選んでください。投票結果をもとにアイコンを決定します。',
'richContent': 'こんにちは、@<a href='https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'target='blank'>Textbook - Feedback</a> チームの皆さん。<br/> <br/>製品のアイコンを選んでください。投票結果をもとにアイコンを決定します。',
'rawContent': 'こんにちは、<parition:mention>12266000000008040:Textbook - Feedback</parition:mention> チームの皆さん。<br/> <br/>製品のアイコンを選んでください。投票結果をもとにアイコンを決定します。',
'attachments': []
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'Michelle',
'emailId': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Poll_Updated',
'triggeredTime': '17 Nov 2021, 03:39 PM',
'triggeredTimeInMillis': '1637143796936',
'scope': {
'id': '12266000000002002',
'name': 'Zylker',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
投票が削除されると、送信Webhookが実行されます。
トリガーの種類:Poll_Deleted
{
'payload': {
'id': '12266000000464405'
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'Michelle',
'emailId': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Poll_Deleted',
'triggeredTime': '17 Nov 2021, 03:40 PM',
'triggeredTimeInMillis': '1637143817455',
'scope': {
'id': '12266000000002002',
'name': 'Zylker',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
投票に新しいコメントが追加されると、送信Webhookが実行されます。
トリガーの種類:Poll_Comment_Created
{
'payload': {
'id': '12266000000493223',
'parentCommentId': '',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174/12266000000493223',
'streamId': '12266000000493174',
'streamUrl': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174',
'createdTime': '17 Nov 2021, 03:41 PM',
'createdTimeInMillis': '1637143895866',
'partition': {
'type': '1',
'id': '12266000000002010',
'name': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'mentions': {
'user': [
{
'id': '61683612',
'name': 'Michelle',
'emailId': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
}
],
'partition': [],
'orgGroup': []
},
'tags': [],
'embedAttachments': {
'image': {
'12266000000493224': {
'fileId': '12266000000493224',
'size': '728024',
'name': 'Continous Failure.png',
'contentType': 'image/png',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000493224',
'extension': 'png',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/viewImage?scopeID=12266000000002002&fileId=12266000000493224',
'imgWidth': '766',
'imgHeight': '400'
}
},
'file': {},
'video': {}
},
'plainContent': '@Michelle \n以下の画像を投票の選択肢に追加しませんか? \n',
'richContent': '@<a href='https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'target='blank'>Michelle</a> <br/>以下の画像を投票の選択肢に追加しませんか? <br/>',
'rawContent': '<user:mention>61683612:Michelle</user:mention> <br/>以下の画像を投票の選択肢に追加しませんか? <br/><embed type='image' fileId='12266000000493224' >',
'attachments': []
},
'triggeredBy': {
'type': '0',
'id': '62592875',
'name': 'Emma Stone',
'emailId': 'emmastone@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'triggerType': 'Poll_Comment_Created',
'triggeredTime': '17 Nov 2021, 03:41 PM',
'triggeredTimeInMillis': '1637143896278',
'scope': {
'id': '12266000000002002',
'name': 'Zylker',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
投票のコメントが編集されると、送信Webhookが実行されます。
トリガーの種類:Poll_Comment_Updated
{
'payload': {
'id': '12266000000493247',
'parentCommentId': '12266000000493223',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174/12266000000493247',
'streamId': '12266000000493174',
'streamUrl': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174',
'createdTime': '17 Nov 2021, 03:42 PM',
'createdTimeInMillis': '1637143940988',
'partition': {
'type': '1',
'id': '12266000000002010',
'name': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'mentions': {
'user': [
{
'id': '62592875',
'name': 'Emma Stone',
'emailId': 'emmastone@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
}
],
'partition': [],
'orgGroup': []
},
'tags': [],
'embedAttachments': {
'image': {},
'file': {},
'video': {}
},
'plainContent': '承知しました。@Emma Stoneが選択肢を追加します',
'richContent': '承知しました。@<a href='https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'target='blank'>Emma Stone</a>が選択肢を追加します',
'rawContent': '承知しました。<user:mention>62592875:Emma Stone</user:mention>が選択肢を追加します',
'attachments': []
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'Michelle',
'emailId': 'michelle@zylker,com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Poll_Comment_Updated',
'triggeredTime': '17 Nov 2021, 03:42 PM',
'triggeredTimeInMillis': '1637143950471',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
投票のコメントが削除されると、送信Webhookが実行されます。
トリガーの種類:Poll_Comment_Deleted
{
'payload': {
'streamId': '12266000000493174',
'id': '12266000000493233'
},
'triggeredBy': {
'type': '0',
'id': '62592875',
'name': 'エマ・ストーン',
'emailId': 'emmastone@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'triggerType': 'Poll_Comment_Deleted',
'triggeredTime': '17 Nov 2021, 03:41 PM',
'triggeredTimeInMillis': '1637143915553',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}