POST api/documentgeneration/previewpack
Generates a pack using the first selected group/property of a type to get a quick preview of the pack
Request Information
URI Parameters
None.
Body Parameters
GenerateRandomPackPreviewDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| EnvelopeTemplatePackId | integer |
None. |
|
| BrandId | integer |
None. |
|
| EventType | EnumDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"EnvelopeTemplatePackId": 1,
"BrandId": 2,
"EventType": {
"Id": 1,
"Name": "sample string 2",
"SystemName": "sample string 3"
}
}
Response Information
Resource Description
Details of the job that has been invoked.
JobInvocationDetailsDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| SupportsCancellation | boolean |
None. |
|
| ReportsProgress | boolean |
None. |
|
| InitialStatusText | string |
None. |
|
| JobReference | globally unique identifier |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"SupportsCancellation": true,
"ReportsProgress": true,
"InitialStatusText": "sample string 3",
"JobReference": "a4613a66-e066-4860-882b-b66db721cd92",
"Success": true
}