POST api/PanoorPerformance/SaveBulk
Request Information
URI Parameters
None.
Body Parameters
EmployeePerformanceBulkSaveRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchId | integer |
None. |
|
| RatingYear | integer |
None. |
|
| RatingMonth | integer |
None. |
|
| Ratings | Collection of EmployeePerformanceRatingRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"BranchId": 1,
"RatingYear": 1,
"RatingMonth": 2,
"Ratings": [
{
"Id": 1,
"EmpId": 1,
"BranchId": 1,
"RatingYear": 1,
"RatingMonth": 1,
"PerformanceValue": 1.0,
"AttendanceValue": 1.0,
"Remarks": "sample string 2"
},
{
"Id": 1,
"EmpId": 1,
"BranchId": 1,
"RatingYear": 1,
"RatingMonth": 1,
"PerformanceValue": 1.0,
"AttendanceValue": 1.0,
"Remarks": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<EmployeePerformanceBulkSaveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SeaShellHR.Models">
<BranchId>1</BranchId>
<RatingMonth>2</RatingMonth>
<RatingYear>1</RatingYear>
<Ratings>
<EmployeePerformanceRatingRequest>
<AttendanceValue>1</AttendanceValue>
<BranchId>1</BranchId>
<EmpId>1</EmpId>
<Id>1</Id>
<PerformanceValue>1</PerformanceValue>
<RatingMonth>1</RatingMonth>
<RatingYear>1</RatingYear>
<Remarks>sample string 2</Remarks>
</EmployeePerformanceRatingRequest>
<EmployeePerformanceRatingRequest>
<AttendanceValue>1</AttendanceValue>
<BranchId>1</BranchId>
<EmpId>1</EmpId>
<Id>1</Id>
<PerformanceValue>1</PerformanceValue>
<RatingMonth>1</RatingMonth>
<RatingYear>1</RatingYear>
<Remarks>sample string 2</Remarks>
</EmployeePerformanceRatingRequest>
</Ratings>
</EmployeePerformanceBulkSaveRequest>
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.