10-08-2024 09:45 AM - edited 10-08-2024 09:46 AM
Hi Team,
I have queried the sessionTypes using https://developer.webex.com/docs/api/v1/session-types/list-site-session-types API and received below response:
{
"items": [
{
"id": "3",
"shortName": "PRO",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Pro Meeting",
"type": "meeting"
},
{
"id": "9",
"shortName": "ONS",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Online Event",
"type": "EventCenter"
},
{
"id": "11",
"shortName": "TRS",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Training session",
"type": "TrainingCenter"
},
{
"id": "13",
"shortName": "SC3",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Remote Support Session",
"type": "SupportCenter"
},
{
"id": "16",
"shortName": "AUO",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Webex Personal Conference",
"type": "meeting"
},
{
"id": "220",
"shortName": "ONS",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Event 1000",
"type": "EventCenter"
},
{
"id": "522",
"shortName": "TRS",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Training 1000",
"type": "TrainingCenter"
},
{
"id": "564",
"shortName": "PRO",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Pro 1000",
"type": "meeting"
},
{
"id": "565",
"shortName": "SC3",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Support 1000",
"type": "SupportCenter"
},
{
"id": "652",
"shortName": "PRO",
"siteUrl": "sailpointsiteadmin.webex.com",
"name": "Pro-End to End Encryption_VOIPonly",
"type": "meeting"
}
]
}
After this I am using https://developer.webex.com/docs/api/v1/session-types/update-user-session-types this API to Assign session types to specific users.
Below is the request:
{
"siteUrl": "sailpointsiteadmin.webex.com",
"personId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS84MzI2ZjlmNC01MGFlLTQ0ODMtOTczZS04YzNkYmQyMTQxNjc",
"email": "john.andersen1@gmail.com",
"sessionTypeIds": [
"3","16"
]
}
And response received:
{
"personId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS84MzI2ZjlmNC01MGFlLTQ0ODMtOTczZS04YzNkYmQyMTQxNjc",
"email": "john.andersen1@gmail.com",
"siteUrl": "sailpointsiteadmin.webex.com",
"sessionTypes": []
}
As I can see, sessionType is not got assigned to user. In response, sessionType doesn't got listed though request is successful.
Could you please check and assist?
Thanks,
Prashant
Solved! Go to Solution.
10-08-2024 10:55 PM
Hi @prashant-chinchkar,
Thanks for your patience so far!
So, I checked the User Account: "john.andersen1@gmail.com" which belongs to the Org: "SAILPOINT" and currently I can find the User profile is not yet verified.
He should have received a email from Webex in that Gmail account with a authorization code and ask him to validate his profile first with that Code. Currently in Control Hub - it's showing as "Not verified" profile. <shared screenshot from Control Hub>
Now coming to the next step, from the API request - I can find you're trying to assign the SessionTypeID - 3 and 16 to this User, however the Webex siteUrl is used in the API Request is -
"sailpointsiteadmin.webex.com"
Currently this User: "john.andersen1@gmail.com" doesn't have access to this Webex Site, his default site is - "sailpoint.webex.com" <please check the below screenshot for reference> -
If you want to assign the sessionID according to the Site - "sailpointsiteadmin.webex.com", then kindly update his default Webex site to this Site URL using the API - https://developer.webex.com/docs/api/v1/meeting-preferences/update-default-site
And then try to assign those SessionType IDs to that Webex Site URL, that should work fine then.
Please let us know for any further assistance.
Regards!
Sandip
10-08-2024 10:55 PM
Hi @prashant-chinchkar,
Thanks for your patience so far!
So, I checked the User Account: "john.andersen1@gmail.com" which belongs to the Org: "SAILPOINT" and currently I can find the User profile is not yet verified.
He should have received a email from Webex in that Gmail account with a authorization code and ask him to validate his profile first with that Code. Currently in Control Hub - it's showing as "Not verified" profile. <shared screenshot from Control Hub>
Now coming to the next step, from the API request - I can find you're trying to assign the SessionTypeID - 3 and 16 to this User, however the Webex siteUrl is used in the API Request is -
"sailpointsiteadmin.webex.com"
Currently this User: "john.andersen1@gmail.com" doesn't have access to this Webex Site, his default site is - "sailpoint.webex.com" <please check the below screenshot for reference> -
If you want to assign the sessionID according to the Site - "sailpointsiteadmin.webex.com", then kindly update his default Webex site to this Site URL using the API - https://developer.webex.com/docs/api/v1/meeting-preferences/update-default-site
And then try to assign those SessionType IDs to that Webex Site URL, that should work fine then.
Please let us know for any further assistance.
Regards!
Sandip
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide