Gets the BusinessHours for a location along with any ExceptionDates.

​

Query Parameters

  • Used to find exception dates greater than this date if specified.

  • Used to find exception dates less than this date if specified.

Responses

  • application/json
Request Example for get/v1/business-hours
curl https://apiint.api.parpos.com/settings/v1/business-hours \
  --header 'parpos-access-token: YOUR_SECRET_TOKEN' \
  --header 'parpos-location-token: YOUR_SECRET_TOKEN'
Success
{
  "Data": {
    "BusinessHours": [
      {
        "CloseTime": "17:00:00",
        "OpenTime": "09:00:00",
        "DayOfWeek": 1,
        "Id": 44
      }
    ],
    "ExceptionDates": [
      {
        "CloseTime": "07:24:54.3446398",
        "OpenTime": "06:24:54.3446291",
        "Date": "2023-12-25T00:00:00",
        "IsOpen": false,
        "Id": 55
      }
    ]
  }
}