{ "info": { "_postman_id": "cf36258c-cf13-4121-9ee9-6f13be9853de", "name": "Webex Meetings XML API (End user)", "description": "An collection of common Webex Meeting XML API requests.\n\nhttps://developer.cisco.com/webex-meetings/\n\nRequests can use Postman environment variables for common values to avoid updating each request manually. E.g. create a Postman environment with the following variables populated from your Webex site/user: SITE_NAME, WEBEXID, PASSWORD. Select this environment as the current active environment, and you can execute individual requests - variable names with double curly braces will be inserted automatically.\n\nThe entire collection can be run sequentially, and as a Postman test suite. Simply create an environment and populate as above, and use the Postman test runner against the root of the collection. Dynamic values like sessionTicket and meetingkey will be extracted and used in subsequent requests.\n", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "User Service", "item": [ { "name": "AuthenticateUser", "event": [ { "listen": "test", "script": { "id": "820bda34-3944-4a4a-a89d-8da62f149c47", "exec": [ "if (responseCode.code != 200) {", " ", " tests[\"AuthenticateUser: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"AuthenticateUser: failed\"] = false", " }", " else {", " ", " tests[\"AuthenticateUser: SUCCESS\"] = true", " ", " ", " postman.setEnvironmentVariable(\"_SESSION_TICKET\", jsonData['serv:message']['serv:body']['serv:bodyContent']['use:sessionTicket'] );", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n \n {{SITE_NAME}}\n {{WEBEXID}}\n {{PASSWORD}} \n \n
\n \n \n \n \n
\n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] }, { "name": "GetUser", "event": [ { "listen": "test", "script": { "id": "6d549514-a3b4-4704-bede-5e6ea35c6856", "exec": [ "if (responseCode.code != 200) {", " ", " tests[\"GetUser: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"GetUser: failed\"] = false", " }", " else {", " ", " tests[\"GetUser: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n \n {{SITE_NAME}}\n {{WEBEXID}}\n {{_SESSION_TICKET}} \n \n
\n \n \n \tdstaudt\n \n \n
\n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] }, { "name": "GetLoginTicket", "event": [ { "listen": "test", "script": { "id": "b9b928c9-d6aa-4ef9-9608-2e3e4128e103", "exec": [ "if (responseCode.code != 200) {", " ", " tests[\"GetLoginTicket: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"GetLoginTicket: failed\"] = false", " }", " else {", " ", " tests[\"GetLoginTicket: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n \n {{SITE_NAME}}\n {{WEBEXID}}\n {{_SESSION_TICKET}} \n \n
\n \n \n \n \n
\n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] }, { "name": "GetloginurlUser", "event": [ { "listen": "test", "script": { "id": "842a665a-8826-48e8-9dae-967d2c442e9f", "exec": [ "if (responseCode.code != 200) {", " ", " tests[\"GetloginurlUser: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"GetloginurlUser: failed\"] = false", " }", " else {", " ", " tests[\"GetloginurlUser: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n \n {{SITE_NAME}}\n {{WEBEXID}}\n {{_SESSION_TICKET}} \n \n
\n \n \n \tdstaudt\n \n \n
\n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] } ] }, { "name": "General Session Service", "item": [ { "name": "LstsummarySession", "event": [ { "listen": "test", "script": { "id": "3de3d412-0e68-443b-bb44-931db47b7fda", "exec": [ "if (responseCode.code != 200) {", " ", " tests[\"LstsummarySession: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"LstsummarySession: failed\"] = false", " }", " else {", " ", " tests[\"LstsummarySession: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n \n {{SITE_NAME}}\n {{WEBEXID}}\n {{_SESSION_TICKET}} \n \n
\n \n \n \t{{WEBEXID}}\n \n \n
\n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] } ] }, { "name": "Meeting Service", "item": [ { "name": "CreateMeeting", "event": [ { "listen": "test", "script": { "id": "58342839-1891-4557-bcef-79b1a7869053", "exec": [ "if (responseCode.code != 200) {", " ", " tests[\"CreateMeeting: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"CreateMeeting: failed\"] = false", " }", " else {", " ", " tests[\"CreateMeeting: SUCCESS\"] = true", " ", " postman.setEnvironmentVariable(\"_MEETING_KEY\", jsonData['serv:message']['serv:body']['serv:bodyContent']['meet:meetingkey'] );", " }", "}" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "e5c9d9f2-40f0-42b0-82b4-7945f4d4fa84", "exec": [ "var meetingTime = new Date();", "meetingTime.setMinutes( meetingTime.getMinutes() + 5 )", "", "var startDate = ( meetingTime.getMonth() + 1 ) + '/' +", " meetingTime.getDate() + '/' +", " meetingTime.getFullYear() +' ' +", " meetingTime.getHours() + ':' +", " meetingTime.getMinutes() + ':' +", " meetingTime.getSeconds()", "", "postman.setEnvironmentVariable(\"_MEETING_START_DATE\", startDate);", "" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n\t\t\n\t\t\t{{SITE_NAME}}\n\t\t\t{{WEBEXID}}\n\t\t\t{{_SESSION_TICKET}} \n\t\t\n
\n \n \n \n Cisco1234\n \n \n Sample Meeting\n 105\n Test\n \n \n 4\n \n \n \n John Doe\n johndoe@apidemoeu.com\n \n \n \n \n \n true\n true\n true\n TRUE\n TRUE\n \n \n {{_MEETING_START_DATE}}\n 900\n true\n 20\n 4\n \n \n CALLIN\n \n Call 1-800-555-1234, Passcode 98765\n \n \n \n \n
\n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] }, { "name": "LstsummaryMeeting", "event": [ { "listen": "test", "script": { "id": "3db3d0f9-9767-4db7-916a-1d2f9d8a18df", "exec": [ "if (responseCode.code != 200) {", " ", " tests[\"LstsummaryMeeting: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"LstsummaryMeeting: failed\"] = false", " }", " else {", " ", " tests[\"LstsummaryMeeting: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n\t\t\n\t\t\t{{SITE_NAME}}\n\t\t\t{{WEBEXID}}\n\t\t\t{{_SESSION_TICKET}} \n\t\t\n
\n \n \n \n 10\n AND\n \n \n STARTTIME\n ASC\n \n\t\t\t\n\t\t\t\t06/09/2019 15:51:00\n\t\t\t\n {{WEBEXID}}\n \n \n
" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] }, { "name": "GetMeeting", "event": [ { "listen": "test", "script": { "id": "9de34cfe-a266-4424-b76a-2b8c4c81faea", "exec": [ "postman.setNextRequest('LstMeetingAttendee');", "", "if (responseCode.code != 200) {", " ", " tests[\"GetMeeting: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"GetMeeting: failed\"] = false", " }", " else {", " ", " tests[\"GetMeeting: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n\t\t\n\t\t\t{{SITE_NAME}}\n\t\t\t{{WEBEXID}}\n\t\t\t{{_SESSION_TICKET}} \n\t\t\n
\n \n \n {{_MEETING_KEY}}\n \n \n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] }, { "name": "DelMeeting", "event": [ { "listen": "test", "script": { "id": "94958e7b-415f-4feb-84ca-33eb566d7a7a", "exec": [ "postman.setNextRequest( null )", "", "if (responseCode.code != 200) {", " ", " tests[\"DelMeeting: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"DelMeeting: failed\"] = false", " }", " else {", " ", " tests[\"DelMeeting: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n\t\t\n\t\t\t{{SITE_NAME}}\n\t\t\t{{WEBEXID}}\n\t\t\t{{_SESSION_TICKET}} \n\t\t\n
\n \n \n {{_MEETING_KEY}}\n \n \n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] } ] }, { "name": "Training Session Service", "item": [] }, { "name": "Event Center Service", "item": [] }, { "name": "Support Center Service", "item": [] }, { "name": "History Service", "item": [] }, { "name": "Site Service", "item": [] }, { "name": "Meeting Attendee Service", "item": [ { "name": "LstMeetingAttendee", "event": [ { "listen": "test", "script": { "id": "533d520d-2649-4b46-8ed5-6087b164d6ba", "exec": [ "postman.setNextRequest('DelMeeting');", "", "if (responseCode.code != 200) {", " ", " tests[\"LstMeetingAttendee: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"LstMeetingAttendee: failed\"] = false", " }", " else {", " ", " tests[\"LstMeetingAttendee: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "type": "text", "value": "application/xml" } ], "body": { "mode": "raw", "raw": "\n\n
\n\t\t\n\t\t\t{{SITE_NAME}}\n\t\t\t{{WEBEXID}}\n\t\t\t{{_SESSION_TICKET}} \n\t\t\n
\n \n \n {{_MEETING_KEY}}\n \n \n
\n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] } ] }, { "name": "Meeting Type Service", "item": [ { "name": "LstMeetingType", "event": [ { "listen": "test", "script": { "id": "f412bbae-9a61-4245-b49d-bd71143dd555", "exec": [ "if (responseCode.code != 200) {", " ", " tests[\"LstMeetingType: failed\"] = false", "}", "else {", " ", " jsonData = xml2Json(responseBody)", " ", " if ( jsonData['serv:message']['serv:header']['serv:response']['serv:result'] != 'SUCCESS') {", " ", " tests[\"LstMeetingType: failed\"] = false", " }", " else {", " ", " tests[\"LstMeetingType: SUCCESS\"] = true", " }", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/xml", "type": "text" } ], "body": { "mode": "raw", "raw": "\n\n
\n\t\t\n\t\t\t{{SITE_NAME}}\n\t\t\t{{WEBEXID}}\n\t\t\t{{_SESSION_TICKET}} \n\t\t\n
\n \n \n \n \n
\n" }, "url": { "raw": "https://api.webex.com/WBXService/XMLService", "protocol": "https", "host": [ "api", "webex", "com" ], "path": [ "WBXService", "XMLService" ] } }, "response": [] } ] } ], "event": [ { "listen": "prerequest", "script": { "id": "3f7fe00d-0f00-4022-9ab0-c37f33d66a24", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "2fd6d6ba-091e-4f0a-a4de-57af981c5f56", "type": "text/javascript", "exec": [ "" ] } } ] }