POST api/ApprovalFlow/RejectEntity
Reject entity without previous approval flow
Request Information
URI Parameters
None.
Body Parameters
ApprovalFlowRejectEntityDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ApprovalFlowEntityId | BusinessEntityTypeId |
None. |
|
| EntityId | integer |
None. |
|
| EntityVersionId | integer |
None. |
|
| Comment | string |
None. |
|
| SfrCommunicated | boolean |
None. |
|
| FewoCommunicated | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"approvalFlowEntityId": 1,
"entityId": 1,
"entityVersionId": 1,
"comment": "sample string 2",
"sfrCommunicated": true,
"fewoCommunicated": true
}
text/html
Sample:
{"approvalFlowEntityId":1,"entityId":1,"entityVersionId":1,"comment":"sample string 2","sfrCommunicated":true,"fewoCommunicated":true}
application/xml, text/xml
Sample:
<ApprovalFlowRejectEntityDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.ApprovalFlowModule.Application.Dtos.Dtos.ApprovalFlowAgg"> <ApprovalFlowEntityId>Subcontract</ApprovalFlowEntityId> <Comment>sample string 2</Comment> <EntityId>1</EntityId> <EntityVersionId>1</EntityVersionId> <FewoCommunicated>true</FewoCommunicated> <SfrCommunicated>true</SfrCommunicated> </ApprovalFlowRejectEntityDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
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.