addSubscriberDRMSerie
This action allows you to create an access to a fixed number of publications starting from a specific date.
info
The API key must have access rights to subscribers_write.
Request
Response
This method returns a series DRM.
| Name | Type | Description |
|---|---|---|
| ID | integer | ID of the DRM |
| SubscriptionID | integer | ID of the folder |
| SubscriberLogin | string | Login of the subscriber |
| From | date | Start date of the series (YYYY-MM-DD) |
| Books | integer | Number of publications from the start date |
| Extras | string | Free field up to 255 characters |
Example response
JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "ocrBAf",
"requests": 166,
"content": {
"ID": 4949,
"SubscriptionID": 4540112,
"SubscriberLogin": "leia",
"From": "2015-09-01",
"Books": 10,
"Date": "2015-10-16 11:31:05",
"Extras": ""
}
}
}