{
  "info": {
    "_postman_id": "92dc4fb5-13f7-4f1a-aea4-166c76fb56a3",
    "name": "Winsurtech Document Reader 1.0",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "54433274",
    "_collection_link": "https://go.postman.co/collection/54433274-92dc4fb5-13f7-4f1a-aea4-166c76fb56a3?source=collection_link"
  },
  "item": [
    {
      "name": "Fill ACORD FORMS",
      "item": [
        {
          "name": "Get ACORD Schema",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  "let response = pm.response.json(),",
                  "    savedData = JSON.stringify(response);",
                  "let accessTokenNode = response[\"access_token\"];",
                  "if(accessTokenNode){",
                  "    pm.collectionVariables.set(\"access-token\", accessTokenNode);",
                  "}"
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-API-Key",
                "value": "simon-agency",
                "type": "text"
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": []
            },
            "url": {
              "raw": "{{BaseURL}}/v1/acord-form-schema?acord_form_number=ACORD25",
              "host": [
                "{{BaseURL}}"
              ],
              "path": [
                "v1",
                "acord-form-schema"
              ],
              "query": [
                {
                  "key": "acord_form_number",
                  "value": "ACORD25"
                }
              ]
            }
          },
          "response": []
        },
        {
          "name": "Fill ACORD form",
          "request": {
            "method": "POST",
            "header": [],
            "body": {
              "mode": "raw",
              "raw": "{\n    \"acord_form_number\": \"ACORD25\",\n    \"read_only\": true,\n    \"data\": {\n        \"producer_details\": {\n            \"name\": \"\",\n            \"address\": {\n                \"line_1\": \"\",\n                \"line_2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"postal_code\": \"\"\n            },\n            \"contact\": {\n                \"full_name\": \"\",\n                \"phone\": \"\",\n                \"fax\": \"\",\n                \"email\": \"\"\n            }\n        },\n        \"insured_details\": {\n            \"name\": \"\",\n            \"address\": {\n                \"line_1\": \"\",\n                \"line_2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"postal_code\": \"\"\n            }\n        },\n        \"policy_details\": [\n            {\n                \"type\": \"general_liability\",\n                \"carrier_name\": \"\",\n                \"naic\": \"\",\n                \"is_certificate_holder_an_additional_insured\": \"\",\n                \"subrogation_waived\": \"\",\n                \"policy_number\": \"\",\n                \"effective_date\": \"\",\n                \"expiration_date\": \"\",\n                \"commercial_general_liability\": \"\",\n                \"claims_made\": \"\",\n                \"occurrence_basis_applies\": \"\",\n                \"aggregate_applies_per\": {\n                    \"policy\": \"\",\n                    \"project\": \"\",\n                    \"location\": \"\",\n                    \"other_indicator\": \"\",\n                    \"other\": \"\"\n                },\n                \"limits\": {\n                    \"each_occurrence\": \"\",\n                    \"damage_to_rented_premises\": \"\",\n                    \"medical_expense\": \"\",\n                    \"personal_and_adv_injury\": \"\",\n                    \"general_aggregate\": \"\",\n                    \"products_comp_op_agg\": \"\"\n                }\n            },\n            {\n                \"type\": \"automobile_liability\",\n                \"carrier_name\": \"\",\n                \"naic\": \"\",\n                \"is_certificate_holder_an_additional_insured\": \"\",\n                \"subrogation_waived\": \"\",\n                \"policy_number\": \"\",\n                \"effective_date\": \"\",\n                \"expiration_date\": \"\",\n                \"any_auto\": \"\",\n                \"all_owned_autos\": \"\",\n                \"scheduled_autos\": \"\",\n                \"hired_autos\": \"\",\n                \"non_owned_autos\": \"\",\n                \"limits\": {\n                    \"combined_single_limit\": \"\",\n                    \"bodily_injury_per_person\": \"\",\n                    \"bodily_injury_per_accident\": \"\",\n                    \"property_damage_per_accident\": \"\"\n                }\n            },\n            {\n                \"type\": \"workers_compensation\",\n                \"carrier_name\": \"\",\n                \"naic\": \"\",\n                \"subrogation_waived\": \"\",\n                \"policy_number\": \"\",\n                \"effective_date\": \"\",\n                \"expiration_date\": \"\",\n                \"excluded_persons\": \"\",\n                \"statutory_limits\": \"\",\n                \"limits\": {\n                    \"el_each_accident\": \"\",\n                    \"el_disease_each_employee\": \"\",\n                    \"el_disease_policy_limit\": \"\"\n                }\n            }\n        ],\n        \"remarks\": [\n            \"\"\n        ],\n        \"certificate_holder\": {\n            \"name\": \"\",\n            \"address\": {\n                \"line_1\": \"\",\n                \"line_2\": \"\",\n                \"city\": \"\",\n                \"state\": \"\",\n                \"postal_code\": \"\"\n            }\n        },\n        \"cancellation\": {\n            \"notice_days\": \"\"\n        },\n        \"signature_details\": {\n            \"authorized_signature\": \"\"\n        }\n    }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{BaseURL}}/v1/fill-acord-form",
              "host": [
                "{{BaseURL}}"
              ],
              "path": [
                "v1",
                "fill-acord-form"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Download PDF",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "formdata",
              "formdata": []
            },
            "url": {
              "raw": "{{BaseURL}}/v1/download-pdf/",
              "host": [
                "{{BaseURL}}"
              ],
              "path": [
                "v1",
                "download-pdf",
                ""
              ]
            }
          },
          "response": []
        },
        {
          "name": "Download ZIP",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [],
            "body": {
              "mode": "formdata",
              "formdata": []
            },
            "url": {
              "raw": "{{BaseURL}}/v1/download-zip/",
              "host": [
                "{{BaseURL}}"
              ],
              "path": [
                "v1",
                "download-zip",
                ""
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Login",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "let response = pm.response.json(),",
              "    savedData = JSON.stringify(response);",
              "let accessTokenNode = response[\"access_token\"];",
              "if(accessTokenNode){",
              "    pm.collectionVariables.set(\"access-token\", accessTokenNode);",
              "}"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "username",
              "value": "",
              "type": "text"
            },
            {
              "key": "password",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/login",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "login"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Scan Document",
      "protocolProfileBehavior": {
        "disabledSystemHeaders": {}
      },
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "callback_url",
              "value": "",
              "type": "text"
            },
            {
              "key": "omit_blank_values",
              "value": "",
              "type": "text"
            },
            {
              "key": "save_output_temporarily",
              "value": "",
              "type": "text"
            },
            {
              "key": "accuracy",
              "value": "",
              "type": "text"
            },
            {
              "key": "detail",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/scan",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "scan"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Scan Insurance Document",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "prompt",
              "value": "",
              "type": "text"
            },
            {
              "key": "omit_blank_values",
              "value": "",
              "type": "text"
            },
            {
              "key": "callback_url",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/scan-insurance-document",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "scan-insurance-document"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Policy vs Quote Comparison",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "file",
              "type": "file",
              "value": null
            },
            {
              "key": "output_format",
              "value": "",
              "type": "text"
            },
            {
              "key": "quote_file",
              "type": "file",
              "value": null
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/policy-vs-quote-comparison",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "policy-vs-quote-comparison"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Fetch Callback Output",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": []
        },
        "url": {
          "raw": "{{BaseURL}}/v1/fetch-callback-output?transaction_id=&get_partial_output&output_type=",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "fetch-callback-output"
          ],
          "query": [
            {
              "key": "transaction_id",
              "value": ""
            },
            {
              "key": "get_partial_output",
              "value": null
            },
            {
              "key": "output_type",
              "value": ""
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Get Custom Mapping keys",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": []
        },
        "url": {
          "raw": "{{BaseURL}}/v1/get-custom-mapping-keys",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "get-custom-mapping-keys"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Get Custom Mapping Detail",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{BaseURL}}/v1/get-custom-mapping-detail?custom_mapping_key=",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "get-custom-mapping-detail"
          ],
          "query": [
            {
              "key": "custom_mapping_key",
              "value": ""
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Update Custom Mapping Detail",
      "request": {
        "method": "PUT",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"custom_mapping_key\":\"\",\n    \"custom_keys\": [{\"original_key\":\"\",\"custom_key\":\"\"},{\"original_key\":\"\",\"custom_key\":\"\"},{\"original_key\":\"\",\"custom_key\":\"\"},{\"original_key\":\"\",\"custom_key\":\"\"}],\n    \"custom_values\": [{\"original_value\":\"\",\"custom_value\":\"\"},{\"original_value\":\"\",\"custom_value\":\"\"}]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{BaseURL}}/v1/update-custom-mapping-detail",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "update-custom-mapping-detail"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Generate Custom Mapping Template",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/generate-custom-mapping-template",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "generate-custom-mapping-template"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Add Custom Mapping Detail",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"form_title\":\"\",\n    \"custom_keys\": [{\"original_key\":\"\",\"custom_key\":\"\"},{\"original_key\":\"\",\"custom_key\":\"\"}],\n    \"custom_values\": [{\"original_value\":\"\",\"custom_value\":\"\"},{\"original_value\":\"\",\"custom_value\":\"\"}]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{BaseURL}}/v1/add-custom-mapping-detail",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "add-custom-mapping-detail"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Get Supported Forms",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{BaseURL}}/v1/get-supported-forms",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "get-supported-forms"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Get Quota Summary",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": []
        },
        "url": {
          "raw": "{{BaseURL}}/v1/get-quota-summary?start_date_time&end_date_time",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "get-quota-summary"
          ],
          "query": [
            {
              "key": "start_date_time",
              "value": null
            },
            {
              "key": "end_date_time",
              "value": null
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "Scan Bill",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "model",
              "value": "",
              "type": "text"
            },
            {
              "key": "omit_blank_values",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/scan-bill",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "scan-bill"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Scan Layout",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/scan-layout",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "scan-layout"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Scan IRS Form",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "omit_blank_values",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/scan-IRSForm",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "scan-IRSForm"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Scan Envelopes",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "omit_blank_values",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/scan-envelopes",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "scan-envelopes"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Scan Medical Invoice",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "omit_blank_values",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/scan-medical-invoice",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "scan-medical-invoice"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Commission Data Extraction",
      "protocolProfileBehavior": {
        "disabledSystemHeaders": {}
      },
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "omit_blank_values",
              "value": "",
              "type": "text"
            },
            {
              "key": "callback_url",
              "value": "",
              "type": "text"
            },
            {
              "key": "output_type",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/commission-data-extraction",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "commission-data-extraction"
          ]
        }
      },
      "response": []
    },
    {
      "name": "Insurance Doc to XML",
      "protocolProfileBehavior": {
        "disabledSystemHeaders": {}
      },
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "omit_blank_values",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/insurance-document-to-acord-xml",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "insurance-document-to-acord-xml"
          ]
        }
      },
      "response": []
    },
    {
      "name": "AL3 Creator",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "input_file",
              "type": "file",
              "value": null
            },
            {
              "key": "prompt",
              "value": "",
              "type": "text"
            },
            {
              "key": "callback_url",
              "value": "",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{BaseURL}}/v1/al3-creator",
          "host": [
            "{{BaseURL}}"
          ],
          "path": [
            "v1",
            "al3-creator"
          ]
        }
      },
      "response": []
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{access-token}}",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [
          ""
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "BaseURL",
      "value": "https://apis.docreader.webnerserver.com"
    },
    {
      "key": "access-token",
      "value": ""
    }
  ]
}