Version 7.8.2

Back | 

UpdateAsset

URL

medialize.stream.co.jp/services/index.php?
Use "request" param as post variable for submitting json/xml request payload for all POST requests.

Parameters

  • asset

Request

Edit command for an asset. Usage: The element's unique ID must exist and be valid. Only specified fields are updated. Omitted fields are ignored. Specify the path of a caption file already uploaded to the server to add to the asset. hidden, publish and youtube_publish are optional and can accept the values yes/no or true/false. start date and end date must be the timezone set within the account default asset and program timezone setting.

Request format

<?xml version="1.0" encoding="utf-8"?>
<update_asset>
  <asset>
    <asset_id></asset_id>
    <asset_type></asset_type>
    <title></title>
    <description></description>
    <hidden></hidden>
    <publish></publish>
    <youtube_publish></youtube_publish>
    <start_date></start_date>
    <end_date></end_date>
    <media_folder></media_folder>
    <captionfile></captionfile>
    <tags></tags>
    <generated_thumbnail_count></generated_thumbnail_count>
    <assetfile_filenames>
      <assetfile_filename id="">
      </assetfile_filename>
    </assetfile_filenames>
    <metadatas>
      <metadata metaname="">
      </metadata>
    </metadatas>
  </asset>
</update_asset>

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> <update_asset> <asset> <asset_id></asset_id> <asset_type></asset_type> <title></title> <description></description> <hidden></hidden> <publish></publish> <youtube_publish></youtube_publish> <start_date></start_date> <end_date></end_date> <media_folder></media_folder> <captionfile></captionfile> <tags></tags> <generated_thumbnail_count></generated_thumbnail_count> <assetfile_filenames> <assetfile_filename id=""> </assetfile_filename> </assetfile_filenames> <metadatas> <metadata metaname=""> </metadata> </metadatas> </asset> </update_asset> </request>

Response

Response format