Execute asset upload
Upload an asset.
ExecuteAssetUpload: function (_sURL, _sMethod, _sDORecordID, _sFormat, _sParameterName, _oCustomHeader, _fCallbackSuccess, _fCallBackFail)
Request parameter attributes
Attribute | Type | Description | Required |
---|---|---|---|
URL | string | This attribute must be one of the following:
| yes |
Method | string | Specify the HTTP call method (GET, POST, etc.). Refer to Mozilla’s documentation for a full list of method options. This attribute is required. | yes |
DORecordID | string | The record ID of an asset. | yes |
Format | string | The asset format. | yes |
ParameterName | string | The key of the key-value pair in which the asset is the value. For example, if the system uploading the file expects a key-value pair of “file:{fileName}”, enter “file”. | yes |
CustomHeader | object | HTTP headers of the API call. | yes |
Updated 13 days ago