POST api/process/approval/email-approval-sign

Request Information

URI Parameters

None.

Body Parameters

ProcessActivityEmailApprovalSignatureRequest
NameDescriptionTypeAdditional information
Signature

Collection of byte

None.

Label

string

None.

IsSignatureFromProfile

boolean

None.

Extras

Collection of ApprovalSigningText

None.

Items

Collection of ApprovalSigningInfo

None.

ProcessActivityApprovalLinkID

integer

None.

ProcessID

integer

None.

ProcessDetailsID

integer

None.

UserID

integer

None.

DateCreated

date

None.

Status

ApprovalStatus

None.

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Signature": "QEA=",
  "Label": "sample string 1",
  "IsSignatureFromProfile": true,
  "Extras": [
    {
      "PageNo": 1,
      "X": 2,
      "Y": 3,
      "Type": 0,
      "Value": "sample string 4"
    },
    {
      "PageNo": 1,
      "X": 2,
      "Y": 3,
      "Type": 0,
      "Value": "sample string 4"
    }
  ],
  "Items": [
    {
      "AttachmentID": 1,
      "PageNo": 2,
      "X": 3,
      "Y": 4,
      "Width": 5,
      "Height": 6,
      "PageWidth": 7,
      "PageHeight": 8
    },
    {
      "AttachmentID": 1,
      "PageNo": 2,
      "X": 3,
      "Y": 4,
      "Width": 5,
      "Height": 6,
      "PageWidth": 7,
      "PageHeight": 8
    }
  ],
  "ProcessActivityApprovalLinkID": 3,
  "ProcessID": 4,
  "ProcessDetailsID": 5,
  "UserID": 6,
  "DateCreated": "2025-10-26T11:10:08.5630426+08:00",
  "Status": 0,
  "Notes": "sample string 8"
}

application/xml, text/xml

Sample:
<ProcessActivityEmailApprovalSignatureRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <DateCreated>2025-10-26T11:10:08.5630426+08:00</DateCreated>
  <Notes>sample string 8</Notes>
  <ProcessActivityApprovalLinkID>3</ProcessActivityApprovalLinkID>
  <ProcessDetailsID>5</ProcessDetailsID>
  <ProcessID>4</ProcessID>
  <Status>NA</Status>
  <UserID>6</UserID>
  <Extras xmlns:d2p1="http://schemas.datacontract.org/2004/07/PTI.AF">
    <d2p1:ApprovalSigningText>
      <d2p1:PageNo>1</d2p1:PageNo>
      <d2p1:Type>Label</d2p1:Type>
      <d2p1:Value>sample string 4</d2p1:Value>
      <d2p1:X>2</d2p1:X>
      <d2p1:Y>3</d2p1:Y>
    </d2p1:ApprovalSigningText>
    <d2p1:ApprovalSigningText>
      <d2p1:PageNo>1</d2p1:PageNo>
      <d2p1:Type>Label</d2p1:Type>
      <d2p1:Value>sample string 4</d2p1:Value>
      <d2p1:X>2</d2p1:X>
      <d2p1:Y>3</d2p1:Y>
    </d2p1:ApprovalSigningText>
  </Extras>
  <IsSignatureFromProfile>true</IsSignatureFromProfile>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/PTI.AF">
    <d2p1:ApprovalSigningInfo>
      <d2p1:AttachmentID>1</d2p1:AttachmentID>
      <d2p1:Height>6</d2p1:Height>
      <d2p1:PageHeight>8</d2p1:PageHeight>
      <d2p1:PageNo>2</d2p1:PageNo>
      <d2p1:PageWidth>7</d2p1:PageWidth>
      <d2p1:Width>5</d2p1:Width>
      <d2p1:X>3</d2p1:X>
      <d2p1:Y>4</d2p1:Y>
    </d2p1:ApprovalSigningInfo>
    <d2p1:ApprovalSigningInfo>
      <d2p1:AttachmentID>1</d2p1:AttachmentID>
      <d2p1:Height>6</d2p1:Height>
      <d2p1:PageHeight>8</d2p1:PageHeight>
      <d2p1:PageNo>2</d2p1:PageNo>
      <d2p1:PageWidth>7</d2p1:PageWidth>
      <d2p1:Width>5</d2p1:Width>
      <d2p1:X>3</d2p1:X>
      <d2p1:Y>4</d2p1:Y>
    </d2p1:ApprovalSigningInfo>
  </Items>
  <Label>sample string 1</Label>
  <Signature>QEA=</Signature>
</ProcessActivityEmailApprovalSignatureRequest>

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

Response Information

Resource Description

ResultResponse
NameDescriptionTypeAdditional information
StatusText

string

None.

Error

boolean

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusText": "sample string 1",
  "Error": true,
  "Data": {}
}

application/xml, text/xml

Sample:
<ResultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <Data />
  <Error>true</Error>
  <StatusText>sample string 1</StatusText>
</ResultResponse>