In the Designer user-interface, when the customer hits the button "Approve", the following actions occur:
The Designer server creates a new PDF file
For each page in the PDF file, the Designer server creates a thumbnail image
The user is redirected back to the shopping cart system from which the Designer session was launched
The getPreviewMulti() method allows you to recuperate URLs to the PDF file as well as URLs to the thumbnail images created by the Designer server.
Request Parameters
| SessionID | SessionID returned from method beginPersonalization |
Response
|
getPreviewMulti
Returns the URLs to the generated proofs, and to the generated previews, for simple personalization sessions as well as for grouped products sessions. |
|
|
Parameter #1 |
Session key |
|
Return Result |
Returns an array of structures structure with following members: pdf_url – The URL to the PDF proof identified by the proof ID. preview_url – An array of tuples. Each tuple is itself an array (of 2 elements):
Each element in the array corresponds to a product in the product group.
Note: If no proof has yet been generated yet for a proof, then an empty structure will be returned for that product. |