appointment_videocall_leave ()
Function prototype | appointment_videocall_leave (session, ref, [reason = “ENDED”]) |
---|---|
API Version | 2.7.32 and higher |
SOAP, REST |
Description
Leave an appointment
Use this function to leave an appointment after having requested access by means of the appointment_videocall_join () function.
If the function is called without having joined previously, the function will ignore the request and will not generate any error.
Required permissions: The active user must be a member of the appointment. Otherwise an INSUFFICIENT_PRIVILEGES error will be returned.
Input parameters: |
|
Output parameters: |
|
Request example
appointment_videocall_leave ( “LCAAAAAAAAAAAA”, 73823)
Response
The response format is XML when the function has been invoked via the SOAP API, and JSON when it has been invoked via the REST API
Return Error codes
ERROR CODE |
|
---|---|
INVALID_TOKEN | The session token provided is not valid |
INSUFFICIENT_PRIVILEGES | The session user is not member of the appointment |