GET api/Etms/GetShiftChangeRequest?EmployeeId={EmployeeId}&EmpCode={EmpCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
Required |
|
| EmpCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceResultOfListOfSvcGetShiftChangeRequestMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Result | boolean |
None. |
|
| Data | Collection of SvcGetShiftChangeRequestMDL |
None. |
|
| status | integer |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Description": "sample string 2",
"Result": true,
"Data": [
{
"ShiftChangeRequestId": 1,
"EmployeeId": 2,
"EmployeeName": "sample string 3",
"EmployeeCode": "sample string 4",
"DepartmentName": "sample string 5",
"ShiftName": "sample string 6",
"ShiftId": 7,
"FromDate": "sample string 8",
"ToDate": "sample string 9",
"Remarks": "sample string 10",
"ApproveStatus": "sample string 11"
},
{
"ShiftChangeRequestId": 1,
"EmployeeId": 2,
"EmployeeName": "sample string 3",
"EmployeeCode": "sample string 4",
"DepartmentName": "sample string 5",
"ShiftName": "sample string 6",
"ShiftId": 7,
"FromDate": "sample string 8",
"ToDate": "sample string 9",
"Remarks": "sample string 10",
"ApproveStatus": "sample string 11"
}
],
"status": 4,
"TotalCount": 5
}
application/xml, text/xml
Sample:
<ServiceResultOfArrayOfSvcGetShiftChangeRequestMDLZtd1f7XL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.Etms">
<d2p1:SvcGetShiftChangeRequestMDL>
<d2p1:ApproveStatus>sample string 11</d2p1:ApproveStatus>
<d2p1:DepartmentName>sample string 5</d2p1:DepartmentName>
<d2p1:EmployeeCode>sample string 4</d2p1:EmployeeCode>
<d2p1:EmployeeId>2</d2p1:EmployeeId>
<d2p1:EmployeeName>sample string 3</d2p1:EmployeeName>
<d2p1:FromDate>sample string 8</d2p1:FromDate>
<d2p1:Remarks>sample string 10</d2p1:Remarks>
<d2p1:ShiftChangeRequestId>1</d2p1:ShiftChangeRequestId>
<d2p1:ShiftId>7</d2p1:ShiftId>
<d2p1:ShiftName>sample string 6</d2p1:ShiftName>
<d2p1:ToDate>sample string 9</d2p1:ToDate>
</d2p1:SvcGetShiftChangeRequestMDL>
<d2p1:SvcGetShiftChangeRequestMDL>
<d2p1:ApproveStatus>sample string 11</d2p1:ApproveStatus>
<d2p1:DepartmentName>sample string 5</d2p1:DepartmentName>
<d2p1:EmployeeCode>sample string 4</d2p1:EmployeeCode>
<d2p1:EmployeeId>2</d2p1:EmployeeId>
<d2p1:EmployeeName>sample string 3</d2p1:EmployeeName>
<d2p1:FromDate>sample string 8</d2p1:FromDate>
<d2p1:Remarks>sample string 10</d2p1:Remarks>
<d2p1:ShiftChangeRequestId>1</d2p1:ShiftChangeRequestId>
<d2p1:ShiftId>7</d2p1:ShiftId>
<d2p1:ShiftName>sample string 6</d2p1:ShiftName>
<d2p1:ToDate>sample string 9</d2p1:ToDate>
</d2p1:SvcGetShiftChangeRequestMDL>
</Data>
<Description>sample string 2</Description>
<Message>sample string 1</Message>
<Result>true</Result>
<TotalCount>5</TotalCount>
<status>4</status>
</ServiceResultOfArrayOfSvcGetShiftChangeRequestMDLZtd1f7XL>