POST api/templates/clone
Clones a template.
Request Information
URI Parameters
None.
Body Parameters
The model to clone a template with.
CloneTemplateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrentTemplateId | globally unique identifier |
None. |
|
| NewTemplateId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"CurrentTemplateId": "2a34b826-19ff-4766-b649-141ba54335a0",
"NewTemplateId": "1f8c6aaf-bf15-4994-b678-3a2d7877c7f7"
}
application/xml, text/xml
Sample:
<CloneTemplateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models"> <CurrentTemplateId>2a34b826-19ff-4766-b649-141ba54335a0</CurrentTemplateId> <NewTemplateId>1f8c6aaf-bf15-4994-b678-3a2d7877c7f7</NewTemplateId> </CloneTemplateDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.