Clone a B2B Document
post
/ic/api/b2b/v1/b2bdocuments/{documentId}/clone
Creates a new copy of a B2B document with identical metadata. The request body must contain at least the name and identifier fields.
Request
Path Parameters
-
documentId(required): string
B2B Document ID.
Example:
/b2b/v1/b2bdocuments/DOC123/clone
Clone b2b document request details.
Example:
{"id": "CLONED_DOC", "name": "Cloned Doc", "desc": "Cloned Document Description"}
Root 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
Response
Supported Media Types
- application/json
201 Response
Successful operation
400 Response
Bad request, malformed parameters or missing required data
409 Response
Duplicate data error
412 Response
Pre condition failure
500 Response
Server error