POST api/v2/samples/GenerateDocument?docTemplateId={docTemplateId}&isTest={isTest}
Request
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
docTemplateId | integer |
Required |
|
isTest | boolean |
Default value is False |
Body Parameters
SampleGenerateDocumentContentName | Description | Type | Additional information |
---|---|---|---|
SampleIds | Collection of integer | ||
UserDownload | boolean | ||
Hash | string | ||
Category | string | ||
SaveDatabase | boolean | ||
UseSecondaryReplica | boolean | ||
GenerationFormatId | integer | ||
Configs | string | ||
EnQueue | string | ||
OutputFormatHtml | boolean |
Request Formats
application/json, text/json
Sample:
{ "SampleIds": [ 1, 2 ], "UserDownload": true, "Hash": "sample string 2", "Category": "sample string 3", "SaveDatabase": true, "UseSecondaryReplica": true, "GenerationFormatId": 1, "Configs": "sample string 6", "EnQueue": "sample string 7", "OutputFormatHtml": true }
text/html
Sample:
{"SampleIds":[1,2],"UserDownload":true,"Hash":"sample string 2","Category":"sample string 3","SaveDatabase":true,"UseSecondaryReplica":true,"GenerationFormatId":1,"Configs":"sample string 6","EnQueue":"sample string 7","OutputFormatHtml":true}
Response
IHttpActionResultResponse Format
application/json, text/json, text/html
Sample:
Sample not available.