Public
Availabilities

Get days availabilities

post/v1/public/availabilities/dates/get

Request

Request body

sortobject

Sort field. Use 0 for ASC and -1 for DESC.

qstring

Search field, search trough fName, lName, email, phone or code member fields

forMemberIdsstring[]

If specified, use this array of member UIDs to only get availabilities linked to those members

forTeamIdsstring[]

If specified, use this array of team UIDs to only get member availabilities linked to those teams

forLocationIdsstring[]

If specified, use this array of location UIDs to only get member availabilities linked to those locations

forSkillIdsstring[]

If specified, use this array of skill UIDs to only get member availabilities linked to those skills

skipnumber

Skips over the specified number of items.

takenumber

Limits the number of items.

fromnumber

Timestamp, Get all availabilities from the specified date.

tonumber

Timestamp, Get all availabilities to the specified date.

approvalStatus'needs_approval' | 'approved' | 'refused'

Filter by availability approval status.

Example request

{
  "sort": {
    "approval.status": -1
  },
  "q": "johndoe@",
  "forMemberIds": [
    "memberId"
  ],
  "forTeamIds": [
    "teamId"
  ],
  "forLocationIds": [
    "locationId"
  ],
  "forSkillIds": [
    "skillId"
  ],
  "take": 25,
  "from": 1788580800000,
  "to": 1789012800000,
  "approvalStatus": "approved"
}

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.