Version 7.9.4

Back | 

WsAssetCaptionFile

URL

http://vidego.productvideocast.com/ws/ws_asset_caption_file/mode/json/apiv/5.0?method=put&
Use "request" param as post variable for submitting json/xml request payload for all PUT requests.

Parameters

  • id => id of caption file being modified

    Locale => The locale for the caption file

    title => Title for the association.

    filename =>filename ftp path to file

Request

Updates an asset's caption file

Request format

{
  "request": {
    "authentication": {
      "app_token": "7cd207c2-6808-11e3-b865-22000a8a28ea",
      "client_token": "d4c1b92c0acb102ba3e10015c5f061d1",
      "user_token": "f277cb9d46e45f67f44de949cdde110f"
    },
    "header": {
      "header_version": 1,
      "api_version": "5",
      "no_cache": true
    },
    "Ws_Asset_Caption_File": {
      "id": "1",
      "title": "My New Title",
      "locale": "en"
    }
  }
}

Test Example

{ "request": { "authentication": { "app_token": "#app_token#", "client_token": "#client_token#", "user_token": "#user_token#" }, "header": { "header_version": 1, "api_version": "5", "no_cache": true }, "Ws_Asset_Caption_File": { "id": "1", "title": "My New Title", "locale": "es" } } }

Response

Response format

{
  "response": {
    "success": {
      "code": 842,
      "message": "Caption file added\/updated",
      "details": ""
    },
    "WsAssetCaptionFile": {
      "CaptionFile": {
        "id": 1,
        "assetid": 1,
        "title": "My New Title",
        "locale": "es",
        "dateModified": "-0001-11-30T00:00:00Z",
        "filename": "\/home\/files\/myfile.xml"
      }
    }
  }
}