GET api/CloneAttributeType?sourcetypeId={sourcetypeId}&parentId={parentId}&newname={newname}&matrixVersionGUID={matrixVersionGUID}
Clones an existing attribute type and its associated matrix structure into a new type with a specified name and parent folder.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sourcetypeId |
The ID of the attribute type to clone from (i.e., the source type). |
integer |
Required |
| parentId |
The folder or parent node ID where the new attribute type will be created. |
integer |
Required |
| newname |
The name to assign to the newly cloned attribute type and its matrix. |
string |
Required |
| matrixVersionGUID |
The GUID to assign to the new matrix version associated with the cloned type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
On success: HTTP 200 OK with a `DataRowResponse` containing the cloned matrix and attribute type metadata. On failure: HTTP 400 Bad Request with a generic error message.
DataRowResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| dataInfo | DataSet |
None. |
Response Formats
application/json, text/json
Sample:
{}
application/scim+json
Sample:
{
"dataInfo": null
}