The Aprimo Image Thumbnail (ImageThumbnail) Data Block is part of the standard Assette-Aprimo stand-up and is not edited.
The Aprimo Image Thumbnail (ImageThumbnail) Data Block is used to retrieve a thumbnail image from Aprimo. This Data Block should not be edited.
General Info #
The following table shows the default fields of the Data Block.
Field | Value |
---|---|
Name | ImageThumbnail |
Block Category | Transform |
Block Type | Python |
Data Type | None |
Output Type | Binary |
Dependencies #
The following table shows the default dependencies of the Data Block.
Data Block Name | Description |
---|---|
ContentEnv | Used to import Python modules and libraries (e.g., “import numpy as np”) [Link] |
Aprimo_api_single_record | Retrieves a single thumbnail from Aprimo [link] |
ImageLibrary_Api_Thumbnail_Aprimo | Passes image URL and sets the action to “Download” for Aprimo [link] |
Columns #
None
Example Request #
The following code shows an example request using the default values of the Data Block.
{
"ImageCodes": "Value",
"IsThumbnail": "yes"
}
Example Response #
The following code shows an example response using the default values of the Data Block. The default data source is the Assette Snowflake Demo Instance. The response may be shortened for brevity.
{
"data": [
{
"bytes": "RDYTFGUIHjg.....
"mimeType": "text/html; charset=utf-8",
"ImageCode": "Value",
"IsThumbnail": true
}
],
"errors": [],
"success": false,
"logs": []
}