versión 7.9.4

Back | 

AddThumbnail

URL

vidego.productvideocast.com/services/index.php?
Use "request" param as post variable for submitting json/xml request payload for all POST requests.

Parameters

  • asset_id
  • is_remote_source
  • thumbnails

Request

Adds thumbnails to a given asset Usage: Submit a valid file name for adding a thumbnail For Remote Source set is_remote_source to 1 and thumbnail_url as the remote source file name. Url encode the thumbnail url before sending request Error Codes: 656=>Invalid Thumbnail URL, 657=>Invalid Thumbnail,637=>Invalid Asset,302=>Invalid Asset ID,

Request format

<?xml version="1.0" encoding="utf-8"?>
<add_thumbnail>
  <asset_id></asset_id>
  <is_remote_source></is_remote_source>
  <thumbnails>
    <thumbnail_url></thumbnail_url>
  </thumbnails>
</add_thumbnail>

Test Example

<?xml version="1.0" encoding="utf-8"?> <request> <authentication> <user_token></user_token> <client_token></client_token> <app_name></app_name> <app_token></app_token> </authentication> <header> <header_version></header_version> <api_version>4.0</api_version> <no_cache></no_cache> </header> <add_thumbnail> <asset_id></asset_id> <is_remote_source></is_remote_source> <thumbnails> <thumbnail_url></thumbnail_url> </thumbnails> </add_thumbnail> </request>

Response

Response format