B2Bドキュメントの更新
put
/ic/api/b2b/v1/b2bdocuments/{documentId}
指定されたドキュメントIDでB2Bドキュメントを更新します。 アクティブな契約で使用される文書を変更するには、最初に非アクティブ化する必要があります。
リクエスト
サポートされているメディア・タイプ
- application/json
パス・パラメータ
- documentId(required): string
B2BドキュメントID。
例:
/b2b/v1/b2bdocuments/DOC123
b2bドキュメント・リクエストの詳細を更新します。
例:
{"name": "Updated Document", "desc": "updating document desciption ", "schema": "Schema123", "std": "X12", "txId": "100", "version": "4010", "businessIdentifiers":{ "bizIdName1": "/edi-xml-document/transaction-data/C3/C301", "bizIdName2": "/edi-xml-document/transaction-data/BGN/BGN01", "bizIdName3", "/edi-xml-document/transaction-data/Loop-NM1/N3/N301"}}ルート・スキーマ : DocumentUI
型:
ソースを表示
object- active: array active
読取り専用:
true - activeAgr: array activeAgr
読取り専用:
true - businessIdentifiers: object BusinessIdentifierUI
- count: integer(int32)
- createdBy: string
- createdDate: string
- desc: string
- id: string
- inActive: array inActive
読取り専用:
true - inActiveAgr: array inActiveAgr
読取り専用:
true - links: array links
- name: string
- partnerCnt: integer(int32)
- schema: string
- schemaName: string
- state: string
- std: string
- txId: string
- txName: string
- updatedBy: string
- updatedDate: string
- version: string
ネストされたスキーマ : AgreementUI
型:
ソースを表示
object- agrID: string
- agrName: string
- count: integer(int32)
- createdBy: string
- createdDate: string
- deployStatus: string
- desc: string
- direction: string
- docId: string
- id: string
- links: array links
- name: string
- std: string
- tpId: string
- txId: string
- txName: string
- updatedBy: string
- updatedDate: string
- version: string
レスポンス
サポートされているメディア・タイプ
- application/json
200レスポンス
操作の成功
ルート・スキーマ : DocumentUI
型:
ソースを表示
object- active: array active
読取り専用:
true - activeAgr: array activeAgr
読取り専用:
true - businessIdentifiers: object BusinessIdentifierUI
- count: integer(int32)
- createdBy: string
- createdDate: string
- desc: string
- id: string
- inActive: array inActive
読取り専用:
true - inActiveAgr: array inActiveAgr
読取り専用:
true - links: array links
- name: string
- partnerCnt: integer(int32)
- schema: string
- schemaName: string
- state: string
- std: string
- txId: string
- txName: string
- updatedBy: string
- updatedDate: string
- version: string
ネストされたスキーマ : AgreementUI
型:
ソースを表示
object- agrID: string
- agrName: string
- count: integer(int32)
- createdBy: string
- createdDate: string
- deployStatus: string
- desc: string
- direction: string
- docId: string
- id: string
- links: array links
- name: string
- std: string
- tpId: string
- txId: string
- txName: string
- updatedBy: string
- updatedDate: string
- version: string
400レスポンス
不正なリクエスト、不正なパラメータ、または必須データがありません
412レスポンス
事前条件に失敗しました。名前の長さは50文字以下で、識別子の長さが32文字以下であること、復号化の長さが1024文字以下であること、識別子の長さが32文字以下であること、名前および識別子を標準またはデフォルトとして指定しないでください。また、std、versionおよびtxIdの有効な組合せが必要です
500レスポンス
サーバー・エラー