Developers using this Web API can get content licenses against a logged in user by passing the value “get_licenses” in the “action” parameter. This parameter can be used with other optional parameters to get the required result set. Some of the parameters are given in the table below.


To set User Context and get user specific Favorite Videos back, either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to this call API.


Request



Parameters


Parameter 

Description

mashup_id

Id of a content.


Response

 

  {
  "result": [
    {
      "aquisition_detail": {
        "email_address": "jk@sharklasers.com",
        "first_name": "JK",
        "last_name": "",
        "number_Of_users": 10,
        "payment_referral_site_id": 0,
        "price": 0,
        "tenant_id": 1785,
        "transaction_id": null,
        "user_id": 305066
      },
      "id": 36223,
      "license_durations": [
        {
          "ClientOffSet": 0,
          "EndDate": "2015-05-21T23:59:59",
          "FromDate": "2015-05-13T00:00:00"
        }
      ],
      "licensed_users": [],
      "license_type": 2,
      "mashup_id": 176571,
      "mashup_session_id": null,
      "max_allowed_views": -1,
      "send_notification": null,
      "triggered_by": 0
    }
  ],
  "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.