Back to endpoints

Get staff availabilities

GET PublicApi/{rewriteUrl}/{language}/StaffAvailability/{id}/GetStaffAvailabilities

Request Information

URI Parameters

PARAMETERS
rewriteUrl (string)

Unique, url-friendly organization token. Part of base url

Required
language (string)

Language in which the localizable values should be returned. Part of base url. Value is either 'fr' or 'en'

Required
id (string)

Staff availability id

Required

Body Parameters

None.

Response Information

Resource Description

PARAMETERS
Version (Version)
Content (HttpContent)
StatusCode (HttpStatusCode)
ReasonPhrase (string)
Headers ()
RequestMessage (HttpRequestMessage)
IsSuccessStatusCode (boolean)

Response Formats

CODE SAMPLE JSON
[
  {
    "Id": 0,
    "AvailableDays": [
      {
        "DayOfWeek": 5,
        "Times": [
          {
            "Id": 3,
            "CreationIndex": 784352,
            "StartTime": "10:00:00",
            "EndTime": "17:00:00"
          }
        ]
      },
      {
        "DayOfWeek": 4,
        "Times": [
          {
            "Id": 3,
            "CreationIndex": 784352,
            "StartTime": "10:00:00",
            "EndTime": "17:00:00"
          }
        ]
      }
    ],
    "Name": "Hortense Simon",
    "StartDate": "2022-09-01T00:00:00-04:00",
    "EndDate": "2022-09-01T00:00:00-04:00"
  },
  {
    "Id": 0,
    "AvailableDays": [
      {
        "DayOfWeek": 5,
        "Times": [
          {
            "Id": 3,
            "CreationIndex": 784352,
            "StartTime": "10:00:00",
            "EndTime": "17:00:00"
          }
        ]
      },
      {
        "DayOfWeek": 4,
        "Times": [
          {
            "Id": 3,
            "CreationIndex": 784352,
            "StartTime": "10:00:00",
            "EndTime": "17:00:00"
          }
        ]
      }
    ],
    "Name": "Hortense Simon",
    "StartDate": "2022-09-01T00:00:00-04:00",
    "EndDate": "2022-09-01T00:00:00-04:00"
  }
]