POST api/process/approval/signature
Request Information
URI Parameters
None.
Body Parameters
ApprovalSignatureRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentID | integer |
None. |
|
| Label | string |
None. |
|
| Signature | Collection of byte |
None. |
|
| UserId | integer |
None. |
|
| ProcessDetailID | integer |
None. |
|
| ProcessID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachmentID": 1,
"Label": "sample string 2",
"Signature": "QEA=",
"UserId": 3,
"ProcessDetailID": 4,
"ProcessID": 5
}
application/xml, text/xml
Sample:
<ApprovalSignatureRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF"> <AttachmentID>1</AttachmentID> <Label>sample string 2</Label> <ProcessDetailID>4</ProcessDetailID> <ProcessID>5</ProcessID> <Signature>QEA=</Signature> <UserId>3</UserId> </ApprovalSignatureRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultResponse| Name | Description | Type | Additional 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>