POST /API/v2/Reports/AccessiblePartners/Register
帳票にアクセス可能なパートナーを登録します。 指定された帳票に、アクセス可能なパートナーを登録します。この操作を実行できるのは、帳票を作成した組織に所属する利用者のみです。 登録可能なパートナーは、取引内での帳票アクセス権限(***/API/v2/Trades/Partners/PermissionInTrades***)で、対象となる帳票に対して、RW、もしくは、R権限が付与されている必要があります。 ただし、帳票アクセス権限(***/API/v2/Master/Reports/Permissions***)での設定以上に権限を変更することは出来ません。例えば、帳票アクセス権限(***/API/v2/Master/Reports/Permissions***)での設定で、ある帳票にRead権限までが設定されている場合、これをWrite権限に変更することは出来ません。 帳票にアクセス可能なパートナーに関する詳細については、[帳票にアクセス可能なパートナーについて]()を参照ください。
Request Information
URI Parameters
None.
Body Parameters
v2.ReportAccessiblePartner_Register
| Name | Description | Type | Additional information |
|---|---|---|---|
| reportId | 帳票ID |
String |
Required Max length: 30 |
| organizationId | 組織ID |
String |
Required Max length: 20 Pattern : ^[A-Za-z0-9_-]+$ |
| accessibleOrganizationId | アクセスを許可する組織ID |
String |
Required Max length: 20 Pattern : ^(?!.*(\?|\$|#|&|,|=)).+$ |
| permission | アクセス権限 |
String |
Required Max length: 2 |
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| accessiblePartnerId | アクセス可能なパートナーID |
String |
Required Max length: 72 |
| accessiblePartner |
Required |
||
| permission | アクセス権限 |
String |
Required Max length: 2 |