GET api/Comman/GetShiftDetails?staff_id={staff_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| staff_id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ShiftDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| staff_id | integer |
None. |
|
| shift_id | integer |
None. |
|
| start_time | string |
None. |
|
| end_time | string |
None. |
|
| opening_bal | decimal number |
None. |
|
| closing_bal | decimal number |
None. |
|
| timings | Collection of ShiftTimings |
None. |
Response Formats
application/json, text/json
Sample:
{
"staff_id": 1,
"shift_id": 2,
"start_time": "sample string 3",
"end_time": "sample string 4",
"opening_bal": 1.0,
"closing_bal": 1.0,
"timings": [
{
"$id": "2",
"staff_id": 1,
"start_time": "sample string 2",
"end_time": "sample string 3",
"type": "sample string 4",
"shifttime_id": 5
},
{
"$ref": "2"
}
]
}