Update a B2B Document

put

/ic/api/b2b/v1/b2bdocuments/{documentId}

Updates a B2B Document with the specified document ID. To modify a document used by an active agreement, you need to deactivate it first.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : schema
Match All
Show Source
Nested Schema : ViewModel
Match All
Show Source
Nested Schema : GenericRestRs
Type: object
Show Source
Nested Schema : ViewModel-allOf[1]
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : active
Type: array
Show Source
Nested Schema : activeAgr
Type: array
Show Source
Nested Schema : BusinessIdentifierUI
Type: object
Show Source
Nested Schema : inActive
Type: array
Show Source
Nested Schema : inActiveAgr
Type: array
Show Source
Nested Schema : IntegrationResourceUI
Match All
Show Source
Nested Schema : IntegrationResourceUI-allOf[2]
Type: object
Show Source
Nested Schema : AgreementUI
Match All
Show Source
Nested Schema : AgreementUI-allOf[2]
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : ViewModel
Match All
Show Source
Nested Schema : GenericRestRs
Type: object
Show Source
Nested Schema : ViewModel-allOf[1]
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : active
Type: array
Show Source
Nested Schema : activeAgr
Type: array
Show Source
Nested Schema : BusinessIdentifierUI
Type: object
Show Source
Nested Schema : inActive
Type: array
Show Source
Nested Schema : inActiveAgr
Type: array
Show Source
Nested Schema : IntegrationResourceUI
Match All
Show Source
Nested Schema : IntegrationResourceUI-allOf[2]
Type: object
Show Source
Nested Schema : AgreementUI
Match All
Show Source
Nested Schema : AgreementUI-allOf[2]
Type: object
Show Source

400 Response

Bad request, malformed parameters or missing required data

412 Response

Pre-condition failure. Ensure that the length of name does not exceed 50 characters, length of identifier does not exceed 32 characters, length of decsription does not exceed 1024 characters, and the length of identifier does not exceed 32 characters. Ensure that name and identifier are not named as Standard or Default. Ensure that there is a valid combination of std, version and txId.

500 Response

Server error
Back to Top