Creation of meeting endpoints
1. eventCreator function
2. changesListener function
1. eventCreator function
This Sigma function performs the CRUD operations. The function returns the meeting data in a specified format for the provided input payload.
Input Payload
Create
To create a meeting with the provided input payload.
Copied{
"operationType": "create"
"meeting":
{
"duration": "1200",
"host":
{
"mail": "rebecca@zohocorp.com",
"name": "Rebecca"
},
"startTime": "2024-01-18T07:01:42.000Z",
"title": "Meeting Integration Service Implementation",
"type": "Audio Meeting",
"participants": [ "lawrence@zohocorp.com", "emilclarin@zohomail.com", "caroline@mailinator.com" //participants mailId in an array
]
}
"ticketInfo":
{
"subject": "Request for Assistance - Meeting Integration Service Setup",
"contact":
{
"name": "Rebecca"
"emailId":"rebecca@gmail.com"
},
"ticketId": 7601000153723001
},
}
Show full
Show less
Update
To update the information on the created meeting with the provided input payload.
Copied{
"operationType" : "update"
"meeting":
{
"meetingCode": "12345-abcd"
"duration": "1200",
"host":
{
"mail": "rebecca@zohocorp.com",
"name": "Rebecca"
},
"startTime": "2024-01-18T07:01:42.000Z",
"title": "Meeting Integration Service Implementation",
"type": "Audio Meeting",
"participants": [ "lawrence@zohocorp.com", "emilclarin@zohomail.com", "caroline@mailinator.com" //participants mailId in an array
]
}
"ticketInfo":
{
"subject": "Request for Assistance - Meeting Integration Service Setup",
"contact":
{
"name": "Rebecca"
"emailId":"rebecca@gmail.com"
},
"ticketId": 7601000153723001
},
}
Show full
Show less
Read
To fetch the meeting information by providing the respective meetingCode in the input payload.
Copied{
"operationType": "get",
"meeting":
{
"meetingCode": "12345-abcd"
}
}
Delete
To delete a meeting by providing the respective meetingCode in the input payload.
Copied{
"operationType": "delete",
"meeting":
{
"meetingCode": "12345-abcd"
}
}
Attributes and their description
Attributes | Datatype | Description |
operationType | String | The type of CRUD operation. The allowed values are create, update, get, and delete. |
meeting | JSON Object | Meeting information |
meeting.startTime | String | Start date and start time of the meeting in ISO format
Note: ISO format:yyyy-MM-ddThh:mm:ss.SSSZ startTime will be in GMT time zone. |
meeting.duration* | String max length: 200 | Duration of the event
Note: Specify the duration in seconds |
meeting.host.name | String | Event owner's name |
meeting.host.mail | String valid email | Event owner's email address |
meeting.participants | Array of emailIds as string array size: 0-50 | List of email addresses of the participants, which includes desk agent mailIds, desk contact mailIds, and also other non Zoho Desk users. |
meeting.title* | String max length: 255 | Subject of the event |
meeting.type | String | Specifies the type of event. The allowed values are Audio Meeting and Video Meeting.
|
meeting.description | String max length: 65535 | Description of the event |
ticketInfo | JSON Object
| Ticket info in which the event is associated with |
ticketInfo.ticketId | long
| TicketId of the Desk ticket |
ticketInfo.subject* | String max length: 255 | Subject of the ticket |
ticketInfo.contact.name* | String max length: 200 | Name of the Desk contact |
ticketInfo.contact.emailId | String valid email max length: 150 | Email address of the Desk contact |
* - Mandatory parameters
Output Response
The sigma function is expected to return newly created meeting data in the pre-structured JSON format.
Create, Update, and Read
The output response for create, update, and read operations is given below:
Copied{
"meeting":
{
"title": "Phone heating issue",
"agenda": "Technical assistance to resolve customer-reported phone heating issues",
"meetingCode": "1059305803",
"duration": 1200,
"host":
{
"name": "Rebecca",
"emailId": "rebecca@zohocorp.com",
"photoUrl": "https://deskstatic.zoho.com/api/v1/agents/7601000027150091/photo?orgId=674476860"
},
"joinLink": "https://meet.zoho.com/fhCnzTCo5E",
"startLink": "https://meeting.zoho.com/meeting/meeting-start?key=1059305803&x-meeting-org=53296550",
"password": "pwd@123",
"status": "Scheduled",
"type": "Audio Conferencing",
"participants":[
{
"name": "lawrence@zohomail.com",
"emailId": "lawrence@zohomail.com"
},
{
"name": "emilclarin@zohocorp.com",
"emailId": "emilclarin@zohocorp.com"
},
{
"name": "caroline@mailinator.com",
"emailId": "caroline@mailinator.com"
"photoUrl":"https://deskstatic.zoho.com/api/v1/ agents/189902000055358341/photo?orgId=645936564"
}
],
"startTime": "2024-01-18T07:01:00.000Z"
}
}
Show full
Show less
Delete
The output response is "Status: 200"
Attributes and their description
Attributes | Datatype | Description |
* - Mandatory parameters
2. changesListener function
This Sigma function returns meeting information in the specified format for the provided meeting keys (meetingCodes) in the input payload. It helps to update the ticket comment after a completed meeting, and the completed status of the meeting is updated in the Desk event.
Input payload
Copied{
"meeting":
[
{
"eventId": "206706000001078001",
"meetingCode":"23456hg543"
},
{
"eventId": "206706000001075009",
"meetingCode":"76543po0"
}
]}
Note: A maximum of ten meeting keys (meetingCodes) are selected in a single payload.
Attributes and their description
Attributes | Datatype | Description |
* - Mandatory parameters
Output response
The sigma function returns the meeting information for the meeting codes provided in the input payload in a pre-structured JSON format.
Copied{
meetings : [
{
"eventId" : "1234",
"status" : "Completed",
"startTime" : "13ZT40.0",
"duration" : 1200,
"meeting" : {
"startTime" : "213Z4T.0",
"duration" : 1200,
"joinLink" : "",
"meetingRecordings" : [],
"redirectionUrl": "",
"participants" : [],
"title" : "345",
"password" : "",
"meetingCode" :,
"status" : "",
"chatLink" : "",
"noteLink" : ""
}
}
]
}
Attributes and their description
Attributes | Datatype | Description |
* - Mandatory parameters