Copy a Template to a Folder

post

/api/restapi/document/templateCopy/sourceTemplate/{id}/targetFolder/{folderId}

Send a request to this endpoint to copy files and folders of a template to another folder with template ID given as a {id} path parameter and the target folder ID given as a {folderId} path parameter.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityDocument
Type: object
Title: ApiEntityDocument
Show Source
Nested Schema : annotationCount
Type: object
The total number of annotations created for the file.
Nested Schema : codeValuesDocument
Type: array
The list of code values for a file. This entity can only be used to assign codeValues or create codeValues on the fly.
Show Source
  • ApiEntityCodeValueDocument
    Title: ApiEntityCodeValueDocument
    This entity represents a CodeValueDocument object, a unique CodeValueDocument object can be identified by the following combinations of the fields.
    • codeValueDocumentId
    • codeValueId
    • codeValueCode,codeTypeId
    • codeValueCode,codeTypeCode
    • codeValueCode,codeTypeCode,projectCode
Nested Schema : documentConfiguredFields
Type: array
Unique Items Required: true
The list of configured fields for a file.
Show Source
Nested Schema : ApiEntityCodeValueDocument
Type: object
Title: ApiEntityCodeValueDocument
This entity represents a CodeValueDocument object, a unique CodeValueDocument object can be identified by the following combinations of the fields.
  • codeValueDocumentId
  • codeValueId
  • codeValueCode,codeTypeId
  • codeValueCode,codeTypeCode
  • codeValueCode,codeTypeCode,projectCode
Show Source
Nested Schema : ApiEntityDocumentConfiguredFieldValue
Type: object
Title: ApiEntityDocumentConfiguredFieldValue
Show Source

404 Response

The requested folder or template does not exist, or you do not have access to it.
Back to Top