Create a B2B Document

post

/ic/api/b2b/v1/b2bdocuments

Creates a B2B document with the specified ID, name description, standard, txId and version. Examples of standard values are X12, EDIFACT. Examples of version for EDIFACT are D00A, D00B, etc. Examples for X12 are 4010 and 4011. Examples of txId (or transaction type) for EDIFACT are APERAK, AUTHOR, and examples for X12 are 100, 850, etc.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
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
Back to Top

Response

Supported Media Types

201 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

409 Response

Duplicate data error

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