online-help.platform.features.premier_subscription.connectors.inbound-rest-api.endpoints.asset.title
Add Image to Asset
Overview
Adding image to an asset
URL Format
https://{domain}.mobiwork.com/api/rest/{clientId}/{versionNumber}/asset/{assetId}/Image/upload.html?token=XXXXXXXX&userId={userId}
Arguments
clientId
required
MobiWork assigned unique ID of the company
versionNumber
required
Version number of MobiWork API SDK release. Current version is: 10.0.78
assetId
required
The identifier of the asset to be updated
token
required
Part of URL as a request parameter and is required in every call to verify access to API calls
userId
optional
If provided, this User ID will be taken as a logged in user
Body
<fileName>THE FILENAME OF THE IMAGE</fileName>
<content>BASE64 STRING OF IMAGE</content>