Contacts

Update a site access hours

Changed on

Update the details of access hours for a contact (required scope contacts:write)

put/v1/contacts/{contactId}/accessHours

Request

  • Base URL
    https://api.bigchange.com
  • URL
    https://api.bigchange.com/v1/contacts/{contactId}/accessHours
  • Auth
    HTTP bearer

Path parameters

contactIdinteger required

Id of the contact

Headers

Customer-Idinteger required

The customer identifier

Request body

dayOfWeek'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'
<p>Possible values:</p><ul><li><b>sunday</b></li><li><b>monday</b></li><li><b>tuesday</b></li><li><b>wednesday</b></li><li><b>thursday</b></li><li><b>friday</b></li><li><b>saturday</b></li></ul>
startstring time required

The 24H format time of day that access to the contact site starts (hh:mm)

stopstring time required

The 24H format time of day that access to the contact site stops (hh:mm)

Example request

[
  {
    "dayOfWeek": "sunday",
    "start": "09:00",
    "stop": "17:00"
  }
]

Response

No Content

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed from the response body oneOf list for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status