Resource type: appointmentAffirmation
With this API call you can send an appointment confirmation. You pass the appointment ID as a parameter.
You can find more information about appointment confirmation here.
The user setting “No appointment confirmation to creator” at “Extras >> Settings >> User >> Settings” is respected by the API.
The API uses the currently “active” or selected mailbox of the logged-in user as the sender mail address if parameter useDefaultMailAccount is false.
Parameters:
calendarId
MANDATORY. INTEGER. Appointment ID.useDefaultMailAccount
BOOLEAN. Default: false. Iftrue, the mailbox selected in the user settings under “Extras >> Settings >> User >> Email >> Default sender email address” (Extras >> Einstellungen >> Benutzer >> E-Mail >> Standard Sender-E-Mail-Adresse) is used for sending. In addition to the active mailbox, all other mailboxes available to the user can be selected. Iffalse, the API uses the currently “active” or selected mailbox of the logged-in user.emailidentitySTRING. The identity under whose name the emails should be sent. This parameter is optional for this call and only accepts identities associated with the user in the enterprise.
displayName
STRING. An optional display name. The display name is an addition to a sender mail address that is displayed to the recipient of an e-mail instead of the raw sender mail address.useAppointmentCreatorsSignature
BOOLEAN. Default: false. Decides whether the default email signature of the appointment creator is used. If set totrue, the response/mail will include the default signature of the user who created the appointment.
{
"actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:do",
"resourceid": "",
"identifier": "",
"resourcetype": "appointmentAffirmation",
"parameters": {
"calendarId": 36,
"emailidentity": "t.test@onoffice.com",
"displayName": "Max Mustermann",
"useAppointmentCreatorsSignature": true
}
}
