GetMediaList

Returns a list of all jobs in your queue.

Request

<?xml version="1.0"?>
<query>
    <userid><<id>></userid>
    <userkey><<key>></userkey>
    <action>GetMediaList</action>
    <version>[Version]</version>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "GetMediaList",
        "version": "[Version]"
    }
}

Parameter

Description

Allowed Values

version

Version

1 – default version
2 – include media closing date and time

Response

Date format: YYYY-MM-DD HH:MM:SS

Version 1 (default)

<?xml version="1.0"?>
<response>
    <media>
        <mediafile>[SourceFile]</mediafile>
        <mediaid>[MediaID]</mediaid>
        <mediastatus>Closed</mediastatus>
        <createdate>[Date]</createdate>
        <startdate>[Date]</startdate>
        <finishdate>[Date]</finishdate>
    </media>
    <media>
    <!-- ... -->
    </media>
</response>
{
    "response": {
        "media": [
            {
                "mediafile": "[SourceFile]",
                "mediaid": "[MediaID]",
                "mediastatus": "Closed",
                "createdate": "[Date]",
                "startdate": "[Date]",
                "finishdate": "[Date]"
            },
            {
                // media params
            }
        ]
    }
}

Version 2

<?xml version="1.0"?>
<response>
    <media>
        <mediafile>[SourceFile]</mediafile>
        <mediaid>[MediaID]</mediaid>
        <mediastatus>Closed</mediastatus>
        <createdate>[Date]</createdate>
        <startdate>[Date]</startdate>
        <finishdate>[Date]</finishdate>
        <closeddate>[Date]</closeddate>
    </media>
    <media>
    <!-- ... -->
    </media>
</response>
{
    "response": {
        "media": [
            {
                "mediafile": "[SourceFile]",
                "mediaid": "[MediaID]",
                "mediastatus": "Closed",
                "createdate": "[Date]",
                "startdate": "[Date]",
                "finishdate": "[Date]",
                "closeddate": "[Date]"
            },
            {
                // media params
            }
        ]
    }
}

Parameter

Description

mediafile

Source file location

mediaid

Media ID

mediastatus

Media Status

createdate

Media creation date and time

startdate

Media start date and time

finishdate

Media encoding finish date and time

closeddate

Last media task close date and time

🚧

For closeddate parameter

Often <closeddate /> parameter represents the last upload file modified time. It may differ with the actual value of about 1 second.