Difference between revisions of "DeleteRecordingSchedule"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| Description= Delete each of the given Schedule Recording from the platform. If the external platform provides a Network PVR service, this method will remove co...") |
|||
Line 60: | Line 60: | ||
|Exceptions= | |Exceptions= | ||
− | * | + | * [[StatusCode#AuthenticationRequiredException|AuthenticationRequiredException]]: if authentication parameters are incorrect/missing. |
+ | * [[StatusCode#MissingRequiredParameter|MissingRequiredParameter]]: if a required parameter is missing. | ||
+ | * [[StatusCode#InvalidLiveProgramException|InvalidLiveProgramException]]: if the program id is invalid. | ||
+ | * [[StatusCode#UnexpectedRecordingResponseException|UnexpectedRecordingResponseException]]: General recording service exception. | ||
|Cache= | |Cache= |
Revision as of 06:57, 9 June 2014
Description
Delete each of the given Schedule Recording from the platform. If the external platform provides a Network PVR service, this method will remove contents accessible by the network. In the case of Remote PVR service availability, this method will physically delete contents from the connected STB hard disk.
Returns an array of RecordingSchedule objects, filled with the recording related parameters:
- If the recording was successfully deleted by the platform, its state will be "Deleted"
- If a given recording could not be deleted, its state will remain "Recorded".
- If a given recording was not found, its state will be "Not Found".
Parameters
- token (String, required)
- A valid token for identifying the API session context and logged user.
- recordingScheduleId (int, required)
- ID of the Recording Schedule to be canceled
- programId (int, required)
- Live Program ID
- channelId (int, required)
- Live Channel ID
- serieId (int, optional)
- ID of the series associated to the schedule. Value will be set to 0 if the program is not a series episode.
- entireSeries (bool, optional (default=false))
- If the Schedule Id is a series episode, all the next episodes should also be scheduled for recording when set to true. If set to false, only the single episode will be scheduled.
Returns
Returns a JSON object with a list of RecordingSchedule.
Example:
{
- "Offset": 0,
- "Limit": 10,
- "Count": 48,
- [ Array of RecordingSchedule objects ]
}
Exceptions
- AuthenticationRequiredException: if authentication parameters are incorrect/missing.
- MissingRequiredParameter: if a required parameter is missing.
- InvalidLiveProgramException: if the program id is invalid.
- UnexpectedRecordingResponseException: General recording service exception.
Caching
This method is not cached.
Known issues
None
Version history
API Version Number | Change description | Changes author |
---|---|---|
2.4 | Initial method design |
See also
- RecordingSchedule object type
- Network_Pvr_Service methods