How do I send a batch request to Vid.ly?

Want to send a batch request and convert a ton of source files to vid.lys all at one time? Use the following formatting to achieve this.

<?xml version="1.0"?>
<query>
    <action>AddMedia</action>
    <userid>[User_ID]</userid>
    <userkey>[User_Key]</userkey>
    <notify>[email_or_URL]</notify>
    <Source>
        <SourceFile>[SourceFile1]</SourceFile>
        <CDN>[CDNType]</CDN>
    </Source><Source>
        <SourceFile>[SourceFile2]</SourceFile>
        <CDN>[CDNType]</CDN>
    </Source>
</query>

Your response will be as follows:

<?xml version="1.0"?>
<Response>
    <Message>All medias have been added.</Message>
    <MessageCode>2.1</MessageCode>
    <BatchID>[unique_id]</BatchID>
    <Success>
        <MediaShortLink>
            <SourceFile>[SourceFile1]</SourceFile>
            <ShortLink>[Vid.ly_shortlink1]</ShortLink>
        </MediaShortLink>
        <MediaShortLink>
            <SourceFile>[SourceFile2]</SourceFile>
            <ShortLink>[Vid.ly_shortlink2]</ShortLink>
        </MediaShortLink>
    </Success>
</Response>
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

edchelp