AlphaAlpha Docs

Get shift statistics

Get statistics for shifts

GET
/shifts/stats
AuthorizationBearer <token>

In: header

Query Parameters

stockSiteId?string
startDate?string
Formatdate-time
endDate?string
Formatdate-time
employeeId?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/shifts/stats"
{
  "countsByStatus": {
    "property1": 0,
    "property2": 0
  },
  "totalShifts": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}