POST api/Subcontracts/{subcontractId}/Supplements/{supplementId}/Versions/{supplementVersionId}/PostApprovalCheck
Execute precheck action.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
|
| supplementId | integer |
Required |
|
| supplementVersionId | integer |
Required |
Body Parameters
PrePostCheckActionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionTypeId | PrePostCheckActionTypeId |
None. |
|
| AutomaticallySendToSap | boolean |
None. |
|
| Comment | string |
None. |
|
| AdditionalEmailToNotifyOnSapError | string |
None. |
|
| NotifyOnSapError | boolean |
None. |
|
| HasNotifyChangesSapSendingLines | boolean |
None. |
|
| SapSendingLineChanges | Collection of SapSendingLineChanges |
None. |
Request Formats
application/json, text/json
Sample:
{
"actionTypeId": 1,
"automaticallySendToSap": true,
"comment": "sample string 2",
"additionalEmailToNotifyOnSapError": "sample string 3",
"notifyOnSapError": true,
"hasNotifyChangesSapSendingLines": true,
"sapSendingLineChanges": null
}
text/html
Sample:
{"actionTypeId":1,"automaticallySendToSap":true,"comment":"sample string 2","additionalEmailToNotifyOnSapError":"sample string 3","notifyOnSapError":true,"hasNotifyChangesSapSendingLines":true,"sapSendingLineChanges":null}
application/xml, text/xml
Sample:
<PrePostCheckActionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SubcontractAgg.PrePostCheck"> <ActionTypeId>Confirm</ActionTypeId> <AdditionalEmailToNotifyOnSapError>sample string 3</AdditionalEmailToNotifyOnSapError> <AutomaticallySendToSap>true</AutomaticallySendToSap> <Comment>sample string 2</Comment> <HasNotifyChangesSapSendingLines>true</HasNotifyChangesSapSendingLines> <NotifyOnSapError>true</NotifyOnSapError> <SapSendingLineChanges xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Common" i:nil="true" /> </PrePostCheckActionDto>
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.