POST
/shift/list
curl \
-X POST https://api-console.logezy.co/v1/shift/list \
-H "Accept: string" \
-H "Content-Type: string" \
-d '{"data":[{"id":857,"end_time":"18:00","shift_name":"Day","start_time":"08:00"},{"id":858,"end_time":"05:00","shift_name":"Night","start_time":"19:00"},{"id":859,"end_time":"20:00","shift_name":"Holiday Day","start_time":"10:00"},{"id":860,"end_time":"06:00","shift_name":"Holiday Night","start_time":"20:00"}],"status":"success","message":"Shift retrieved successfully."}'
Request example
{
"data": [
{
"id": 857,
"end_time": "18:00",
"shift_name": "Day",
"start_time": "08:00"
},
{
"id": 858,
"end_time": "05:00",
"shift_name": "Night",
"start_time": "19:00"
},
{
"id": 859,
"end_time": "20:00",
"shift_name": "Holiday Day",
"start_time": "10:00"
},
{
"id": 860,
"end_time": "06:00",
"shift_name": "Holiday Night",
"start_time": "20:00"
}
],
"status": "success",
"message": "Shift retrieved successfully."
}
Response examples (200)
{}