GET api/documenttemplates/getforedit/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DocumentTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| DocumentContentCaptionId | integer |
None. |
|
| ContentBase64 | Collection of byte |
None. |
|
| ContentString | string |
None. |
|
| ContentType | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"DocumentContentCaptionId": 4,
"ContentBase64": "QEA=",
"ContentString": "sample string 5",
"ContentType": "sample string 6"
}
application/xml, text/xml
Sample:
<DocumentTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <ContentBase64>QEA=</ContentBase64> <ContentString>sample string 5</ContentString> <ContentType>sample string 6</ContentType> <Description>sample string 3</Description> <DocumentContentCaptionId>4</DocumentContentCaptionId> <Id>1</Id> <Title>sample string 2</Title> </DocumentTemplate>