latestOpenAPI 3.0.12026-08-192092911.2 MB

916e669fc527

Contacts

Update a site access hours

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

put/v1/contacts/{contactId}/accessHours

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