Create a B2B Schema

post

/ic/api/b2b/v1/schemas

Creates a B2B schema with the specified ID, name, description, standard, txId and version. Examples of standard values are X12 and EDIFACT. Examples of version for EDIFACT are D00A and D00B. Examples for X12 are 4010 and 4011. Examples of txId (or transaction type) for EDIFACT are APERAK and AUTHOR, and the 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
Type: object
Show Source
Nested Schema : SchemaUI
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 : SchemaUI-allOf[2]
Type: object
Show Source
Nested Schema : active
Type: array
Show Source
Nested Schema : activeAgr
Type: array
Show Source
Nested Schema : docNode
Type: array
Show Source
Nested Schema : inActive
Type: array
Show Source
Nested Schema : inActiveAgr
Type: array
Show Source
Nested Schema : MaxSize
Type: object
Show Source
Nested Schema : DocumentUI
View Object to represent Document type resources. Sep 18, 20192:10:50 PM
Match All
Show Source
Nested Schema : DocumentUI-allOf[2]
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
Nested Schema : DocumentNode
Type: object
Show Source
Nested Schema : DocumentModelUI
Type: object
Show Source
Nested Schema : children
Type: array
Show Source
Back to Top

Response

Supported Media Types

201 Response

Successful operation
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : Object
Type: object

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 description does not exceed 1024 characters, length of identifier does not exceed 32 characters, Name and Identifier is not named as 'Standard' or 'Default', and there must be a valid combination of std, version and txId.

500 Response

Server error
Back to Top