POST api/v1/template/cloneV2
Request Information
URI Parameters
None.
Body Parameters
TemplateEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| cid | integer |
None. |
|
| name | string |
None. |
|
| subject | string |
None. |
|
| summary | string |
None. |
|
| type | integer |
None. |
|
| typeName | string |
None. |
|
| editTypeName | string |
None. |
|
| edit_type | integer |
None. |
|
| invokeName | string |
None. |
|
| invoke_name | string |
None. |
|
| isshare | integer |
None. |
|
| file_path | string |
None. |
|
| thumbnail | string |
None. |
|
| html | string |
None. |
|
| htmlObject | HtmlObject |
None. |
|
| createctid | integer |
None. |
|
| createdate | date |
None. |
|
| modifyctid | integer |
None. |
|
| modifydate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"cid": 2,
"name": "sample string 3",
"subject": "sample string 4",
"summary": "sample string 5",
"type": 6,
"typeName": "批量",
"editTypeName": "源码编辑",
"edit_type": 7,
"invokeName": "sample string 8",
"invoke_name": "sample string 9",
"isshare": 10,
"file_path": "sample string 11",
"thumbnail": "sample string 12",
"html": "sample string 13",
"htmlObject": {
"html": "sample string 1"
},
"createctid": 14,
"createdate": "2025-12-16T06:32:43.8692125+08:00",
"modifyctid": 16,
"modifydate": "2025-12-16T06:32:43.8692125+08:00"
}
application/xml, text/xml
Sample:
<TemplateEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Template">
<createctid xmlns="http://schemas.datacontract.org/2004/07/Model">14</createctid>
<createdate xmlns="http://schemas.datacontract.org/2004/07/Model">2025-12-16T06:32:43.8692125+08:00</createdate>
<modifyctid xmlns="http://schemas.datacontract.org/2004/07/Model">16</modifyctid>
<modifydate xmlns="http://schemas.datacontract.org/2004/07/Model">2025-12-16T06:32:43.8692125+08:00</modifydate>
<cid>2</cid>
<edit_type>7</edit_type>
<file_path>sample string 11</file_path>
<html>sample string 13</html>
<htmlObject>
<html>sample string 1</html>
</htmlObject>
<id>1</id>
<invokeName>sample string 8</invokeName>
<invoke_name>sample string 9</invoke_name>
<isshare>10</isshare>
<name>sample string 3</name>
<subject>sample string 4</subject>
<summary>sample string 5</summary>
<thumbnail>sample string 12</thumbnail>
<type>6</type>
</TemplateEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.