Get image by category as an asynchronous operation. Returns (Task)Exception Type: FailedOutcomeException
Find Image attached to an object that matches the category supplied.
Name | Description |
---|---|
objectInfo | The object information. |
category | The category. |
Example in C#
// Returns: ImageInfo
var imageInfo = await client.GetImageByCategoryAsync(BaseInfo objectInfo, String category);
Example in CURL
curl -X GET \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/images?category=cUrlExample \
-H 'Authorization: Bearer TOKEN_GOES_HERE'