updateSubscriberDRMSerie
This action allows you to update a subscriber's series DRM.
info
The API key must have access rights to subscribers_write.
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 | |
fromRequired | date | Start date of the period (YYYY-MM-DD) | |
booksRequired | integer | Number of publications from the start date | |
extras | string | Free field up to 255 characters | |
serie_idRequired | integer | ID of the series subscription |
Response
| Name | Type | Default | Description |
|---|---|---|---|
| status | string | Returns ok if successful |
Example response
JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "jhReaO",
"requests": 170,
"content": {
"ID": 4949,
"SubscriptionID": 4540112,
"SubscriberLogin": "leia",
"From": "2015-09-01",
"Books": 10,
"Date": "2015-10-16 11:31:05",
"Extras": ""
}
}
}