POST api/documentgeneration/saveenvelopetemplate
Saves or updates the envelope template for an agency
Request Information
URI Parameters
None.
Body Parameters
Dezrez.Core.DataContracts.External.Api.DocumentGeneration.Commands.EnvelopeTemplateSaveDataContractName | Description | Type | Additional information |
---|---|---|---|
FriendlyName | string |
None. |
|
LetterTemplates | Collection of integer |
None. |
|
CanBeSplit | boolean |
None. |
|
EnvelopeTemplateTargetType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
Description | string |
None. |
|
PreventDigitalSignature | boolean |
None. |
|
EnvelopeCCdNegotiators | integer |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "FriendlyName": "sample string 1", "LetterTemplates": [ 1, 2 ], "CanBeSplit": true, "EnvelopeTemplateTargetType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Description": "sample string 3", "PreventDigitalSignature": true, "EnvelopeCCdNegotiators": 5, "Id": 6 }
Response Information
Resource Description
Dezrez.Core.DataContracts.External.Api.DocumentGeneration.Query.PostTemplateDataContractName | Description | Type | Additional information |
---|---|---|---|
Contract | Dezrez.Core.DataContracts.External.Api.System.BaseDataContract |
None. |
|
Warnings | Collection of string |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Contract": { "Id": 1 }, "Warnings": [ "sample string 1", "sample string 2" ], "Id": 1 }