licensemanager_get_licenses

Return all licenses held for a given resource

Variable Description Data type
$resource * The ID of the resource. int

Return values

JSON containing the consent metadata.

[
    {
        "ref": 1,
        "outbound": 1,
        "holder": "License Holder",
        "license_usage": "Merchandise, TV",
        "description": "License Description",
        "expires": null
    }
]