7 March 2024

PDF report attached to the email notification

Added new parameter for Qualify Validation QC test

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>AddMedia</action>
    <source>[SourceFile|SourcePlaylist]</source><!-- required -->
    <format>
        <output>[mp4|cablelabs_mpegts|mainconcept_mxf|mxf_op1a]</output><!-- required -->
        <qc> 
            <qc_qualify_validation>
                <template_id>[TemplateGUID]</template_id><!-- required if template_json not specified -->
                <template>[TemplateName]</template><!-- optional, deprecated -->
                <template_json><![CDATA[
                    {
                        "name": "[TemplateName]",
                        "tests": {
                            [TestsList]
                        },
                        "package_layout": {
                            // package_layout params
                        },
                        "audio_layout": {
                            // audio_layout params
                        }
                    }
                ]]></template_json>
                <sidecar>[SidecarURL_1]</sidecar>
                <sidecar>[SidecarURL_2]</sidecar>
                <!-- ... -->
                <sidecar>[SidecarURL_N]</sidecar>
                <report_destination>[ReportDestinationURL]</report_destination>
                <send_pdf>[yes|no]</send_pdf>
            </qc_qualify_validation>
        </qc>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[mp4|cablelabs_mpegts|mainconcept_mxf|mxf_op1a]", // required
            "qc": {
                "qc_qualify_validation": {
                    "template_id": "[TemplateGUID]", // required if template_json not specified
                    "template": "[TemplateName]", // optional, deprecated
                    "template_json": {
                        "name": "[TemplateName]",
                        "tests": {
                            [TestsList]
                        },
                        "package_layout": {
                            // package_layout params
                        },
                        "audio_layout": {
                            // audio_layout params
                        }
                    },
                    "sidecar": [
                        "SidecarURL_1",
                        "SidecarURL_2",
                        // ...
                        "SidecarURL_N"
                    ],
                    "report_destination": "[ReportDestinationURL]",
                    "send_pdf": "[yes|no]"
                }
            }
            // format params
        }
    }
}
<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>AddMedia</action>
    <source>[SourceFile|SourcePlaylist]</source><!-- required -->
    <format>
        <output>qc_check</output><!-- required -->
        <source_options>
            <qc> 
                <qc_qualify_validation>
                    <template_id>[TemplateGUID]</template_id><!-- required if template_json not specified -->
                    <template>[TemplateName]</template><!-- optional, deprecated -->
                    <template_json><![CDATA[
                        {
                            "name": "[TemplateName]",
                            "tests": {
                                [TestsList]
                            },
                            "package_layout": {
                                // package_layout params
                            },
                            "audio_layout": {
                                // audio_layout params
                            }
                        }
                    ]]></template_json>
                    <sidecar>[SidecarURL_1]</sidecar>
                    <sidecar>[SidecarURL_2]</sidecar>
                    <!-- ... -->
                    <sidecar>[SidecarURL_N]</sidecar>
                    <report_destination>[ReportDestinationURL]</report_destination>
                    <send_pdf>[yes|no]</send_pdf>
                </qc_qualify_validation>
            </qc>
        </source_options>
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "qc_check", // required
            "source_options": {
                "qc": {
                    "qc_qualify_validation": {
                        "template_id": "[TemplateGUID]", // required if template_json not specified
                        "template": "[TemplateName]", // optional, deprecated
                        "template_json": {
                            "name": "[TemplateName]",
                            "tests": {
                                [TestsList]
                            },
                            "package_layout": {
                                // package_layout params
                            },
                            "audio_layout": {
                                // audio_layout params
                            }
                        },
                        "sidecar": [
                            "SidecarURL_1",
                            "SidecarURL_2",
                            // ...
                            "SidecarURL_N"
                        ],
                        "report_destination": "[ReportDestinationURL]",
                        "send_pdf": "[yes|no]"
                    }
                }
            }
        }
    }
}
ParameterDecriptionAllowed ValuesDefault Value
send_pdfAttach a PDF report to the email notification from "qc_notify"yes, nono