Illustration
This endpoint returns an insurance illustration associated with a particular personal plan.
API Method:
Fetch Illustration
POST https://app.whiteswan.io/api/1.1/wf/illustration
Returns the illustration as a base64 file. Convert the base64 content into PDF and save it securely to simplify access.
Headers
Authorization*
String
Bearer <YOUR API KEY>
Content-Type*
String
application/json
Accept*
String
application/json
user-agent*
String
<YOUR APP>
Request Body
JSON Body*
Object
See specification below
Code Examples - Making the API Call:
Body Parameters Specification:
Plan ID
plan_id
Text
1767096204345x539887650377297600
The ID of the plan for which you want to fetch an illustration.
Returned Parameters Specification:
File Name
file_name
Nationwide Care Matters 2 - Lifetime Pay for John Doe.pdf
The name of the file.
Content Type
content_type
application/pdf
The content type of the file.
Base 64 Data
data_base64
data:application/pdf;base64,JVBERi0xLjcNCiX5+prnDQolQUJDcGRmID...
The base64 representation of the file.
Last updated
Was this helpful?