Clone a B2B Schema
post
/ic/api/b2b/v1/schemas/{schemaId}/clone
Creates a new copy of a B2B Schema with identical metadata. The request body must contain at least the name and identifier fields.
Request
Supported Media Types
- application/json
Path Parameters
-
schemaId(required): string
B2B schema ID.
Example:
/b2b/v1/schemas/SCH123/clone
Clone b2b schema request details.
Example:
{"id": "CLONED_SCH", "name": "Cloned Schema", "desc": "Cloned Schema Description"}
Root Schema : SchemaUI
Type:
Show Source
object
-
active:
array active
Read Only:
true
-
activeAgr:
array activeAgr
Read Only:
true
-
count:
integer(int32)
-
createdBy:
string
-
createdDate:
string
-
desc:
string
-
docNode:
array docNode
-
id:
string
-
inActive:
array inActive
Read Only:
true
-
inActiveAgr:
array inActiveAgr
Read Only:
true
-
links:
array links
-
maxSize:
object MaxSize
-
name:
string
-
state:
string
-
std:
string
-
txId:
string
-
txName:
string
-
updatedBy:
string
-
updatedDate:
string
-
version:
string
Nested Schema : DocumentUI
Type:
Show Source
object
-
active:
array active
Read Only:
true
-
activeAgr:
array activeAgr
Read Only:
true
-
businessIdentifiers:
object BusinessIdentifierUI
-
count:
integer(int32)
-
createdBy:
string
-
createdDate:
string
-
desc:
string
-
id:
string
-
inActive:
array inActive
Read Only:
true
-
inActiveAgr:
array inActiveAgr
Read Only:
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
Nested Schema : AgreementUI
Type:
Show Source
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
Nested Schema : DocumentNode
Type:
Show Source
object
-
attr:
object DocumentModelUI
Discriminator:
objType
-
children:
array children
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : items
Type:
object
201 Response
Successful operation
400 Response
Bad request, malformed parameters or missing required data
500 Response
Server error