POST api/documentgeneration/saveenvelopetemplatepack

Request Information

URI Parameters

None.

Body Parameters

EnvelopeTemplatePackSaveDataContract
NameDescriptionTypeAdditional information
FriendlyName

string

None.

EnvelopeTemplatePackType

EnumDataContract

None.

EnvelopeTemplates

Collection of integer

None.

IsDefault

boolean

None.

NotReady

boolean

None.

CustomPrompt

string

None.

Description

string

None.

WorkflowIndex

integer

None.

Id

integer

None.

Request Formats

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,
  "Id": 7
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EnvelopeTemplatePackSaveDataContract'.

Response Information

Resource Description

PostTemplateDataContract
NameDescriptionTypeAdditional information
Contract

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
}