Using this Web API, developers can get a list of all the channels in an account by passing value “search_tenants” in “action” parameter. They can also pass any other optional parameter provided below to get required result set.
To get Channels accessible by a user, please set User Context before calling this API. Please either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass an access_token parameter to this call API.
Request
https://video.lexcorpinc.com/Handlers/TenantHandler.ashx?action=search_tenants
Parameters
Parameter |
Description |
sort |
Sorts result based on the numeric value passed. Possible values: 1 = Organization Name, 2 = Channel Name, 3 = Channel Url, 4 = Channel Created Date |
order |
Specifies the order in which results are sorted Possible values: asc / desc |
is_featured |
Possible values: null / true / false |
is_global_search |
Possible values: null / true / false |
count |
Number of records to fetch in result |
page |
Page index |
Response
{ "result": { "tenants": [ { "parent_tenant": null, "description": "<p>ACME is a fictitious company meant to be one of the world's leading producers of online computer and software training, supplying individuals, businesses, education providers, and non-profit organizations with instant access to richly diverse courses of informative and inspiring tutorials. This Channel is ACME's online presence where users can become member of Channel and gain access to trainings available.</p>", "membership_type": 0, "comments_moderation_enabled": false, "social_sharing_enabled": false, "viewing_access": 0, "allow_comments": false, "allow_sharing_with_external_users": false, "allow_external_users": true, "allow_join_request": true, "allow_anonymous_user_access": true, "allow_participate": 1, "account_package": null, "federated_systems": null, "content_moderation_enabled": false, "Admin_Name": null, "User_Account_Packages": null, "Created_Date_Time": "2008-07-15T21:41:32.817", "Updated_Date_Time": "0001-01-01T00:00:00", "IsActive": true, "IdentityProviderId": 0, "Samlp_Request": null, "IsSamlpRequest_Enabled": null, "IsAppendRequest": null, "merchant_account_id": null, "payment_completed": false, "isMarked": false, "LicenseId": null, "subscription_enabled": false, "EnterpriseLicenseInfo": null, "is_ssl_enable": false, "disclaimer_message": null, "is_inherit_account_tags": false, "is_restrict_new_tags_on_publishing": false, "id": 33, "name": "ACME", "domain": "acme.enterprisetube.com", "logo_url": "https://acme.enterprisetube.com/Images/etls/DefaultChannelLogo.png", "parent_tenant_id": 0, "weight": 0, "is_featured": false, "welcome_message": "<p>This is a demo account setup to show VIDIZMO potential!</p>", "welcome_title": "Welcome to ACME!", "parent_tenant_logo_url": null } ], "count": 1 }, "status": 1, "status_code": 200, "message": null }
To learn more how these Widgets work, click here on VIDIZMO Web API Library.
For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.