Clone a B2B Schema

post

/ic/api/b2b/v1/schemas/{schemaId}/clone

Creates a copy of a B2B schema with identical metadata. The request body must contain at least the name and identifier fields.

Request

Path Parameters
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
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 : Discriminator: objType
Type: object
Discriminator: objType

Discriminator Values

Show Source
Match One Schema
Show Source
Nested Schema : children
Type: array
Show Source
Nested Schema : SegmentUI
Match All
Show Source
  • Discriminator: objType
    Discriminator: { "propertyName":"objType", "mapping":{ "CELMS":"#/components/schemas/ElementUI", "SEGS":"#/components/schemas/SegmentUI", "SEG_LOOP":"#/components/schemas/SegLoopUI", "ELMS":"#/components/schemas/ElementUI", "COMS":"#/components/schemas/CompositeUI" } }
  • SegmentUI-allOf[1]
Nested Schema : SegLoopUI
Match All
Show Source
  • Discriminator: objType
    Discriminator: { "propertyName":"objType", "mapping":{ "CELMS":"#/components/schemas/ElementUI", "SEGS":"#/components/schemas/SegmentUI", "SEG_LOOP":"#/components/schemas/SegLoopUI", "ELMS":"#/components/schemas/ElementUI", "COMS":"#/components/schemas/CompositeUI" } }
  • SegLoopUI-allOf[1]
Nested Schema : ElementUI
Match All
Show Source
  • Discriminator: objType
    Discriminator: { "propertyName":"objType", "mapping":{ "CELMS":"#/components/schemas/ElementUI", "SEGS":"#/components/schemas/SegmentUI", "SEG_LOOP":"#/components/schemas/SegLoopUI", "ELMS":"#/components/schemas/ElementUI", "COMS":"#/components/schemas/CompositeUI" } }
  • ElementUI-allOf[1]
Nested Schema : CompositeUI
Match All
Show Source
  • Discriminator: objType
    Discriminator: { "propertyName":"objType", "mapping":{ "CELMS":"#/components/schemas/ElementUI", "SEGS":"#/components/schemas/SegmentUI", "SEG_LOOP":"#/components/schemas/SegLoopUI", "ELMS":"#/components/schemas/ElementUI", "COMS":"#/components/schemas/CompositeUI" } }
  • CompositeUI-allOf[1]
Nested Schema : SegmentUI-allOf[1]
Type: object
Show Source
Nested Schema : synRl
Type: array
Show Source
Nested Schema : SyntaxRuleUI
Type: object
Show Source
Nested Schema : elems
Type: array
Show Source
Nested Schema : SegLoopUI-allOf[1]
Type: object
Show Source
Nested Schema : ElementUI-allOf[1]
Type: object
Show Source
Nested Schema : part
Type: array
Show Source
Nested Schema : CodesPartitionUI
Type: object
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : CodeUI
Type: object
Show Source
Nested Schema : CompositeUI-allOf[1]
Type: object
Show Source
Nested Schema : synRl
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

500 Response

Server error
Back to Top