POST api/matrix/clone/{source}?matrixTitle={matrixTitle}&cloneMatrixData={cloneMatrixData}
Clones an existing metadata matrix, optionally including its data and structure.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| source |
The title or ID of the matrix to clone. |
string |
Required |
| matrixTitle |
The title of the new matrix to be created. |
string |
Required |
| cloneMatrixData |
If true, clones all data from the source matrix. Default is false. |
boolean |
Default value is False |
Body Parameters
Optional list of values to insert into the new matrix if `cloneMatrixData` is false.
Collection of Collection of stringRequest Formats
application/json, text/json, application/scim+json
Sample:
[
[
"sample string 1",
"sample string 2"
],
[
"sample string 1",
"sample string 2"
]
]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
On success: HTTP 200 OK with the new matrix ID in the response body. On failure: HTTP 400 Bad Request with a message indicating the error.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/scim+json
Sample:
Sample not available.