PowerBuilder / Zoom API / Get past meeting details
Back to Collection Items
integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
string ls_Uuid
integer li_Id
string ls_Host_id
integer li_V_type
string ls_Topic
string ls_User_name
string ls_User_email
string ls_Start_time
string ls_End_time
integer li_Duration
integer li_Total_minutes
integer li_Participants_count
string ls_Dept
string ls_Source
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
loo_Http = create oleobject
// Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
destroy loo_Http
MessageBox("Error","Connecting to COM object failed")
return
end if
// Adds the "Authorization: Bearer <access_token>" header.
loo_Http.AuthToken = "<access_token>"
loo_SbResponseBody = create oleobject
// Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat.StringBuilder")
li_Success = loo_Http.QuickGetSb("https://api.zoom.us/v2/past_meetings/:meetingUUID",loo_SbResponseBody)
if li_Success = 0 then
Write-Debug loo_Http.LastErrorText
destroy loo_Http
destroy loo_SbResponseBody
return
end if
loo_JResp = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JResp.ConnectToNewObject("Chilkat.JsonObject")
loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0
Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()
li_RespStatusCode = loo_Http.LastStatus
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
Write-Debug "Response Header:"
Write-Debug loo_Http.LastHeader
Write-Debug "Failed."
destroy loo_Http
destroy loo_SbResponseBody
destroy loo_JResp
return
end if
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "uuid": "JbkqFkfqQ0e7+CZluSnc1g==",
// "id": 535548971,
// "host_id": "DYHrdpjrS3uaOf7dPkkg8w",
// "type": 2,
// "topic": "My Meeting",
// "user_name": "JilLChill",
// "user_email": "user@example.com",
// "start_time": "2020-04-01T07:00:30Z",
// "end_time": "2020-04-01T07:02:01Z",
// "duration": 2,
// "total_minutes": 2,
// "participants_count": 1,
// "dept": "Engineering",
// "source": "Zoom"
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
ls_Uuid = loo_JResp.StringOf("uuid")
li_Id = loo_JResp.IntOf("id")
ls_Host_id = loo_JResp.StringOf("host_id")
li_V_type = loo_JResp.IntOf("type")
ls_Topic = loo_JResp.StringOf("topic")
ls_User_name = loo_JResp.StringOf("user_name")
ls_User_email = loo_JResp.StringOf("user_email")
ls_Start_time = loo_JResp.StringOf("start_time")
ls_End_time = loo_JResp.StringOf("end_time")
li_Duration = loo_JResp.IntOf("duration")
li_Total_minutes = loo_JResp.IntOf("total_minutes")
li_Participants_count = loo_JResp.IntOf("participants_count")
ls_Dept = loo_JResp.StringOf("dept")
ls_Source = loo_JResp.StringOf("source")
destroy loo_Http
destroy loo_SbResponseBody
destroy loo_JResp
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
https://api.zoom.us/v2/past_meetings/:meetingUUID
Postman Collection Item JSON
{
"name": "Get past meeting details",
"request": {
"auth": {
"type": "oauth2"
},
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/past_meetings/:meetingUUID",
"host": [
"{{baseUrl}}"
],
"path": [
"past_meetings",
":meetingUUID"
],
"variable": [
{
"key": "meetingUUID",
"value": "quis officia in reprehenderit",
"description": "(Required) The meeting's universally unique identifier (UUID). Each meeting instance generates a UUID. For example, after a meeting ends, a new UUID is generated for the next meeting instance.\n\nIf the meeting UUID begins with a `/` character or contains a `//` character, you **must** double-encode the meeting UUID when using the meeting UUID for other API calls."
}
]
},
"description": "Use this API to get information about a past meeting. \n\n **Scopes:** `meeting:read:admin`, `meeting:read` <br> **[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Light`"
},
"response": [
{
"name": "**HTTP Status Code:** `200`<br>\nMeeting details returned.",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"url": {
"raw": "{{baseUrl}}/past_meetings/:meetingUUID",
"host": [
"{{baseUrl}}"
],
"path": [
"past_meetings",
":meetingUUID"
],
"variable": [
{
"key": "meetingUUID",
"value": "quis officia in reprehenderit",
"description": "(Required) The meeting's universally unique identifier (UUID). Each meeting instance generates a UUID. For example, after a meeting ends, a new UUID is generated for the next meeting instance.\n\nIf the meeting UUID begins with a `/` character or contains a `//` character, you **must** double-encode the meeting UUID when using the meeting UUID for other API calls."
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"uuid\": \"JbkqFkfqQ0e7+CZluSnc1g==\",\n \"id\": 535548971,\n \"host_id\": \"DYHrdpjrS3uaOf7dPkkg8w\",\n \"type\": 2,\n \"topic\": \"My Meeting\",\n \"user_name\": \"JilLChill\",\n \"user_email\": \"user@example.com\",\n \"start_time\": \"2020-04-01T07:00:30Z\",\n \"end_time\": \"2020-04-01T07:02:01Z\",\n \"duration\": 2,\n \"total_minutes\": 2,\n \"participants_count\": 1,\n \"dept\": \"Engineering\",\n \"source\": \"Zoom\"\n}"
},
{
"name": "**HTTP Status Code:** `400`<br>\nMeeting not found<br><br>\n**Error Code:** `1010`<br>\nUser not exist: {userId}<br><br>\nUser {userId} not exist or not belong to this account.<br><br>\n**Error Code:** `300`<br>\nCannot access meeting info.<br><br>\n**Error Code",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"url": {
"raw": "{{baseUrl}}/past_meetings/:meetingUUID",
"host": [
"{{baseUrl}}"
],
"path": [
"past_meetings",
":meetingUUID"
],
"variable": [
{
"key": "meetingUUID",
"value": "quis officia in reprehenderit",
"description": "(Required) The meeting's universally unique identifier (UUID). Each meeting instance generates a UUID. For example, after a meeting ends, a new UUID is generated for the next meeting instance.\n\nIf the meeting UUID begins with a `/` character or contains a `//` character, you **must** double-encode the meeting UUID when using the meeting UUID for other API calls."
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "**HTTP Status Code:** `404`<br>\nMeeting not found<br><br>\n**Error Code:** `3001`<br>\nThis meeting is not available or ID is not valid.<br>\nMeeting ID is invalid or not end.\n",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"url": {
"raw": "{{baseUrl}}/past_meetings/:meetingUUID",
"host": [
"{{baseUrl}}"
],
"path": [
"past_meetings",
":meetingUUID"
],
"variable": [
{
"key": "meetingUUID",
"value": "quis officia in reprehenderit",
"description": "(Required) The meeting's universally unique identifier (UUID). Each meeting instance generates a UUID. For example, after a meeting ends, a new UUID is generated for the next meeting instance.\n\nIf the meeting UUID begins with a `/` character or contains a `//` character, you **must** double-encode the meeting UUID when using the meeting UUID for other API calls."
}
]
}
},
"status": "Not Found",
"code": 404,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}