The Image Content (ImageContent) Data Block part of the Assette-Aprimo integration and is not edited. The following details are informational only.
The Image Content (ImageContent) Data Block is used to retrieve the image from Aprimo API. Once the image is ready and available, the Data Block downloads the image and captures its content and format. If successful, the image data and its type are returned as a response. This Data Block is not edited.
- Parameters: Retrieves
ImageCode
,creatorEmail
, andtargetType
fromparams
, defaulting to empty or specific fallback values if not provided.
General Info #
The following table shows the default fields of the Data Block.
Field | Value |
---|---|
Name | ImageContent |
Block Category | Interface |
Block Type | Python |
Data Category | 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_post_order | The Aprimo API Post Order Data Block is an API forwarder and describes how to sends a request to an the Aprimo API and creates a request to download the latest version of a file without sending any notifications. The Aprimo API Post Order Data Block is not edited. [Link] |
Aprimo_api_order_status | The Aprimo API Order Status Data Block is used to make a GET request to the Aprimo API. The Data Block fetches information about a specific order by appending the order ID ({{id}}) to the path. [Link] |
ImageLibrary_Api_Thumbnail_Aprimo | Passes the URL which was received sets the action to “Download” from Aprimo [link] |
Columns #
None
Example Request #
The following code shows an example request using the default values of the Data Block.
{}
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.