v1

latestSwagger 2.02026-08-043765135.6 KB
hours

Update Hour

Update a specific availability record.

patch/hours/{id}

Path parameters

idstring uuid required

Primary UUID in the path

Query parameters

mockboolean

Return mock data

Request body

Example request

{
  "data": {
    "attributes": {
      "startTime": "17:00:00",
      "endTime": "23:00:00",
      "timeZone": "America/New_York",
      "resourceUri": "/organizations/f759af6a-2d8d-42b4-8a63-a17582404a9d/locations/f759af6a-2d8d-42b4-8a63-a17582404a9d"
    }
  }
}

Response

Return a single data response

Example response

{
  "data": {
    "attributes": {
      "startTime": "17:00:00",
      "endTime": "23:00:00",
      "timeZone": "America/New_York",
      "resourceUri": "/organizations/f759af6a-2d8d-42b4-8a63-a17582404a9d/locations/f759af6a-2d8d-42b4-8a63-a17582404a9d",
      "createdAt": "2018-02-03T10:30:00Z",
      "updatedAt": "2018-02-03T10:30:00Z"
    }
  }
}