POST api/documentgeneration/updateemailsackcontent/{sackReference}

updates the content of a sack

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sackReference

string

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.DocumentGeneration.Query.EnvelopeEmailDataContract
NameDescriptionTypeAdditional information
SendToDrafts

boolean

None.

ToContactItemIds

Collection of integer

None.

CcContactItemIds

Collection of integer

None.

CCFreeTextEmails

Collection of string

None.

FromName

string

None.

FromAddress

string

None.

envelopeTemplateId

integer

None.

SackReference

string

None.

Reference

string

None.

FriendlyName

string

None.

Letters

Collection of Dezrez.Core.DataContracts.External.Api.DocumentGeneration.Query.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.

GeneratedDocs

Collection of integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "SendToDrafts": true,
  "ToContactItemIds": [
    1,
    2
  ],
  "CcContactItemIds": [
    1,
    2
  ],
  "CCFreeTextEmails": [
    "sample string 1",
    "sample string 2"
  ],
  "FromName": "sample string 2",
  "FromAddress": "sample string 3",
  "envelopeTemplateId": 4,
  "SackReference": "sample string 5",
  "Reference": "sample string 6",
  "FriendlyName": "sample string 7",
  "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": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "EntityId": 1,
        "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"
        },
        "AccountingSystemId": 2,
        "AgencyId": 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": {
          "Id": 1,
          "Name": "sample string 2",
          "SystemName": "sample string 3"
        },
        "EntityId": 1,
        "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"
        },
        "AccountingSystemId": 2,
        "AgencyId": 3
      },
      "LetterTemplateId": 6,
      "EnvelopeTemplatePackId": 7
    }
  ],
  "PropertyRoleIds": [
    1,
    2
  ],
  "GroupRoleIds": [
    1,
    2
  ],
  "OwnsRoleId": 8,
  "ParentGroupId": 1,
  "PersonId": 1,
  "ContainsPrintable": true,
  "IsEmailCompatible": true,
  "IsTextCompatible": true,
  "IsBymCompatible": true,
  "PersonName": "sample string 13",
  "OutputPdf": true,
  "Created": "2024-10-30T15:17:11.2075376Z",
  "Expires": "2024-10-30T15:17:11.2075376Z",
  "CreatedByWorkflow": true,
  "GeneratedDocs": [
    1,
    2
  ]
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.