Supported Lines of Business:
Personal Line Of Business (use these codes while creating the template)
Dwelling Fire - DFIREP
Homeowners - HOMEP
Inland Marine - INMARP
Mobile Home - MHOMEP
Watercraft- WATERCRAFTP
Automobile - AUTOP
Umbrella - UMBP
Flood (Personal or Commercial) - FLOODP
Personal Package - PKGP
Header Groups - HEADER_GROUPS
Commercial Line Of Business (use these codes while creating the template)
Direct Bill Commission - DBC
Business Automobile - AUTOC
Worker’s Compensation - WCC
Commercial General Liability - LIABC
Property - PROPC
Crime - CRIMEC
Inland Marine - INMARC
Garage & Dealers- GARAGEC
Umbrella - UMBC
Commercial Package- PKGC
Business Owner’s Policy (BOP)-BOPC
Commercial Package with BOP- PKGC_BOPC
Agriculture/Farm Package- AGRIC
WinsurTech AL3 API makes it very easy to accomplish the following:
The API endpoints work for both Policy Transaction files and Direct Bill Commission Files. In addition, there are endpoints to fetch all the valid values (according to ACORD) for code lists and map NAIC code to the Carrier.
Download Files from the IVANS mailbox set of endpoints allow users to log in to IVANS with their respective mailbox credentials (IVANS Secret Key, IVANS Client Id, Mailbox Account Name, Mailbox User Id, and Mailbox Password). After login, users can fetch the details of all the files available in their respective mailbox account and then fetch each available file from the mailbox.
AL3 to JSON/CSV Endpoints make it effortless to extract diverse Policy data and Direct Bill Commission data from the AL3 file.
An AL3 file usually consists of various details, like:
Using the set of endpoints available in our API, users can extract each of the above-mentioned information one by one as required.
In addition, for Direct Bill Commission files users can extract:
Convert CSV/JSON to ACORD AL3 Endpoints take a CSV/JSON file as an input, and convert it into an ACORD AL3 File or DAT file. There is one endpoint to generate template for different Lines of Business and another endpoint, to convert the generated templates into an AL3 file. Users are required to fill in the available values in the “Value” column and upload the CSV/JSON back into our AL3 Creation endpoint to create the AL3 file. It is not required to fill the values for the rows that are not applicable in your case.
Code List endpoints and Carrier Name endpoints are available to help the users further while preparing the CSV/JSON. These endpoints turn out to be helpful for users while preparing the CSV/JSON.
The Code List Names endpoint generates all the code list names as a response and contains al3_reference_id along with a description. Users can copy the reference Id from there, paste that ID in the Code List Values endpoint and use the required code from the output to add it to the Value column in the CSV/JSON Template for the AL3 file.
The Carrier Details endpoint will help the users to get the details related to the Carrier. The generated output contains the Carrier Name and NAIC Code for the Carrier that matches the substring entered.
Claims/ACORD XML to JSON Endpoints make it feasible to extract data from the Claims File into JSON output format and to extract images and documents embedded inside the Claim files. Claims files are downloaded from the users, respective, IVANS mailboxes.
How to view AL3 file contents on UI?
To view the AL3 files on screen, users can use WinsurTech AL3 Viewer or WinsurTech Web Viewer.
Links:
WinsurTech AL3 Viewer: https://winsurtech.com/al3-desktop-viewer
WinsurTech Web Viewer: https://products.winsurtech.com
Some important points:
Key points about “per-policy” endpoints:
How to download postman collection and reset User Secret Key
**Click over the eye icon to view the secret key, you will need this key to call the Endpoints**
**Each API has its own distinct user key, update the respective API key under the authorization tab**
A. AL3 Parser API
AL3 Parser API makes it easy to extract different types of Policy data and Direct Bill Commission data from the AL3 file. This API converts Transaction Information, Insured Information, Basic Policy Information, Coverages, limits, deductibles, options, etc. Using the set of endpoints available in our API, you can extract this information one by one as required. In addition, you can extract Commission Summary Data and Commission Details Data for Direct Bill commission files. This API allows the user to get a response directly as well as from the callback URL provided by the user.
Description
These endpoints allow users to log in to IVANS with their, respective, mailbox credentials and fetch the information of all the files available in their mailbox account and then fetch each available file from the mailbox one by one. Both Policy Transaction Files and Direct Bill Commission Files can be downloaded and fetched.
Endpoint Information
User Authentication: Each Endpoint needs a USER_SECRET parameter in the HEADER while making the request
Description
This endpoint enables the users to get the access token from IVANS for authorization purposes to access other API endpoints. Users must provide IVANS Secret Key, IVANS Client Id, Mailbox Account Name, Mailbox User Id, and Mailbox Password. After providing these details, an access_token is generated to pull files and their content from the mailbox.
Key (Body Parameter) |
Value |
Default Value |
mailbox_account |
eg: RR44A |
null |
mailbox_user_id |
eg: YB333CJ |
null |
mailbox_password |
eg: Summer2010! |
null |
ivans_api_client_id |
eg: 11AB1234-2345-12D2-A235-2AC05A12B345 |
null |
ivans_api_client_secret |
eg: 1233d254f-6e98-2df2-aa62-jc1234a2b121 |
null |
In the Body Parameters (all required):
Postman Screenshot
Description
This endpoint enables the users to fetch details about all the files available in the IVANS mailbox. Information on the accessible files reverberates with details like File Id, original name, remote name, status date, and the rest. The file Id returned here is used to call the adjacent endpoint to fetch the file.
Key (Params Parameter) |
Value |
Default Value |
mailbox_account |
eg: ZZ82B |
null |
mailbox_user_id |
eg: DV566XY |
null |
Postman Screenshot
Request Method:
GET
Endpoint:
BaseURL
/callback/ivans/pull-file
Description
Users can fetch details of a particular file with the help of this endpoint, by providing its file_id received in the output of the pull-files-info endpoint. In mark_as_received, enter the value as true, if you want to mark the file as received and not show it in the file_info list of the "Pull Files Information" endpoint in the future. The default value is assumed to be false.
Key (Params Parameter) |
Value |
Default Value |
file_id |
eg: 3374be83-c57f-4b97-b4c6-16fde72f6e6f |
null |
mark_as_received |
eg: false |
false |
Postman Screenshot
WinsurTech AL3 Viewer: https://winsurtech.com/al3-desktop-viewer
WinsurTech Web Viewer: https://products.winsurtech.com
With AL3 to JSON API endpoints, we make it easy to extract various types of Policy and Direct Bill Commission data from the AL3 file.
AL3 to JSON endpoints are comprised of three sets that are discussed below:
User Authentication: Each Endpoint needs the USER_SECRET parameter in the HEADER while making the request
The suggested flow for Policy transaction files is mentioned below:
The suggested flow for DB Commission files is mentioned below:
Request Method:
POST
Endpoint:
BaseURL
/conversion
Description
This is the main endpoint that converts an AL3 file to JSON/ CSV. This must be called
before calling other endpoints. Once this call is made, users must note down the transaction Id
they get back in the JSON Output, and use that Id to call the per-policy endpoints to extract specific
pieces of information. Note that Per-Policy calls are supported only for Policy Transaction AL3 Files.
With the help of a single call, the output can be obtained for both Policy Transaction Files as well as
Direct Bill Commission Files.
In case, the output size is 6MB or more than that, then the users will be notified in the
output, regarding the same. In this scenario, the users are required to use the Download AL3 Conversion Output endpoint with the
transaction Id to download the output.
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: AUTOP_4_masked.al3 |
null |
output_format |
eg: CSV/ ams_map / JSON / ams_map_raw / ams_map1 |
null |
omit_blank_values |
eg: true/false |
true |
omit_question_marks |
eg: true/false |
false |
keep_alive |
eg: true/false |
true |
replace_code |
eg: true/false |
true |
Request Method:
GET
Endpoint:
BaseURL
/download-al3-conversion-output
Description
If the size of the output is 6MB or more than that, then instead of direct output, users will be notified in the output regarding the same. The users are required to use this endpoint to download the output of the required file.
import gzip import shutil import requests import compress_json url = "https://apis.webnerserver.com/al3/v2/download-al3-conversion-output" payload={'transaction_id': 'nu6tbt6bt-dy56-fgh656-vdrr55-asd2345fgds'} files=[] headers = {'user-secret': 'zcv3457h-as34-df54f-12sdf-nh675cggvtfvftv'} response = requests.request("GET", url, headers=headers, data=payload, files=files) import gzip import shutil with open('geojson.gz','wb') as f: f.write(response.content) with gzip.open('geojson.gz', 'rb') as gz_in: with open('geo.json', 'wb') as json_out: shutil.copyfileobj(gz_in, json_out)
For Windows, kindly use Winzip to decompress the file.
JSON extension needs to be provided in case it is not visible after decompressing.
Request Method:
POST
EndPoint:
BaseURL
/callBack-conversion
Description
This endpoint converts the Al3 File into JSON/ ams_map/ ams_map_raw/ ams_map1 and excel format. This endpoint provides the users with a complete response in these formats. Users must use this endpoint, in case their file size is more than 1 MB since the conversion endpoint will support the file less than or equal to 1 MB. So if users are looking forward to converting files of 1MB or more than that, they should call /the callBack-conversion endpoint. Also, users are required to give the callback URL as input to this endpoint since the generated response will be displayed and stored on the URL entered by the users.
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: AUTOP_4_masked.al3 |
null |
output_format |
eg: JSON/ams_map/ams_map_raw/ams_map1/excel |
null |
callback_url |
eg: https://google.com |
null |
omit_blank_values |
eg: true/false |
true |
omit_question_marks |
eg: true/false |
false |
keep_alive |
eg: true/false |
false |
replace_code |
eg: true/false |
true |
Postman Screenshot
Request Method:
POST
EndPoint:
BaseURL
/callBack-conversion-s3output
Description
This endpoint converts the required AL3 File into JSON or ams_map or ams_map_raw or ams_map1 or excel and will display the complete response in the required format and the converted file will be uploaded to S3 Bucket. To upload the converted file to the S3 bucket, users need to fill in the valid credentials for s3_bucket_name,aws_acces_key, and aws_access_secret parameters.
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: HOMEP_6_masked.al3 |
null |
output_format |
eg: JSON/ams_map/ams_map_raw/ams_map1/excel |
null |
notification_url |
eg: https://83hg65yhlobs56lrclnknkjviud56ojlk0okpag.lambda-url.us-east-1.on.aws/al3/v2/callbackTesing |
null |
omit_blank_values |
eg: true/false |
true |
omit_question_marks |
eg: true/false |
false |
s3_bucket_name |
eg: callback-response |
null |
aws_acces_key |
eg: DFGHYWE59KL66P |
null |
aws_access_secret |
eg: tjkd6rTYa6lSRu5R5SRPzL+BoPj2rcUyxL9bHJrty |
null |
folder_path |
eg: json_files/ |
null |
keep_alive |
eg: true/false |
true |
replace_code |
eg: true/false |
true |
Postman Screenshot
Request Method:
POST
EndPoint:
BaseURL
/callBack-conversion-azure
Description
The users need to provide their input file's URL from Azure, and along with it, they need to
provide the required access key. Consequently, this endpoint will help the users by providing
them with the desired output in the required format.
In case, the output size is 6MB or more than that, then the users will be notified in the output, regarding the same. In this scenario, the users are required to use the Download AL3 Conversion Output endpoint with the transaction id to download the output.
Key (Body Parameter) |
Value |
Default Value |
input_file_url |
eg:https://wbstesting.MRB.JJD.SKJF_100.al3 |
null |
account_key |
eg: 1sjngjskJHdUIKNQOEJPOJKWQPEK123== |
null |
output_format |
eg: JSON/ams_map/ams_map_raw/ams_map1/excel |
null |
omit_blank_values |
eg: true/false |
true |
omit_question_marks |
eg: true/false |
false |
keep_alive |
eg: true/false |
true |
replace_code |
eg: true/false |
true |
Request Method:
POST
EndPoint:
BaseURL
/callBack-conversion-s3
Description
The users need to provide their input file's URL from S3 Bucket.
Consequently, this endpoint will help the users by providing
them with the desired output in the required format.
In case, the output size is 6MB or more than that, then the users will be notified in the output, regarding the same. In this scenario, the users are required to use the Download AL3 Conversion Output endpoint with the transaction id to download the output.
Key (Body Parameter) |
Value |
Default Value |
input_file_url |
eg: https://s3Conversion.sd.nsaff4598 |
null |
output_format |
eg: JSON/ams_map/ams_map_raw/ams_map1/Excel |
null |
keep_alive |
eg: true/false |
true |
replace_code |
eg: true/false |
true |
omit_blank_values |
eg: true/false |
true |
omit_question_marks |
eg: true/false |
false |
Request Method:
POST
EndPoint:
BaseURL
/get-callback-transaction-status
Description
This endpoint will let the users know about the transaction’s status,i.e., whether the transaction is passed or failed.
Postman Screenshot
Request Method:
POST
EndPoint:
BaseURL
/get-callback-transaction-output
Description
This endpoint will display the entire output in the requested format. If a user wants to view the output in JSON format than the entire output is going to be displayed in the desired format. This endpoint generates the output in zip format.
Postman Screenshot
Request Method:
POST
EndPoint:
BaseURL
/callback/all-transaction-summary
Description
Postman Screenshot
This endpoint is used to fetch the summary of all the policy transactions contained within the
AL3 file that the users just converted. From “summary“ the meaning is, that only the following parameters
for each policy transaction will be returned in the JSON output:
- Policy Number
- LOB Type
- Transaction Type
Using the transaction id obtained in the output of the Conversion API call, and the transaction summary parameters, call any endpoint in this group in any order to fetch the specific details.
**Note that our server does not store the AL3 file and the JSON output is retained only for 2 hours duration. After that transaction id expires and you need to call the conversion API again to convert the file again**
From the Transaction Summary API, you will get the following parameters for each transaction contained in the AL3 file:
For the per-policy API endpoints, use a combination of these 3 parameters as required. The output will depend on what parameter values are passed.
If multiple parameter values are passed, then it will return the data for all the policies that match all the passed parameter value
Output formats supported for Per-Policy Endpoints are JSON, AMS_MAP, and AMS_MAP_RAW
**Use these API endpoints only for Policy Transaction AL3 files, not for Direct Bill Commission files. Before calling this API call the /al3/conversion API only then it will work**
Input Parameters:
Input Parameters remain the same for every per-policy endpoint hence mentioned only once here.
Key (Body Parameter) |
Value |
Default Value |
transaction_id |
eg: 98833ce8-f1bb-4e65-bffd-844296ef2e36 |
null |
lob_type |
eg: FLOOD |
null |
policy_Number |
eg: 56-546541-237816 |
null |
transaction_type |
eg: PCH |
null |
omit_blank_values |
eg: true/false |
true |
flatten |
eg: true/false |
false |
Request Method:
POST
EndPoint:
BaseURL
/callback/per-policy/insured
Description
This endpoint is to retrieve the data related to the insured, contained within the AL3 file. Related data will consist Insured’s Name, Address, Country Name, City Name, Insured Date of Birth, and various information related to the Insured.
Policy Summary
Request Method:
POST
EndPoint:
BaseURL
/callback/per-policy/current-policy
Description
This endpoint is to fetch Policy summary data of all the policies contained within the AL3 file. Policy summary comprises the details like Policy Number, Policy Effective Date, Policy Expiration Date, Carrier NAIC Code, etc.
Covered Items with Locations
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/location-covered-items
Description
This endpoint is to retrieve all the details of Covered items (Risks) along with their locations contained within the AL3 File. The details include Location Number, State/Province Code, Zip Code, Covered item’s Type, Model, Description, Construction Year, Year of Occupancy, etc.
Coverages
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/coverage
Description
This endpoint is to retrieve the data of coverages, limits, deductibles, options, etc. contained within the AL3 File. The data in it includes Coverage Code, Full Term Premium, Limit Amount, Liabilities, etc
Additional Interests
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/additional-interests
Description
This endpoint is used to retrieve all the data of additional interests and their types contained within the AL3 File. The details in it comprise Additional Interest Name, Address, Zip Code, Nature of Interest Code, and much more.
Remarks and Attachments
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/remarks-and-attachments
Description
This endpoint is to fetch the data of available remarks and names of the attachments (if any) contained within the AL3 file. The details in it will be like Remark Number, Remark Text, Attachment Type Code, etc, and Attachment Description.
Forms
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/forms
Description
This endpoint is to retrieve the data of all the related forms contained within the AL3 file. The form data includes the details like Form Name, Form Number, Form Edition Date, etc.
Carrier Questions
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/general
Description
This endpoint is to retrieve data from the questionnaire (carrier questions) contained within the AL3 file.
Claim History and Violations
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/claim-history
Description
This endpoint is to retrieve the history of all the previous claims and violations contained within the AL3 file. The data includes Loss Date, Loss Type, Loss Description, Claim Settled Indicator, etc.
Prior Policy Information
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/prior-policy
Description
This endpoint is to retrieve the data of the Prior policy contained within the AL3 file. Here the Prior policy means that if a policy existed before the current policy then this endpoint will give the details accordingly. The details contained within it will be like Line of Business of Prior Policy, Policy Number, Carrier Name, Policy Expiration Date, etc.
Other Policy Information
Request Method:
POST
Endpoint:
BaseURL
/callback/per-policy/other-policy
Description
This endpoint is to retrieve the data of other policies contained within the AL3 file. Here the other policy means, that if Insured is having one or more policies from the same or any other company then this endpoint will give the details accordingly. For example Other Policy Number, Line of Business, Carrier Name, etc.
Request Method:
POST
Endpoint:
BaseURL
/callback/commission-summary
Description
This endpoint is used to retrieve the data of the Commissionary Summary contained within the DBC or AL3 File. For example Total Gross Amount, Total Commission Amount, Total number of items/policies, Agency Contract Number, etc.
Request Method:
POST
Endpoint:
BaseURL
/callback/commission-details
Description
This endpoint is used to fetch all the commissionary details contained within the AL3 File that the user just converted.
Request Method:
GET
Endpoint:
BaseURL
/callback/code-list-names
Description
This API call will generate all the code list names, the response comprises al3_reference_id along with a description. You can copy the reference id from here and paste that to the next API (Code List Values)
Request Method:
GET
Endpoint:
BaseURL
/callback/code-list-values
Description
This API call will generate all the code list values of the specific reference ID you have entered and you can input the required code to the JSON file from the list. Also, the value"null" is not a code value it only depicts that the value could be left blank if needed, for that you should add the value {Blank} to it not"null".
Key (Body Parameter) |
Value |
Default Value |
reference_id |
eg: CBPUR |
null |
Request Method:
GET
Endpoint:
BaseURL
/callback/carrier-search
Description:
This endpoint will help you to get the information about the Carrier. The Output will comprise both the carrier's name and the NAIC code.
Key (Body Parameter) |
Value |
Default Value |
substring |
eg: 37885 |
null |
Request Method:
GET
Endpoint:
BaseURL
/active_plans
Description
This endpoint provides information about subscribed plans. This endpoint uses a user secret key and returns plan details. It returns details like API name, plan name, plan start date, plan expiry date, total quota, and used quota.
Postman Screenshot
a. These endpoints count the number of policies in each file that is uploaded. For example: If you convert an AL3 file with 10 policies, 10 will be added to your previously used quota after you make the call.
b. This calculation is done for all the endpoints. In case of a failed transaction, the used quota is increased by 1.
AL3 Creator API takes a CSV/JSON file as input and converts it to an ACORD AL3 file or DAT file. There is one endpoint to generate a CSV/JSON template for different lines of business and another endpoint to convert this template to an AL3 file. All you have to do is fill in available values in the “Value” column and upload the CSV/json back into our AL3 Creation endpoint to create the AL3 file. No need to fill values for the rows not applicable in your case. There are Code list endpoints and Carrier Name endpoints to help you further during the process of preparing the CSV/JSON.
AL3 Creation Process is comprised of two steps:
Supported Lines of Business:
Personal Line Of Business (use these codes while creating the template)
Dwelling Fire - DFIREP
Homeowners - HOMEP
Inland Marine - INMARP
Mobile Home - MHOMEP
Watercraft- WATERCRAFTP
Automobile - AUTOP
Umbrella - UMBP
Flood (Personal or Commercial) - FLOODP
Personal Package - PKGP
Header Groups - HEADER_GROUPS
Commercial Line Of Business (use these codes while creating the template)
Direct Bill Commission - DBC
Business Automobile - AUTOC
Worker’s Compensation - WCC
Commercial General Liability - LIABC
Property - PROPC
Crime - CRIMEC
Inland Marine - INMARC
Garage & Dealers- GARAGEC
Umbrella - UMBC
Commercial Package- PKGC
Business Owner’s Policy (BOP)-BOPC
Commercial Package with BOP- PKGC_BOPC
Agriculture/Farm Package- AGRIC
User Authentication: Each Endpoint needs the USER_SECRET parameter in the HEADER while making the request
Request Method:
GET
Endpoint:
BaseURL
/template
Description:
This endpoint enables the users to get the Template for their required LOB. For Instance, if a user has to create an AL3 file for an AUTOP transaction, pass the AUTOP LOB, and Pass the JSON/CSV in Template type for Generating the Template. But users can pass any value for the Transaction Count. A user can pass a variable count of up to 50 if he or she has to pack data of multiple transactions in the same AL3 File. AL3 File also contains some Header Groups which surround the actual data. If users are not comfortable with the AL3 structure, keep the headgroups parameter to ‘No’ as our code can automatically add the header groups & elements with blank values. If users want to set data in header group elements also then pass it as Yes. By default, the value is 'No'. By default, the full format is set to false since we give you a shorter simpler template of the most common elements only for a particular LOB. AL3 File can contain several hundreds of elements and it may be confusing for your team but if you want the full format pass full_format=yes.
Line of Business codes:
Personal Line Of Business (use these codes while creating the template)
Dwelling Fire - DFIREP
Homeowners - HOMEP
Inland Marine - INMARP
Mobile Home - MHOMEP
Watercraft- WATERCRAFTP
Automobile- AUTOP
Umbrella - UMBP
Flood (Personal or Commercial) - FLOODP
Personal Package - PKGP
Header Groups - HEADER_GROUPS
Commercial Line Of Business (use these codes while creating the template)
Direct Bill Commission - DBC
Business Automobile - AUTOC
Worker’s Compensation - WCC
Commercial General Liability - LIABC
Property - PROPC
Crime - CRIMEC
Inland Marine - INMARC
Garage & Dealers - GARAGEC
Umbrella - UMBC
Commercial Package - PKGC
Business Owner’s Policy (BOP) - BOPC
Commercial Package with BOP - PKGC_BOPC
Agriculture/Farm Package- AGRIC
Boiler & Machinery - BMC
Header Groups - HEADER_GROUPS
Key (Body Parameter) |
Value |
Default Value |
LOB |
eg: PKGP |
null |
transaction_count |
eg: 25 |
null |
header_groups |
eg: true/false |
false |
full_format |
eg: true/false |
false |
template_type |
Eg: CSV/JSON |
null |
Here is the sample output of CSV output:
Here is the sample output of JSON output:
Request Method:
POST
Endpoint:
BaseURL
/creation
Description
Fill data in the template received from our Template API call (fill in whatever data you have and leave the rest of it blank, do not change the template columns or rows). One CSV template can also contain data from multiple transactions but not from different LOBs. For packing multiple transactions of different LOBs in the same AL3 file, upload a zip file containing all the CSV files packed in this ZIP. You can also optionally upload a HEADER file that contains the header groups only which are needed only once even if you pack multiple transactions in the same AL3 file. For getting the template (CSV file) for the HEADER groups use the LOB = HEADER_GROUPS with the Generate Template Endpoint. Upload the data-filled CSV file to this API endpoint and save the output contained in double quotes (“ “) to a notepad file on your disk with a .AL3 or .DAT extension.
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: .csv/.zip |
null |
input_header_file |
eg: any header file |
null |
contains_pkg_or_bopc |
eg: true/false |
null |
is_strict_mode |
eg: on/off |
off |
Request Method: POST
Endpoint: BaseURL /json-to-al3
Description
Fill data in the template received from Generate Template endpoint (fill in whatever data you have and leave the rest of it blank, do not change the structure of the json). The keys of the json should not be changed , only the values should be changed. Json template can also contain data from multiple transactions but not from different LOBs. For packing multiple transactions of different LOBs in the same AL3 file, upload a zip file containing all the json files packed in this zip. Upload the data-filled json .zip file (this endpoint accepts only zip files containing only json template) to this “JSON to AL3” endpoint and Save the output contained in double quotes (“ “) to a notepad file on your disk with a .AL3 or .DAT extension.
For generating the template for the HEADER groups use the LOB = HEADER_GROUPS in the Generate Template Endpoint and fill the JSON in the template_type parameter to generate the header group template for the JSON. To convert the file into an AL3 file, zip the generated header group template and JSON templates into a single zip file. If we want a separate header group for separate JSON files in such a case we will zip them separately and then pack all the zip into a single zip file. One zip file can contain only one header group template. For instance, If we want a separate header group for one JSON, a separate header group for two JSON files, and a separate header group for multiple JSON files. In that case, we will zip the header group template and one JSON file into a single zip file, zip the header group template, and two JSON files into a single zip file, and Zip the header group template and Multiple JSON into a single zip file. Now pack all three zip files into one single zip and upload it on Json to AL3 Endpoint to convert it into AL3 file.
Input Parameters:
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: .zip |
null |
is_strict_mode |
eg: on/off |
off |
**This endpoint accepts input file of size maximum 150 Kb**
Request Method:
POST
Endpoint:
BaseURL
/callBack-creator
Description
In contrast to 'CSV to AL3 File Endpoint,' a user can use Callback Creator to generate a file for the number of transactions required. This endpoint will not interrupt the file creation cycle, and would instead deliver the requested volume of transactions and output in zip format. For instance, assume a user wants to generate a file containing 100 transactions. This endpoint will revert the user's desired output in zip format. users can copy the transaction id from the output message, and use that transaction id in the callback transaction status to see the status of the al3 file and use the same transaction Id in the callback transaction output to download the generated al3 file.
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: HOMEP_masked.al3 |
null |
input_header_file |
eg: HEADER_GROUPS |
null |
contains_pkg_or_bopc |
eg: true/false |
true |
callback_url |
eg: https://abcgoogle.com |
null |
is_strict_mode |
eg: on/off |
off |
Request Method: POST
Endpoint: BaseURL /json-to-al3-callback
Description
In contrast to 'JSON to Al3 Endpoint,' a user can use JSON Callback Creator to generate a file for the number of transactions required. This endpoint will not interrupt the file creation cycle, and would instead deliver the requested volume of transactions and output in zip format. For instance, assume a user wants to generate a file containing 100 transactions. This endpoint will revert the user's desired output in zip format. The users can copy the transaction id from the output message, and use that transaction id in the callback transaction status to see the status of the AL3 file and use the same transaction id in the callback transaction output to download the generated al3 file.
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: HOMEP_masked.al3 |
null |
callback_url |
eg:https://abcgoogle.com |
null |
is_strict_mode |
eg: on/off |
off |
file_extension |
eg: al3/dat |
null |
output_file_name |
eg: homep |
null |
**This endpoint accepts input file of size maximum of 10 MB**
Request Method: POST
Endpoint: BaseURL /json-to-al3-callback-s3output
Description
This endpoint can convert the JSON file of a maximum of 10 MB into .AL3 or .DAT will display the complete response in the required format and the converted file will be uploaded to S3 Bucket. To upload the converted file to the S3 bucket, users need to fill in the valid credentials for s3_bucket_name, aws_acces_key, and aws_access_secret parameters. users can copy the transaction id from the output message, and use that transaction id in the callback transaction status to see the status of the al3 file and use the same transaction Id in the callback transaction output to download the generated al3 file.
Input Parameters:
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: HOMEp.json |
null |
file_extension |
eg: .al3 or dat |
null |
output_file_name |
Eg: Testing |
null |
notification_url |
eg: https://83hg65yhlobs56lrclnknkjviud56ojlk0okpag .lambda-url.us-east-1.on.aws/al3/v2/callbackTesing |
null |
is_strict_mode |
eg: on/off |
off |
s3_bucket_name |
eg: callback-response |
null |
aws_acces_key |
eg: DFGHYWE59KL66P |
null |
aws_access_secret |
eg: tjkd6rTYa6lSRu5R5SRPzL+BoPj2rcUyxL9bHJrty |
null |
folder_path |
eg: json_files/ |
null |
Request Method:
POST
EndPoint:
BaseURL
/creator/get-callback-transaction-status
Description
This endpoint will let the users know about the transaction’s status,i.e., whether the transaction is passed or failed.
Key (Body Parmaeter) |
Value |
Default Value |
Transaction_ID |
eg: 6n47cc7b-9mc9-4d89-8d71-93p4ff27bbe9 |
null |
Request Method:
POST
EndPoint:
BaseURL
/creator/get-callback-transaction-output
Description
This endpoint will display the entire output in the requested format. If a user
wants to view the output in JSON format then the entire output is going to be displayed
in the desired format. This endpoint generates the output in zip format.
Key (Body Parmaeter) |
Value |
Default Value |
Transaction_ID |
eg: 5k89cc6b-8pg9-3d75-6j91-64h5ff27bbe9 |
null |
Request Method:
GET
Endpoint:
BaseURL
/al3creator/code-list-names
Description
This API call will generate all the code list names, the response comprises al3_reference_id along with a description. Users can copy the reference id from here and paste that to the next API (Code List Values).
Request Method:
GET
Endpoint:
BaseURL
/al3creator/code-list-values
Description
This API call will generate all the code list values of the specific reference ID you have entered and you can input the required code to the CSV file from the list. Also, the value "null" is not a code value it only depicts that the value could be left blank if needed, for that you should add the value {Blank} to it not "null".
Key (Body Parmaeter) |
Value |
Default Value |
reference_id |
eg: INTCD |
null |
Here “CBPUR” is passed as input and all the codes that can be used are returned.
Carrier Information
Request Method:
GET
Endpoint:
BaseURL
/al3creator/carrier-search
Description:
This endpoint will help users to get all the essential details about the Carrier. The generated output contains the Carrier Name and NAIC Code for the carrier that matches the substring entered.
Key (Body Parameter) |
Value |
Default Value |
substring |
eg: 27944 |
null |
Request Method:
GET
Endpoint:
BaseURL
/active_plans
Description
This endpoint provides information about subscribed plans. This endpoint uses a user secret key and returns plan details. It returns details like API name, plan name, plan start date, plan expiry date, total quota, and used quota.
Postman Screenshot
a. For the Generation of CSV TEMPLATE Endpoint, the quota used is increased by 1.
b. Create an AL3 File Endpoint that counts the number of Policies (Transactions) that are being converted into a single AL3 file.
For instance, If a user converts a file with 10 policies (transactions), 10 will be added to the user’s previously used quota after they convert the file to AL3.
Introduction
Claims, Messages, and eDocs API makes it possible to extract data from the Claims download file to JSON format with easy-to-understand JSON keys, and also to extract images and documents embedded inside the Claim files.
Description
With the help of these endpoints Claims Messages and other eDocs can be converted into JSON format, effortlessly. Along with this, users are able to pull the required attachments.
Request Method:
POST
EndPoint:
BaseURL
/acord-xml/conversion-to-json
Description
This endpoint enables the users to convert Claims/ACORD XML files into JSON output format making it easy for the users to understand the content contained within the Claims/ACORD XML files. A unique attachment Id will be provided once the users convert their Claims/ACORD XML Files into their desired format. This attachment Id is used to extract the attachment files present in the user's provided input file.
Key (Body Parameter) |
Value |
Default Value |
input_file |
eg: xyz.dat |
null |
replace_code |
eg: true/false |
true |
output_format |
eg: json/json_raw |
json |
Request Method:
GET
Endpoint:
BaseURL
/acord-xml/attachment
Description
This endpoint is used to extract a particular attachment file from a Claims/ACORD XML file using the unique attachment_id received in the output. The attachment is saved in a .zip format.
Key (Body Parameter) |
Value |
Default Value |
transaction_id |
eg: 1aa4a459-050b-4126-90f6-333bc507f30a |
null |
attachment_id |
eg: 8971fea0-e4ac-4c54-9bc6-5b926dc9c2b |
null |
delete_after_fetch |
eg: true/false |
false |
Request Method:
GET
Endpoint:
BaseURL
/active_plans
Description
This endpoint provides information about subscribed plans. This endpoint uses a user secret key and returns plan details. It returns details like API name, plan name, plan start date, plan expiry date, total quota, and used quota.
Postman Screenshot
a. For Conversion to Json Endpoint - the used quota is increased by the number of Requests. For example: If you convert a file with 10 requests, then 10 will be added to your previously used quota after you make the call.
b. For Pull Attachment Endpoint - the used quota is updated by 1 for every call. In case of a failed transaction, the used quota is increased by 1.