POST api/documenttemplateforms/render
Request Information
URI Parameters
None.
Body Parameters
DocumentTemplateFormRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateId | integer |
None. |
|
| LanguageId | integer |
None. |
|
| Variables | Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"TemplateId": 1,
"LanguageId": 2,
"Variables": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DocumentTemplateForm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| ContentType | string |
None. |
|
| DocumentContent | Collection of byte |
None. |
|
| ContentString | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"Description": "sample string 3",
"ContentType": "sample string 4",
"DocumentContent": "QEA=",
"ContentString": "sample string 5"
}