FruxonDocs
ApiEscalations

Lists the workspace's working hours, oldest first.

Each entry carries its regular week, its dated exceptions, and whether it is open at the time of the request, so a picker can show "open now" without a second call.

GET
/v1/tenants/{tenant}/workingHoursSchedules
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/workingHoursSchedules"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "string",
      "timeZone": "string",
      "weekly": [],
      "overrides": [],
      "closingSoonMinutes": 0,
      "status": {
        "isOpen": false,
        "nextChangeAt": null
      },
      "createdAt": 0,
      "modifiedAt": 0
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}