Shifts
This module is used to separate data related to shifts.
INFO
Make sure to add /api prefix in the API endpoint.
Get Shifts Options Endpoint
http
GET /shifts
GET /shifts
Headers
- Content-Type: application/json
- Authorization: Bearer {token}
Response
200
OK
json
{
"message": "Daftar shift ditemukan",
"data": [
{
"id": 1,
"text": "1"
},
{
"id": 2,
"text": "2"
},
{
"id": 3,
"text": "3"
},
{
"id": 4,
"text": "4"
},
{
"id": 5,
"text": "5"
}
]
}
{
"message": "Daftar shift ditemukan",
"data": [
{
"id": 1,
"text": "1"
},
{
"id": 2,
"text": "2"
},
{
"id": 3,
"text": "3"
},
{
"id": 4,
"text": "4"
},
{
"id": 5,
"text": "5"
}
]
}
Used on pages
/tasks
/tasks/create
/opnames
/opnames/create
/pumptests
/pumptests/create
/tankdeliveries/create
/tankdeliveries/edit
/reports
/sales
/sales/gross_profit
/sales/profit_comparison