POST api/documentgeneration/updateprintsackcontent/{sackReference}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sackReference

string

Required

Body Parameters

EnvelopePrintDataContract
NameDescriptionTypeAdditional information
SackReference

string

None.

Reference

string

None.

FriendlyName

string

None.

Letters

Collection of LetterDataContract

None.

PropertyRoleIds

Collection of integer

None.

GroupRoleIds

Collection of integer

None.

OwnsRoleId

integer

None.

ParentGroupId

integer

None.

PersonId

integer

None.

ContainsPrintable

boolean

None.

IsEmailCompatible

boolean

None.

IsTextCompatible

boolean

None.

IsBymCompatible

boolean

None.

PersonName

string

None.

OutputPdf

boolean

None.

Created

date

None.

Expires

date

None.

CreatedByWorkflow

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SackReference": "sample string 1",
  "Reference": "sample string 2",
  "FriendlyName": "sample string 3",
  "Letters": [
    {
      "Partition": 1,
      "Reference": "sample string 2",
      "Filename": "sample string 3",
      "FileExtension": "sample string 4",
      "TemplateType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "TemplateOutputDocumentSubType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "ContentType": "sample string 5",
      "PostDocGenerationHandler": {
        "EntityType": "sample string 1",
        "EntityId": 2,
        "JobHandlerType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Options": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "DocumentSubType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        }
      },
      "LetterTemplateId": 6,
      "EnvelopeTemplatePackId": 7
    },
    {
      "Partition": 1,
      "Reference": "sample string 2",
      "Filename": "sample string 3",
      "FileExtension": "sample string 4",
      "TemplateType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "TemplateOutputDocumentSubType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "ContentType": "sample string 5",
      "PostDocGenerationHandler": {
        "EntityType": "sample string 1",
        "EntityId": 2,
        "JobHandlerType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "Options": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        },
        "DocumentSubType": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        }
      },
      "LetterTemplateId": 6,
      "EnvelopeTemplatePackId": 7
    }
  ],
  "PropertyRoleIds": [
    1,
    2
  ],
  "GroupRoleIds": [
    1,
    2
  ],
  "OwnsRoleId": 4,
  "ParentGroupId": 1,
  "PersonId": 1,
  "ContainsPrintable": true,
  "IsEmailCompatible": true,
  "IsTextCompatible": true,
  "IsBymCompatible": true,
  "PersonName": "sample string 9",
  "OutputPdf": true,
  "Created": "2018-11-15T04:00:41.969646Z",
  "Expires": "2018-11-15T04:00:41.969646Z",
  "CreatedByWorkflow": true
}

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 'EnvelopePrintDataContract'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.