Add image to object as an asynchronous operation. Returns (Task)

Attach an Image to a designated base object with an option to replace any pre-existing Image.

Name Description
baseInfo The base information.
imageData The image data.
replaceIfExisting if set to true [replace if existing].

Add Image To Object Async

Example in C#

// Returns: ImageInfo
var imageInfo = await client.AddImageToObjectAsync(BaseInfo baseInfo, ImageInfo imageData, Boolean replaceIfExisting)

Example in CURL

           curl -X POST \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -D '{
                       "$type":"Feenics.Keep.WebApi.Model.ImageInfo, Feenics.Keep.WebApi.Model",