GET/groups
グループリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
directory
directory.read
group
group.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID (既定値: 認可ドメイン ID) example : 10000001 format : int32 |
| count | integer | 取得数 default : 100 minimum : 1 maximum : 100 example : 100 format : int32 |
| cursor | string | リストのカーソル値 (URL エンコードする) example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| groups | array (Group) | グループリスト |
| responseMetaData | object (responseMetaData) | 応答メタデータ |
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID required format : int32 |
| groupId | string | グループ ID
readOnly : true |
| groupName | string | グループ名 required maxLength : 100 |
| description | string | グループ説明 maxLength : 300 nullable : true |
| visible | boolean | グループ公開フラグ 管理者/グループメンバー以外のメンバーによる検索の結果に表示するか否か default : true |
| useServiceNotification | boolean | サービス通知送信フラグ default : false |
| serviceManageable | boolean | グループマスターによる利用機能の変更可否フラグ default : true |
| groupExternalKey | string | グループの ExternalKey
maxLength : 100 nullable : true |
| administrators | array (GroupAdministrator) | グループマスターリスト required minItems : 1 |
| members | array (GroupMember) | グループメンバーリスト required |
| useMessage | boolean | トークの利用フラグ
default : false |
| useNote | boolean | ノートの利用フラグ
default : false |
| useCalendar | boolean | 予定の利用フラグ
default : false |
| useTask | boolean | タスクの利用フラグ
default : false |
| useFolder | boolean | フォルダの利用フラグ
default : false |
| useMail | boolean | メーリングリストの利用フラグ
default : false |
| groupEmail | string | グループメールアドレス (メーリングリスト利用時)
minItems : 0 maxLength : 90 |
| aliasEmails | array (string) | グループのサブメールアドレスリスト (メーリングリスト利用時)
minItems : 0 maxItems : 20 |
| canReceiveExternalMail | boolean | 外部メールの受信可否フラグ(メーリングリスト利用時) default : false |
| toExternalEmails | array (string) | メーリングリストに含む外部メールアドレスのリスト minItems : 0 maxItems : 500 |
| membersAllowedToUseGroupEmailAsRecipient | array (GroupAllowedMember) | メーリングリスト宛てにメールを送信できるメンバーのリスト (メーリングリスト利用時) minItems : 0 |
| membersAllowedToUseGroupEmailAsSender | array (GroupAllowedMember) | メーリングリストを送信メールアドレスとして使用できるメンバーのリスト (メーリングリスト利用時) minItems : 0 |
| Property | Type | Description |
|---|---|---|
| userExternalKey | string | ユーザーの ExternalKey readOnly : true |
| userId | string | ユーザーを特定する ID (URL エンコードする)
required |
| Property | Type | Description |
|---|---|---|
| externalKey | string | グループメンバーのユーザー/組織/グループの ExternalKey readOnly : true |
| id | string | グループメンバーのユーザー/組織/グループの ID (URL エンコードする)
required |
| type | string | グループメンバータイプ
required Allowed values : USER, ORGUNIT, GROUP |
| Property | Type | Description |
|---|---|---|
| userExternalKey | string | ユーザーの ExternalKey readOnly : true |
| userId | string | ユーザーを特定する ID (URL エンコードする)
required |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリスト取得時に使用するカーソル値 |
example
1{2 "groups": [3 {4 "domainId": 10000001,5 "groupId": "group127-8545-4463-603b-04d550d23bf",6 "groupName": "グループ1",7 "description": "ドメイングループ",8 "visible": true,9 "useServiceNotification": true,10 "serviceManageable": true,11 "groupExternalKey": "GROUP_EXT_01",12 "administrators": [13 {14 "userExternalKey": "USER_EXT_01",15 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x"16 }17 ],18 "members": [19 {20 "externalKey": "USER_EXT_01",21 "id": "userf7da-f82c-4284-13e7-030f3b4c756x",22 "type": "USER"23 },24 {25 "externalKey": "ORGUNIT_EXT_01",26 "id": "orgunitf-f27f-4af8-27e1-03817a911417",27 "type": "ORGUNIT"28 },29 {30 "externalKey": "GROUP_EXT_01",31 "id": "group769-e656-477d-69c7-04e2f73a4a77",32 "type": "GROUP"33 }34 ],35 "useMessage": true,36 "useNote": true,37 "useCalendar": true,38 "useFolder": true,39 "useTask": true,40 "useMail": true,41 "groupEmail": "group01@example.com",42 "aliasEmails": [43 "alias@example.com"44 ],45 "canReceiveExternalMail": true,46 "toExternalEmails": [47 "external@example.com"48 ],49 "membersAllowedToUseGroupEmailAsRecipient": [50 {51 "userExternalKey": "USER_EXT_01",52 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x"53 }54 ],55 "membersAllowedToUseGroupEmailAsSender": [56 {57 "userExternalKey": "USER_EXT_01",58 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x"59 }60 ]61 },62 {63 "domainId": 10000001,64 "groupId": "groupa36-79c8-4858-6c23-041098774484",65 "groupName": "グループ2",66 "visible": false,67 "useServiceNotification": true,68 "serviceManageable": true,69 "groupExternalKey": "GROUP_EXT_02",70 "administrators": [71 {72 "userExternalKey": "USER_EXT_02",73 "userId": "user6362-21a9-1kbc-1234-126e09fcegd1"74 }75 ],76 "members": [77 {78 "externalKey": "USER_EXT_01",79 "id": "userf7da-f82c-4284-13e7-030f3b4c756x",80 "type": "USER"81 },82 {83 "externalKey": "ORGUNIT_EXT_02",84 "id": "orgunit7-f511-4757-6040-044af9c9742d",85 "type": "ORGUNIT"86 }87 ],88 "useMessage": true,89 "useNote": true,90 "useCalendar": true,91 "useFolder": true,92 "useTask": true,93 "useMail": true,94 "groupEmail": "group02@example.com",95 "aliasEmails": [96 "alias2@example.com"97 ],98 "canReceiveExternalMail": false99 }100 ],101 "responseMetaData": {102 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="103 }104}