PUT 17.0/database/documents/{id}

Description

Update existing Documents

URI Parameters

Name Description Type Additional information
id

integer

Required

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 75

FileName

string

String length: inclusive between 0 and 255

TypeID

integer

None.

Letterhead

byte

None.

LetterheadID

integer

None.

LetterheadPages

byte

None.

LetterPackageID

integer

None.

MergeFields

string

None.

SaveAsCorrespondence

byte

None.

FollowUpTaskInterval

integer

None.

FollowUpTaskPriority

byte

None.

MailshotGroupID

integer

None.

ContentTypeID

byte

None.

ShowOnClientLogin

byte

None.

SigningInstructions

string

None.

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 1",
  "fileName": "sample string 2",
  "typeID": 1,
  "letterhead": 64,
  "letterheadID": 1,
  "letterheadPages": 64,
  "letterPackageID": 1,
  "mergeFields": "sample string 3",
  "saveAsCorrespondence": 64,
  "followUpTaskInterval": 1,
  "followUpTaskPriority": 64,
  "mailshotGroupID": 1,
  "contentTypeID": 64,
  "showOnClientLogin": 64,
  "signingInstructions": "sample string 4",
  "inActive": 64
}

application/xml, text/xml

Sample:
<DocumentsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 1</Description>
  <FileName>sample string 2</FileName>
  <TypeID>1</TypeID>
  <Letterhead>64</Letterhead>
  <LetterheadID>1</LetterheadID>
  <LetterheadPages>64</LetterheadPages>
  <LetterPackageID>1</LetterPackageID>
  <MergeFields>sample string 3</MergeFields>
  <SaveAsCorrespondence>64</SaveAsCorrespondence>
  <FollowUpTaskInterval>1</FollowUpTaskInterval>
  <FollowUpTaskPriority>64</FollowUpTaskPriority>
  <MailshotGroupID>1</MailshotGroupID>
  <ContentTypeID>64</ContentTypeID>
  <ShowOnClientLogin>64</ShowOnClientLogin>
  <SigningInstructions>sample string 4</SigningInstructions>
  <InActive>64</InActive>
</DocumentsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 75

FileName

string

String length: inclusive between 0 and 255

TypeID

integer

None.

Letterhead

byte

None.

LetterheadID

integer

None.

LetterheadPages

byte

None.

LetterPackageID

integer

None.

MergeFields

string

None.

SaveAsCorrespondence

byte

None.

FollowUpTaskInterval

integer

None.

FollowUpTaskPriority

byte

None.

MailshotGroupID

integer

None.

ContentTypeID

byte

None.

ShowOnClientLogin

byte

None.

SigningInstructions

string

None.

InActive

byte

None.

application/json, text/json

Sample:
{
  "id": 1,
  "description": "sample string 2",
  "fileName": "sample string 3",
  "typeID": 4,
  "letterhead": 64,
  "letterheadID": 6,
  "letterheadPages": 64,
  "letterPackageID": 8,
  "mergeFields": "sample string 9",
  "saveAsCorrespondence": 64,
  "followUpTaskInterval": 11,
  "followUpTaskPriority": 64,
  "mailshotGroupID": 13,
  "contentTypeID": 64,
  "showOnClientLogin": 64,
  "signingInstructions": "sample string 16",
  "inActive": 64
}

application/xml, text/xml

Sample:
<Documents xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <Description>sample string 2</Description>
  <FileName>sample string 3</FileName>
  <TypeID>4</TypeID>
  <Letterhead>64</Letterhead>
  <LetterheadID>6</LetterheadID>
  <LetterheadPages>64</LetterheadPages>
  <LetterPackageID>8</LetterPackageID>
  <MergeFields>sample string 9</MergeFields>
  <SaveAsCorrespondence>64</SaveAsCorrespondence>
  <FollowUpTaskInterval>11</FollowUpTaskInterval>
  <FollowUpTaskPriority>64</FollowUpTaskPriority>
  <MailshotGroupID>13</MailshotGroupID>
  <ContentTypeID>64</ContentTypeID>
  <ShowOnClientLogin>64</ShowOnClientLogin>
  <SigningInstructions>sample string 16</SigningInstructions>
  <InActive>64</InActive>
</Documents>