PUT api/ApprovalFlow/ActionWithAttachedFiles
Execute an action for an approval flow with attached files
Request Information
URI Parameters
None.
Body Parameters
ApprovalFlowActionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ApprovalFlowActionTypeId | ApprovalFlowActionTypeId |
None. |
|
| ApprovalFlowId | integer |
None. |
|
| ApprovalFlowEntityId | integer |
None. |
|
| EntityId | integer |
None. |
|
| EntityVersionId | integer |
None. |
|
| ApprovalStepId | integer |
None. |
|
| Comment | string |
None. |
|
| IsRegistered | boolean |
None. |
|
| ProjectId | integer |
None. |
|
| SubcontractId | integer |
None. |
|
| Files | Collection of ApprovalFlowDocumentDto |
None. |
|
| SfrCommunicated | boolean |
None. |
|
| FewoCommunicated | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"approvalFlowActionTypeId": 1,
"approvalFlowId": 1,
"approvalFlowEntityId": 2,
"entityId": 3,
"entityVersionId": 1,
"approvalStepId": 1,
"comment": "sample string 4",
"isRegistered": true,
"projectId": 5,
"subcontractId": 1,
"files": [
{
"id": 1,
"documentId": 2,
"name": "sample string 3",
"currentVersion": 4,
"isPrincipal": true,
"isAdditional": true,
"steps": [
{
"stepNumber": 1,
"mustView": true,
"mustRead": true,
"mustAccept": true,
"signatures": [
{
"pageNumber": 1,
"coordinatePosition": null
},
{
"pageNumber": 1,
"coordinatePosition": null
}
]
},
{
"stepNumber": 1,
"mustView": true,
"mustRead": true,
"mustAccept": true,
"signatures": [
{
"pageNumber": 1,
"coordinatePosition": null
},
{
"pageNumber": 1,
"coordinatePosition": null
}
]
}
],
"fileSize": 1,
"fileSizeKb": 0.0009765625,
"fileSizeMb": 9.5367431640625E-07
},
{
"id": 1,
"documentId": 2,
"name": "sample string 3",
"currentVersion": 4,
"isPrincipal": true,
"isAdditional": true,
"steps": [
{
"stepNumber": 1,
"mustView": true,
"mustRead": true,
"mustAccept": true,
"signatures": [
{
"pageNumber": 1,
"coordinatePosition": null
},
{
"pageNumber": 1,
"coordinatePosition": null
}
]
},
{
"stepNumber": 1,
"mustView": true,
"mustRead": true,
"mustAccept": true,
"signatures": [
{
"pageNumber": 1,
"coordinatePosition": null
},
{
"pageNumber": 1,
"coordinatePosition": null
}
]
}
],
"fileSize": 1,
"fileSizeKb": 0.0009765625,
"fileSizeMb": 9.5367431640625E-07
}
],
"sfrCommunicated": true,
"fewoCommunicated": true
}
text/html
Sample:
{"approvalFlowActionTypeId":1,"approvalFlowId":1,"approvalFlowEntityId":2,"entityId":3,"entityVersionId":1,"approvalStepId":1,"comment":"sample string 4","isRegistered":true,"projectId":5,"subcontractId":1,"files":[{"id":1,"documentId":2,"name":"sample string 3","currentVersion":4,"isPrincipal":true,"isAdditional":true,"steps":[{"stepNumber":1,"mustView":true,"mustRead":true,"mustAccept":true,"signatures":[{"pageNumber":1,"coordinatePosition":null},{"pageNumber":1,"coordinatePosition":null}]},{"stepNumber":1,"mustView":true,"mustRead":true,"mustAccept":true,"signatures":[{"pageNumber":1,"coordinatePosition":null},{"pageNumber":1,"coordinatePosition":null}]}],"fileSize":1,"fileSizeKb":0.0009765625,"fileSizeMb":0.00000095367431640625},{"id":1,"documentId":2,"name":"sample string 3","currentVersion":4,"isPrincipal":true,"isAdditional":true,"steps":[{"stepNumber":1,"mustView":true,"mustRead":true,"mustAccept":true,"signatures":[{"pageNumber":1,"coordinatePosition":null},{"pageNumber":1,"coordinatePosition":null}]},{"stepNumber":1,"mustView":true,"mustRead":true,"mustAccept":true,"signatures":[{"pageNumber":1,"coordinatePosition":null},{"pageNumber":1,"coordinatePosition":null}]}],"fileSize":1,"fileSizeKb":0.0009765625,"fileSizeMb":0.00000095367431640625}],"sfrCommunicated":true,"fewoCommunicated":true}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfApprovalFlowActionResultDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApprovalFlowActionResultDto |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.