API.updateSubscriberDRMSeries

This action allows you to update a serie DRM.

Request

Note: This action is only available to PREMIUM and PLATINUM members. Click here to upgrade.
The API key must have the subscribers_write access right.
Name Type Description
apikey[required] string API public key
signature[required] string Signature of the request. See how to sign your requests.
expires timestamp UNIX timestamp for request expiration.
output string Format of the response. Either XML (default), JSON or PHP.
subscription_id[required] integer ID of the subscription.
login[required] string Login of the subscriber.
serie_id[required] integer ID of the serie subscription.
from date Start date of the period (YYYY-MM-DD).
books integer Number of publications from the start date.
extras string Free field of up to 255 characters

Response

This request sends the character string ok if successful.

Example responses

<response> <requestid>...</requestid> <requests>...</requests> <status>ok</status> </response>
{ "response": { "requestid": ..., "requests": ..., "status": "ok" } }
[ "response" => [ "requestid" => ..., "requests" => ..., "status" => "ok" ] ]

Error codes

See the error code section.