AddRecordingDefinition

From Gvp-public
Jump to navigation Jump to search

Warning.png

This method has been deprecated in GVP 3.2. Please use AddRecordingSchedule instead


Description

Schedules a series, a single program or a manual recording.

A manual recording is one specified by channel, start time, and duration, instead of by the program's EPG identifier. For manual recording, use the Channel field to specify the channel to record (not needed to dynamic recording).

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • recordingDefinition (RemotePvrRecordingDefinition, )
Object specifying what should be recorded. This will be either of type a Dynamic (for series recordings or single-program recordings) or Manual (for single or recurring manual recordings).
  • epgOptional (bool, required)
  • epgScheduleId (int, optional)
The subscriptionId that wants request the data.
  • version (int, optional)


Returns

Returns a JSON object containing object of RemotePvrSchedulingResult

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
{ Object of RemotePvrSchedulingResult }

}


Exceptions

  • None


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also