Home > Agendize Scheduling

Staff Actions

Actions methods to do operation on staff objects.


Calendar synchronization invitation

Authentication is required to execute this request. Please refer to Authentication for more.

Request

HTTP Request

POST https://api.agendize.com/api/2.1/scheduling/companies/{companyId}/staffActions/{staffId}/sendCalendarSyncInvitation

Parameters

Parameter name Value Description
Path parameters
companyId string Company identifier.
staffId string Staff member identifier or external id of staff member.

Request body

{ "emailAddress": {string}, "html": {string} }
Parameter name Value Description
emailAddress string Recipient email address. If not set, the email is send to the email address of the staff.
html string HTML body of the email send. if not defined, the system use the message template.

Response

If successful, this method returns a 200 HTTP code with no response body.


Calendar synchronization revokation

Authentication is required to execute this request. Please refer to Authentication for more.

Request

HTTP Request

POST https://api.agendize.com/api/2.1/scheduling/companies/{companyId}/staffActions/{staffId}/revokeCalendarSync

Parameters

Parameter name Value Description
Path parameters
companyId string Company identifier.
staffId string Staff member identifier or external id of staff member.

Request body

{ "calendarServices": [ {string} ] }
Parameter name Value Description
calendarServices array List of calendar service to revoke. Values: "googleCalendar", "outlookCalendar", "office365Calendar".

Response

If successful, this method returns a 200 HTTP code with no response body.