GetReplacementProgram
Returns the most recent program for an asset based on an old deleted program.
URL Format
/ws/get_replacement_program/apiv/{api_version}/api/{api_token}/id/{program_id}/uuid/{program_uuid}
Parameters
Name |
Req |
Type |
Description |
api_version |
|
int |
The api version number |
app_token |
|
string |
The user api token |
program_uuid |
|
uuid |
The uuid of the deleted program to search |
program_id |
|
int |
The id of the deleted program to search |
Request Headers
Possible Responses
- 203 Program Found
- 10 Invalid Parameters
- 305 Invalid Program Id
- 316 Invalid Program Uuid
- 407 No Programs Available for this Project
Example Response
<?xml version="1.0" encoding="utf-8"?>
<response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://vidego-api.multicastmedia.com/videgoWSRR" xmlns:ms="http://www.mediasuite.multicastmedia.com" xsi:schemaLocation="http://vidego-api.multicastmedia.com/videgoWSRR http://vidego-api.multicastmedia.com/videgoWSRR.xsd">
<get_replacement_program_response>
<failure>
<code>10</code>
<reason>Invalid Parameters!</reason>
<details/>
<severity>Error</severity>
<dtstamp>2024-11-21 19:15:26</dtstamp>
</failure>
</get_replacement_program_response>
</response>