fetchSubscriberDRMSeries
This action allows you to recover all the series DRMs of a subscriber.
info
The API key must have access rights to subscribers_read.
Request
| Name | Type | Default | Description |
|---|---|---|---|
apikeyRequired | string | API public key | |
signatureRequired | string | Signature of the request. See how to sign your requests | |
expires | timestamp | UNIX timestamp for request expiration (GMT) | |
output | string | Format of the response. Either XML (default), JSON or PHP | |
subscription_idRequired | integer | ID of the folder | |
loginRequired | string | Login of the subscriber |
Response
This method returns an array of series DRMs.
| Name | Type | Default | 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": "xlV1H4",
"requests": 169,
"content": {
"total": 1,
"items": [
{
"ID": 4949,
"SubscriptionID": 4540112,
"SubscriberLogin": "leia",
"From": "2015-09-01",
"Books": 10,
"Date": "2015-10-16 11:31:05",
"Extras": ""
}
]
}
}
}