POST /API/v2/NaccsReports/ExportCargoRegistrations/UploadFile
ECRにファイルを添付します。 指定されたECRに、ファイルを添付します。
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| reportId | 帳票ID |
String |
Required Max length: 30 |
| attachedByOrganizationId | ファイルを添付するパートナーの組織ID |
String |
Required Max length: 20 Pattern : ^[A-Za-z0-9_-]+$ |
| fileName | ファイル名 |
String |
Required Max length: 100 |
| fileData | ファイルデータ |
String |
Required |
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| fileId | ファイルID |
String |
Required Max length: 36 |
| fileName | ファイル名 |
String |
Required Max length: 100 |
| contentType | コンテンツタイプ |
String |
Required Max length: 100 |
| attachedAt | 添付日時 |
String |
Required Format : date-time |
| attachedByAccessiblePartnerId | 添付したパートナーID |
String |
Required Max length: 72 |