The Aprimo Image Library API Data Block (ImageLibrary_Api_Thumbnail_Aprimo) is part of the Assette-Aprimo integration stand-up and is not edited. The following details are informational only.
The Aprimo Image Library API Data Block (ImageLibrary_Api_Thumbnail_Aprimo) passes the URL which was received from the Aprimo API Order Status Data Block (Aprimo_api_order_status) and sets the action to “Download”. The response from the API will be processed as raw data (in bytes format), and the entire response is expected to be used.
- baseUrl: The base URL for the API
- queryTemplate: Template query parameter
- method: The request method is
"GET" - jsonpath_for_data: The full response is captured using
"jsonpath" - outputType: The output is expected to be in
bytesformat
| Field | Value |
|---|---|
| Name | ImageLibrary_Api_Thumbnail_Aprimo |
| Block Category | Interface |
| Block Type | API Call |
| Data Category | None |
| Output Type | Binary |
Dependencies #
None
Example Definition #
{
"baseUrl": "",
"queryTemplate": "",
"method": "GET",
"jsonpath_for_data": "$",
"outputType":"bytes"
}
Example Request Parameter #
{
"url_parameters": "https://partnerdemo116",
"action": "download"
}
Example Response #
The following example response has been truncated due to length.
{
"bytes": "PCfttg....",
"mimeType": "text/html; charset=utf-8",
"errors": [],
"success": true,
"logs": []
}