PUT api/Subcontracts/{subcontractId}/Timesheets/{timesheetId}/Versions/{timesheetVersionId}/Reject
Send to next level timesheet line reviews
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| timesheetId | integer |
Required |
|
| subcontractId | string |
None. |
|
| timesheetVersionId | string |
None. |
Body Parameters
TimesheetApprovalFlowRejectedCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| RejectReason | string |
None. |
|
| Id | integer |
None. |
|
| VersionId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"rejectReason": "sample string 1",
"id": 2,
"versionId": 1
}
text/html
Sample:
{"rejectReason":"sample string 1","id":2,"versionId":1}
application/xml, text/xml
Sample:
<TimesheetApprovalFlowRejectedCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.AppServices.SubcontractAgg.CommandHandlers"> <Id xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Commands">2</Id> <VersionId xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Commands">1</VersionId> <RejectReason>sample string 1</RejectReason> </TimesheetApprovalFlowRejectedCommand>
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.