Skip to main content

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​

NameTypeDefaultDescription
apikeyRequired
stringAPI public key
signatureRequired
stringSignature of the request. See how to sign your requests
expires
timestampUNIX timestamp for request expiration (GMT)
output
stringFormat of the response. Either XML (default), JSON or PHP
subscription_idRequired
integerID of the folder
loginRequired
stringLogin of the subscriber

Response​

This method returns an array of series DRMs.

NameTypeDefaultDescription
IDintegerID of the DRM
SubscriptionIDintegerID of the folder
SubscriberLoginstringLogin of the subscriber
FromdateStart date of the series (YYYY-MM-DD)
BooksintegerNumber of publications from the start date
ExtrasstringFree 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": ""
}
]
}
}
}