POST api/documentgeneration/saveenvelopetemplatepack

Saves or updates envelope template correspondence for a an agency

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.DocumentGeneration.Commands.EnvelopeTemplatePackSaveDataContract
NameDescriptionTypeAdditional information
FriendlyName

string

None.

EnvelopeTemplatePackType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

EnvelopeTemplates

Collection of integer

None.

IsDefault

boolean

None.

NotReady

boolean

None.

CustomPrompt

string

None.

Description

string

None.

WorkflowIndex

integer

None.

Hidden

boolean

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "FriendlyName": "sample string 1",
  "EnvelopeTemplatePackType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "EnvelopeTemplates": [
    1,
    2
  ],
  "IsDefault": true,
  "NotReady": true,
  "CustomPrompt": "sample string 4",
  "Description": "sample string 5",
  "WorkflowIndex": 6,
  "Hidden": true,
  "Id": 8
}

Response Information

Resource Description

Dezrez.Core.DataContracts.External.Api.DocumentGeneration.Query.PostTemplateDataContract
NameDescriptionTypeAdditional 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
}