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": "99f0ad94-73dc-4f15-96b9-856f3535c5af",
"NewTemplateId": "ee1f16a3-4f60-43cb-828a-b8e266748c49"
}
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>99f0ad94-73dc-4f15-96b9-856f3535c5af</CurrentTemplateId> <NewTemplateId>ee1f16a3-4f60-43cb-828a-b8e266748c49</NewTemplateId> </CloneTemplateDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.