POST/workflow/imported-documents/attachments
外部サービスからのインポートで利用する添付ファイルを追加する。
API を利用したコンテンツのアップロード方法は ファイルアップロード / ダウンロード を確認してください。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
workflow
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| fileName | string | 添付ファイル名 required minLength : 1 maxLength : 200 |
| fileSize | integer | 添付ファイルサイズ(単位:バイト) required minimum : 1 maximum : 2147483648 |
example
1{2 "fileName": "ExampleFile.pdf",3 "fileSize": 102400004}OK
| Property | Type | Description |
|---|---|---|
| fileId | string | ファイル ID required |
| uploadUrl | string | 添付ファイル アップロード URL required format : uri |
example
1{2 "fileId": "1560c57b-1234-1234-1234-a92b758a0f83",3 "uploadUrl": "https://apis-storage.worksmobile.com/workplace/tmp/1560c57b-1234-1234-1234-a92b758a0f83"4}