POST api/DocumentTemplate/CopyPrimaryFile
Request Information
URI Parameters
None.
Body Parameters
TemplateDocument| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateWebUrl | string |
None. |
|
| TemplateFileUrl | string |
None. |
|
| DestinationWebUrl | string |
None. |
|
| DestinationFolderUrl | string |
None. |
|
| CrossSiteUrl | boolean |
None. |
|
| ItemId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TemplateWebUrl": "sample string 1",
"TemplateFileUrl": "sample string 2",
"DestinationWebUrl": "sample string 3",
"DestinationFolderUrl": "sample string 4",
"CrossSiteUrl": true,
"ItemId": 6
}
application/xml, text/xml
Sample:
<TemplateDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Models"> <CrossSiteUrl>true</CrossSiteUrl> <DestinationFolderUrl>sample string 4</DestinationFolderUrl> <DestinationWebUrl>sample string 3</DestinationWebUrl> <ItemId>6</ItemId> <TemplateFileUrl>sample string 2</TemplateFileUrl> <TemplateWebUrl>sample string 1</TemplateWebUrl> </TemplateDocument>
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.