GET api/Etms/GetRoasterShiftDetails?EmployeeId={EmployeeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceResultOfListOfRoasterShift| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Result | boolean |
None. |
|
| Data | Collection of RoasterShift |
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": [
{
"PlannedShiftId": "sample string 1",
"PlannedShift": "sample string 2",
"PlanedStopID": "sample string 3",
"PlannedStop": "sample string 4",
"IsReortingPerson": true,
"AppNotification": true,
"RouteId": "sample string 7",
"RouteName": "sample string 8"
},
{
"PlannedShiftId": "sample string 1",
"PlannedShift": "sample string 2",
"PlanedStopID": "sample string 3",
"PlannedStop": "sample string 4",
"IsReortingPerson": true,
"AppNotification": true,
"RouteId": "sample string 7",
"RouteName": "sample string 8"
}
],
"status": 4,
"TotalCount": 5
}
application/xml, text/xml
Sample:
<ServiceResultOfArrayOfRoasterShiftZtd1f7XL 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:RoasterShift>
<d2p1:AppNotification>true</d2p1:AppNotification>
<d2p1:IsReortingPerson>true</d2p1:IsReortingPerson>
<d2p1:PlanedStopID>sample string 3</d2p1:PlanedStopID>
<d2p1:PlannedShift>sample string 2</d2p1:PlannedShift>
<d2p1:PlannedShiftId>sample string 1</d2p1:PlannedShiftId>
<d2p1:PlannedStop>sample string 4</d2p1:PlannedStop>
<d2p1:RouteId>sample string 7</d2p1:RouteId>
<d2p1:RouteName>sample string 8</d2p1:RouteName>
</d2p1:RoasterShift>
<d2p1:RoasterShift>
<d2p1:AppNotification>true</d2p1:AppNotification>
<d2p1:IsReortingPerson>true</d2p1:IsReortingPerson>
<d2p1:PlanedStopID>sample string 3</d2p1:PlanedStopID>
<d2p1:PlannedShift>sample string 2</d2p1:PlannedShift>
<d2p1:PlannedShiftId>sample string 1</d2p1:PlannedShiftId>
<d2p1:PlannedStop>sample string 4</d2p1:PlannedStop>
<d2p1:RouteId>sample string 7</d2p1:RouteId>
<d2p1:RouteName>sample string 8</d2p1:RouteName>
</d2p1:RoasterShift>
</Data>
<Description>sample string 2</Description>
<Message>sample string 1</Message>
<Result>true</Result>
<TotalCount>5</TotalCount>
<status>4</status>
</ServiceResultOfArrayOfRoasterShiftZtd1f7XL>