post
https://api.7digital.com/1.2/user/unlimitedStreaming
Create a user's subscription.You must notify us of new subscriptions. This is essential in granting streaming access for any given user, and in royalty and usage reporting back to the licensors.Subscriptions last for a maximum of a month, and must be renewed by the client if the user remains subscribed to the service for a longer duration. The OAuth 1.0 signature base string includes the parameters from the request entity-body when the body is single-part and application/x-www-form-urlencoded. Reference: here

Example request
POST https://api.7digital.com/1.2/user/unlimitedStreaming
userId=massivemusic-test-user&planCode=premium-unlimited-streaming&status=active¤cy=GBP&recurringFee=10&country=GB&activatedAt=2021-06-08T16:03:06Z¤tPeriodStartDate=2021-06-08T16:03:06Z&expiryDate=2021-06-23T16:03:06ZWhen creating subscriptions, it is essential to set the content type to application/x-www-form-urlencoded.
| Key | Value |
|---|---|
| userId | massivemusic-test-user |
| planCode | premium-unlimited-streaming |
| status | active |
| currency | GBP |
| recurringFee | 10 |
| country | GB |
| activatedAt | 2021-09-11T10:54:35Z |
| currentPeriodStartDate | 2021-09-11T10:54:35Z |
| expiryDate | 2021-10-11T10:54:35Z |
Example response
{
"streaming": {
"level": "premium",
"expiryDate": "2021-10-11T10:54:35Z"
}
}
