Public
Availabilities

Create availabilities for a member (employee)

post/v1/public/members/{memberId}/availabilities/dates

Request

Path parameters

memberIdstring required

Request body

timeZonestring

Time zone wanted. If not set the group time zone will be taken.

approval'needs_approval' | 'approved' | 'refused'

Availability approval status. Acts as a global value for all dates. This value will be use if the approval property is not set in a date object.

availableboolean required

Available or not. Acts as a global value for all dates. This value will be use if the available property is not set in a date object.

notestring

Note for the manager.

Example request

{
  "dates": [
    {
      "date": "2022-10-31",
      "fromInM": 560,
      "toInM": 1020
    }
  ],
  "timeZone": "America/Toronto",
  "note": "Note for the manager"
}

Response

uidstring required

Availability UID.

fromDatenumber required

Start date of this availability.

toDatenumber required

End date of this availability.

timeZonestring required

Timezone of this availability.

memberIdstring required

The member UID linked to this availability.

memberCodeobject required

The member code linked to this availability.

groupIdstring required

The group UID linked to this availability.

availableboolean required

Member availability status.

notestring required

Note linked to this availability.

createdAtnumber required

Availability creation date.

createdByMemberIdstring required

Member uid who created the availability

createdByMemberCodeobject required

Member code who created the availability

Changes

No recorded changes to this operation across all 8 revisions of this API.