PATCH/groups/{groupId}/note/posts/{postId}
組織/グループノートの投稿を部分更新する
Script は利用できない。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
group.note
| Parameter | Type | Description |
|---|---|---|
| groupId | string | 組織/グループ ID required example : group127-8545-4463-603b-04d550d23bf |
| postId | integer | 投稿 ID required format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| title | string | 件名 minLength : 1 maxLength : 200 |
| body | string | 内容 minLength : 1 maxLength : 716800 |
| enableCollaboration | boolean | 他のユーザーの編集許可 |
| sendNotifications | boolean | トークルームに通知を送信 default : false |
| isNotice | boolean | ノートのお知らせに設定 |
example
1{2 "title": "WORKS 利用案内",3 "body": "<h1> WORKS 利用ガイド </h1>LINE WORKS のご利用に関して以下の通りご案内致します。",4 "enableCollaboration": true,5 "sendNotifications": true,6 "isNotice": false7}OK
| Property | Type | Description |
|---|---|---|
| schema | object (schema) |
| Property | Type | Description |
|---|---|---|
| postId | integer | 投稿 ID format : int64 |
| title | string | 件名 required minLength : 1 maxLength : 200 |
| body | string | 内容 required minLength : 1 maxLength : 716800 |
| enableCollaboration | boolean | 他のユーザーの編集許可 |
| readCount | integer | 既読数 format : int64 |
| commentCount | integer | コメント数 format : int64 |
| fileCount | integer | 添付ファイル format : int64 |
| likeCount | integer | いいねの数 format : int64 |
| createdTime | string | 作成日時 required format : date-time readOnly : true |
| modifiedTime | string | 更新日時 format : date-time readOnly : true |
| userId | string | 作成者のユーザー ID readOnly : true nullable : true |
| userName | string | 作成者の名前 required readOnly : true |
| isNotice | boolean | ノートのお知らせ |
example
1{2 "postId": 1,3 "title": "WORKS 利用案内",4 "body": "<h1> WORKS 利用ガイド </h1>LINE WORKS のご利用に関して以下の通りご案内致します。",5 "enableCollaboration": true,6 "readCount": 14,7 "commentCount": 2,8 "fileCount": 0,9 "likeCount": 1,10 "createdTime": "2019-08-24T14:15:22+09:00",11 "modifiedTime": "2019-08-24T14:15:22+09:00",12 "userId": "user7149-0ccd-433d-1eba-04f6901660dc",13 "userName": "Susan Nielsen",14 "isNotice": false15}