When calling the getPreviewData SOAP API

Modified on Wed, 19 Feb at 12:46 PM

When calling the getPreviewData SOAP API method with an Image parameter, you need to:
a) re-scale the jpg image (suitable for display on a 2.3 cm in width and 2.9 cm in height field on a card) before you pass it as a param to the API method
b) when you pass the base64 encoded image to the API method, you need to prefix the b64 string with "data:image/jpg;base64,"
Get getPreviewData SOAP API method then responds with an output image like thi


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article