POST api/Training/TrainingApproveReject
Request Information
URI Parameters
None.
Body Parameters
TrainingApproveReject| Name | Description | Type | Additional information |
|---|---|---|---|
| TrainingId | integer |
None. |
|
| CurrentUsername | string |
None. |
|
| CurrentEmployeeId | integer |
None. |
|
| ApproveRejectFlag | integer |
None. |
|
| ReasonForRejection | string |
None. |
|
| DeviceId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TrainingId": 1,
"CurrentUsername": "sample string 2",
"CurrentEmployeeId": 3,
"ApproveRejectFlag": 4,
"ReasonForRejection": "sample string 5",
"DeviceId": "sample string 6"
}
application/xml, text/xml
Sample:
<TrainingApproveReject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <ApproveRejectFlag>4</ApproveRejectFlag> <CurrentEmployeeId>3</CurrentEmployeeId> <CurrentUsername>sample string 2</CurrentUsername> <DeviceId>sample string 6</DeviceId> <ReasonForRejection>sample string 5</ReasonForRejection> <TrainingId>1</TrainingId> </TrainingApproveReject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.