The developer can get assigned campaigns for logged in user by passing value “get_my_assigned_mashups” in “action” parameter, the developer can pass any other optional parameter provided below to get required result set.
This method requires User Context be set before calling it. And like other APIs either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to set User Context.
Request
Parameters
Parameter |
Description |
is_completed |
Fetches only completed campaigns |
count |
Number of records to fetch in result |
page |
Page index |
Response
{ "result": { "campaigns": [ { "percent_completed": 0, "mashups": [ { "is_completed": false, "percent_completed": 0, "viewing_history": [], "view_status": 3, "custom_mashup_attributes": null, "id": 108744, "id_hash": "OlSusaJxWV5huTAqJOOxbA%3d%3d", "weight": 0, "title": "Windows-Azure-Pack-Overview (Copy 2)", "duration": 0, "thumbnail_url": "http://vidizmo.blob.core.windows.net/nadeem-5145/186987/Images/00000e/ImgThumbs/E57EF89A0402201504140526015534-pptx_small_1.jpg", "content_count": 1, "thumbnail_large_url": null, "thumbnail_medium_url": null, "long_description": "", "description": "", "size": null, "tenant": { "id": 5145, "name": null, "domain": "twitter.nadeem.tv", "logo_url": null, "parent_tenant_id": 0, "weight": 0, "is_featured": null, "welcome_message": null, "welcome_title": null, "parent_tenant_logo_url": null }, "owner": { "user_profile": { "id": 0, "first_name": "Muhammad", "last_name": "", "email_address": null }, "tenant": null, "tenant_id": 0, "user_id": 186987 }, "tags": [], "created_date": "2015-04-14T05:24:14.46Z", "published_date": "2015-04-14T05:24:14.46Z", "is_live": false, "is_sellable": false, "price": null, "total_likes": 0, "total_dislikes": 0, "total_rating": 0, "total_favorites": 0, "total_bans": 0, "total_views": 0, "is_featured": false, "channel_name": null, "mashup_status": 3, "updated_date": "2015-04-14T05:24:14.46", "mashup_format": 3, "number_of_users": 0, "is_enforce_quiz_completion": null, "is_expired": false, "expiry_date": null, "show_on_channel_library": null, "total_no_of_sessions": 0, "mashup_status_value": "Published", "client_time_zone_offset": 0, "total_comments": 0, "mashup_meta_info_tag": null, "mashup_meta_info_category_name": null, "mashup_format_value": "Document", "loop": null, "enforce_order": null, "enforce_completion": null, "default_viewing_access": "None", "comment_moderation_required": null, "auto_play": null, "auto_advance": null, "published_on": null }, { "is_completed": false, "percent_completed": 0, "viewing_history": [], "view_status": 3, "custom_mashup_attributes": null, "id": 86038, "id_hash": "mPKuzLtoTlDS9%2bhGHTjyYw%3d%3d", "weight": 0, "title": "Moto X Lazy Phone Ad -- Quick Capture - YouTube", "duration": 47, "thumbnail_url": "http://vidizmo.blob.core.windows.net/nadeem-5145/186987/Images/00000D/ImgThumbs/D57311638A2B20140628113258184_flv.jpg", "content_count": 0, "thumbnail_large_url": null, "thumbnail_medium_url": null, "long_description": "", "description": "", "size": null, "tenant": { "id": 5145, "name": null, "domain": "twitter.nadeem.tv", "logo_url": null, "parent_tenant_id": 0, "weight": 0, "is_featured": null, "welcome_message": null, "welcome_title": null, "parent_tenant_logo_url": null }, "owner": { "user_profile": { "id": 0, "first_name": "Muhammad", "last_name": "", "email_address": null }, "tenant": null, "tenant_id": 0, "user_id": 186987 }, "tags": [], "created_date": "2014-06-28T11:33:13.783Z", "published_date": "2014-06-28T11:33:13.783Z", "is_live": false, "is_sellable": false, "price": null, "total_likes": 0, "total_dislikes": 0, "total_rating": 0, "total_favorites": 0, "total_bans": 0, "total_views": 0, "is_featured": true, "channel_name": null, "mashup_status": 3, "updated_date": "2014-06-28T11:33:13.783", "mashup_format": 8, "number_of_users": 0, "is_enforce_quiz_completion": null, "is_expired": false, "expiry_date": null, "show_on_channel_library": null, "total_no_of_sessions": 0, "mashup_status_value": "Published", "client_time_zone_offset": 0, "total_comments": 0, "mashup_meta_info_tag": null, "mashup_meta_info_category_name": null, "mashup_format_value": "Video", "loop": null, "enforce_order": null, "enforce_completion": null, "default_viewing_access": "None", "comment_moderation_required": null, "auto_play": null, "auto_advance": null, "published_on": null } ], "id": 13240, "title": "a@sharklasers.com", "description": "<p>a@sharklasers.com</p>", "start_date": "2015-04-01T00:00:00", "end_date": "2015-04-30T23:59:59", "camgain_entrol": true, "Auto_Entrollment_Mode": 1, "campaign_status_id": 6, "enforce_duration": true } ] }, "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.