Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Warning

These guidelines are obsolete, see User Licenses API v4

...

List of Licenses

Version2.0

...

Method TypeURLAuthorization
GEThttps://booxdomain.fitld/api/user/<email>/licenseService, User

...

ParameterM/ODescription
pgOPage number if the results have more items than ipp
ippOMaximum number of result items per page
ServiceMService to which the user belongs.
StatusOFilter the result of a specific status. Possible values are "active", "suspended" and "expired". Defaults to none.
OutputOChoose amount of details to show for each program. Options are "minimal", "normal" and "full". Defaults to "normal"
pidOFilter licenses for a specific product, identified by its "id". Defaults to none
payment_methodOFilter licenses for a specific payment mehtod. Possible values are , 'all', 'credit_card', 'wallet', 'voucher'. Defaults to all
supported_deviceOFilter licenses for a specific device. Possible values are , 'all', 'web', 'mobile', 'tablet', 'tv'. Defaults to all

JSON Response


{
   "license": {
       "resultSet": {
        "totalItems": 1,
        "totalPages": 1,
        "itemsPerPage": 1000,
        "currentPage": 0,
        "offset": 0
    },
    "licenseList": {
        "description": "User licenses",
        "licenses": [
        {
            "id": "1",
            "status": "ACTIVE",
            "startDate": "2013-01-11 16:22:13",
            "stopDate": "2013-01-11 16:22:18",
            "purchaseDate": "2013-01-11 16:22:22",
            "currency": "EUR",
            "paymentMethod": "credit_card",
            "price": 1.0,
            "productUrl": "https://boox.fi/api/user/waqqas.jabbar%40gmail.com/product/2?service=sevice1",
            "recurring": false
        }]
        }
    }
}

...