var test = [ { "tranId": 84684, "accessToken": "", "channelCode": "SHOPEE", "createBy": "SYSTEM", "createDate": "2023-03-09T10:00:37.393", "cusId": "null", "requestpData": "{\"channelCode\":\"SHOPEE\",\"partner_Id\":1006241,\"timestamp\":1678330806,\"access_token\":\"6a7857777a4c694264445559784b5555\",\"shop_id\":43159,\"sign\":\"92aaee659f567b49be1de068905a977b2f58ee22335f6beab6d33a4de2c1ae4c\",\"time_range_field\":\"create_time\",\"time_from\":1678244406,\"time_to\":1678330806,\"page_size\":100,\"curser\":null,\"order_status\":\"READY_TO_SHIP\",\"response_optional_fields\":\"order_status\"}", "responseCode": "null", "responseData": "{\"request_id\":\"6adf0c756280455ecb2c8cba3ced3e20\",\"error\":\"\",\"message\":\"\",\"response\":{\"more\":false,\"next_cursor\":\"\",\"order_list\":[]}}", "responseDatetime": "2023-03-09T10:00:37.563", "responseMessage": "null", "responseStatus": "S", "tranInternalId": 0, "updateBy": "null", "updateDate": "null", "wsName": "ShopeeGetOrderList" }, { "tranId": 84683, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T10:00:06.747", "cusId": "null", "requestpData": "{\"sign\":\"5087213aca4065bd9e3c9b2ce015c679b1fcd59c6fc9660d62ad8109c26e7c30\",\"partner_Id\":1006241,\"timestamp\":1678330806,\"code\":null,\"shop_id\":43159,\"refresh_token\":\"5066656e6e6c546a566f636c706f6e59\"}", "responseCode": "null", "responseData": "{\"request_id\":\"19aaa0cfbc69e5a46ec41c1089f54e20\",\"error\":\"\",\"refresh_token\":\"634e5870497868724a4a4c4449636f76\",\"access_token\":\"6a7857777a4c694264445559784b5555\",\"expire_in\":14400,\"message\":\"\"}", "responseDatetime": "2023-03-09T10:00:37.183", "responseMessage": "null", "responseStatus": "S", "tranInternalId": 0, "updateBy": "null", "updateDate": "null", "wsName": "ShopeeGetRefreshAccessToken" }, { "tranId": 84682, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:33:51.17", "cusId": "", "requestpData": "{\"planId\":565,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":100000.00,\"channelCode\":null,\"paymentChannel\":\"kplus\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":565,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":100000.0,\"premium\":97100.0,\"premiumPayment\":97100.0,\"paymentChannel\":\"kplus\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:33:51.333", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56766, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" }, { "tranId": 84681, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:33:50.987", "cusId": "", "requestpData": "{\"planId\":564,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":70000.00,\"channelCode\":null,\"paymentChannel\":\"kplus\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":564,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":70000.0,\"premium\":68670.0,\"premiumPayment\":68670.0,\"paymentChannel\":\"kplus\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:33:51.137", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56766, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" }, { "tranId": 84680, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:33:50.803", "cusId": "", "requestpData": "{\"planId\":563,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":50000.00,\"channelCode\":null,\"paymentChannel\":\"kplus\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":563,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":50000.0,\"premium\":49050.0,\"premiumPayment\":49050.0,\"paymentChannel\":\"kplus\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:33:50.957", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56766, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" }, { "tranId": 84679, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:33:50.55", "cusId": "", "requestpData": "{\"planId\":562,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":30000.00,\"channelCode\":null,\"paymentChannel\":\"kplus\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":562,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":30000.0,\"premium\":30000.0,\"premiumPayment\":30000.0,\"paymentChannel\":\"kplus\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:33:50.77", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56766, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" }, { "tranId": 84678, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:33:50.393", "cusId": "", "requestpData": "{\"channelCode\":\"MTL\",\"productId\":\"141\",\"lang\":\"th\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"grantee\":\"SELF\",\"age\":38,\"ageUnit\":\"Y\"}", "responseCode": "", "responseData": "{\"productId\":141,\"productName\":\"โครงการเมืองไทย Unlock Return 101\",\"planList\":[{\"planId\":562,\"planName\":\"แผน 1\",\"planBenefit\":[{\"planId\":562,\"groupCode\":\"GB0493\",\"groupTitle\":\"1.กรณีมีชีวิตอยู่ระหว่างสัญญา(1)\",\"groupValue\":\"\",\"description\":[{\"planId\":562,\"groupCode\":\"GB0493\",\"titleCode\":\"TB1299\",\"title\":\"1.1 ณ สิ้นปีกรมธรรม์ที่ 2, 4, 6, 8\",\"titleValue\":\"\",\"subTitleDescription\":[{\"planId\":562,\"groupCode\":\"GB0493\",\"titleCode\":\"TB1299\",\"subTitleCode\":\"TB1300 \",\"subTitle\":\"- เงินจ่ายคืน ปีละ 1%\",\"subTitleValue\":\"300\"}]},{\"planId\":562,\"groupCode\":\"GB0493\",\"titleCode\":\"TB1301\",\"title\":\"1.2 ณ สิ้นปีกรมธรรม์ที่ 10\",\"titleValue\":\"\",\"subTitleDescription\":[{\"planId\":562,\"groupCode\":\"GB0493\",\"titleCode\":\"TB1301\",\"subTitleCode\":\"TB1325 \",\"subTitle\":\"- เงินครบกำหนดสัญญา 101%(1)\",\"subTitleValue\":\" 30,300\"}]},{\"planId\":562,\"groupCode\":\"GB0493\",\"titleCode\":\"TB1302\",\"title\":\"- เงินปันผลที่คำนวณตามดัชนีอ้างอิง(2)\\n(Global Multi Asset USD VT 5 Series 3 Index) เมื่อครบกำหนดสัญญาซึ่งเป็นไปตามหลักเกณฑ์ของบริษัทฯ (ถ้ามี)\",\"titleValue\":\"+เงินปันผล (ถ้ามี)\",\"subTitleDescription\":[]},{\"planId\":562,\"groupCode\":\"GB0493\",\"titleCode\":\"TB1326\",\"title\":\"รวมผลประโยชน์ตลอดสัญญา(4) (ไม่รวมเงินปันผล)\",\"titleValue\":\" 31,500\",\"subTitleDescription\":[]}]},{\"planId\":562,\"groupCode\":\"GB0494\",\"groupTitle\":\"2.กรณีเสียชีวิตระหว่างสัญญา(3)\",\"groupValue\":\"\",\"description\":[{\"planId\":562,\"groupCode\":\"GB0494\",\"titleCode\":\"TB1303\",\"title\":\"ปีกรมธรรม์ที่ 1 - 10 : 110%\",\"titleValue\":\" 33,000\",\"subTitleDescription\":[]}]}],\"planPremiumMode\":[{\"planId\":562,\"paymentCode\":\"TWELVE_MONTHS\",\"paymentName\":\"ชำระครั้งเดียว\",\"sumInsured\":30000.00,\"premium\":0.0,\"premiumPayment\":0.0,\"insureRequiredIdentification\":false,\"payerRequiredIdentification\":false,\"insureSelfie\":false,\"paymentId\":5}],\"planRecommend\":null},{\"planId\":563,\"planName\":\"แผน 2\",\"planBenefit\":[{\"planId\":563,\"groupCode\":\"GB0495\",\"groupTitle\":\"1.กรณีมีชีวิตอยู่ระหว่างสัญญา(1)\\t\\t\\t\\t\",\"groupValue\":\"\",\"description\":[{\"planId\":563,\"groupCode\":\"GB0495\",\"titleCode\":\"TB1304\",\"title\":\"1.1 ณ สิ้นปีกรมธรรม์ที่ 2, 4, 6, 8\",\"titleValue\":\"\",\"subTitleDescription\":[{\"planId\":563,\"groupCode\":\"GB0495\",\"titleCode\":\"TB1304\",\"subTitleCode\":\"TB1305 \",\"subTitle\":\"- เงินจ่ายคืน ปีละ 1%\",\"subTitleValue\":\" 500\"}]},{\"planId\":563,\"groupCode\":\"GB0495\",\"titleCode\":\"TB1306\",\"title\":\"1.2 ณ สิ้นปีกรมธรรม์ที่ 10\",\"titleValue\":\"\",\"subTitleDescription\":[{\"planId\":563,\"groupCode\":\"GB0495\",\"titleCode\":\"TB1306\",\"subTitleCode\":\"TB1307 \",\"subTitle\":\"- เงินครบกำหนดสัญญา 101%(1)\",\"subTitleValue\":\" 50,500\"}]},{\"planId\":563,\"groupCode\":\"GB0495\",\"titleCode\":\"TB1308\",\"title\":\"- เงินปันผลที่คำนวณตามดัชนีอ้างอิง(2)\\n(Global Multi Asset USD VT 5 Series 3 Index) เมื่อครบกำหนดสัญญาซึ่งเป็นไปตามหลักเกณฑ์ของบริษัทฯ (ถ้ามี)\",\"titleValue\":\"+เงินปันผล (ถ้ามี)\",\"subTitleDescription\":[]},{\"planId\":563,\"groupCode\":\"GB0495\",\"titleCode\":\"TB1309\",\"title\":\"รวมผลประโยชน์ตลอดสัญญา(4) (ไม่รวมเงินปันผล)\",\"titleValue\":\" 52,500\",\"subTitleDescription\":[]}]},{\"planId\":563,\"groupCode\":\"GB0496\",\"groupTitle\":\"2.กรณีเสียชีวิตระหว่างสัญญา(3)\",\"groupValue\":\"\",\"description\":[{\"planId\":563,\"groupCode\":\"GB0496\",\"titleCode\":\"TB1310\",\"title\":\"ปีกรมธรรม์ที่ 1 - 10 : 110%\",\"titleValue\":\" 55,000\",\"subTitleDescription\":[]}]}],\"planPremiumMode\":[{\"planId\":563,\"paymentCode\":\"TWELVE_MONTHS\",\"paymentName\":\"ชำระครั้งเดียว\",\"sumInsured\":50000.00,\"premium\":0.0,\"premiumPayment\":0.0,\"insureRequiredIdentification\":false,\"payerRequiredIdentification\":false,\"insureSelfie\":false,\"paymentId\":5}],\"planRecommend\":null},{\"planId\":564,\"planName\":\"แผน 3\",\"planBenefit\":[{\"planId\":564,\"groupCode\":\"GB0497\",\"groupTitle\":\"1.กรณีมีชีวิตอยู่ระหว่างสัญญา(1)\",\"groupValue\":\"\",\"description\":[{\"planId\":564,\"groupCode\":\"GB0497\",\"titleCode\":\"TB1311\",\"title\":\"1.1 ณ สิ้นปีกรมธรรม์ที่ 2, 4, 6, 8\",\"titleValue\":\"\",\"subTitleDescription\":[{\"planId\":564,\"groupCode\":\"GB0497\",\"titleCode\":\"TB1311\",\"subTitleCode\":\"TB1312 \",\"subTitle\":\"- เงินจ่ายคืน ปีละ 1%\",\"subTitleValue\":\" 700\"}]},{\"planId\":564,\"groupCode\":\"GB0497\",\"titleCode\":\"TB1313\",\"title\":\"1.2 ณ สิ้นปีกรมธรรม์ที่ 10\",\"titleValue\":\"\",\"subTitleDescription\":[{\"planId\":564,\"groupCode\":\"GB0497\",\"titleCode\":\"TB1313\",\"subTitleCode\":\"TB1314 \",\"subTitle\":\"- เงินครบกำหนดสัญญา 101%(1)\",\"subTitleValue\":\" 70,700\"}]},{\"planId\":564,\"groupCode\":\"GB0497\",\"titleCode\":\"TB1315\",\"title\":\"- เงินปันผลที่คำนวณตามดัชนีอ้างอิง(2)\\n(Global Multi Asset USD VT 5 Series 3 Index) เมื่อครบกำหนดสัญญาซึ่งเป็นไปตามหลักเกณฑ์ของบริษัทฯ (ถ้ามี)\",\"titleValue\":\"+เงินปันผล (ถ้ามี)\",\"subTitleDescription\":[]},{\"planId\":564,\"groupCode\":\"GB0497\",\"titleCode\":\"TB1316\",\"title\":\"รวมผลประโยชน์ตลอดสัญญา(4) (ไม่รวมเงินปันผล)\",\"titleValue\":\" 73,500\",\"subTitleDescription\":[]}]},{\"planId\":564,\"groupCode\":\"GB0498\",\"groupTitle\":\"2.กรณีเสียชีวิตระหว่างสัญญา(3)\",\"groupValue\":\"\",\"description\":[{\"planId\":564,\"groupCode\":\"GB0498\",\"titleCode\":\"TB1317\",\"title\":\"ปีกรมธรรม์ที่ 1 - 10 : 110%\",\"titleValue\":\" 77,000\",\"subTitleDescription\":[]}]}],\"planPremiumMode\":[{\"planId\":564,\"paymentCode\":\"TWELVE_MONTHS\",\"paymentName\":\"ชำระครั้งเดียว\",\"sumInsured\":70000.00,\"premium\":0.0,\"premiumPayment\":0.0,\"insureRequiredIdentification\":false,\"payerRequiredIdentification\":false,\"insureSelfie\":false,\"paymentId\":5}],\"planRecommend\":null},{\"planId\":565,\"planName\":\"แผน 4\",\"planBenefit\":[{\"planId\":565,\"groupCode\":\"GB0499\",\"groupTitle\":\"1.กรณีมีชีวิตอยู่ระหว่างสัญญา(1)\",\"groupValue\":\"\",\"description\":[{\"planId\":565,\"groupCode\":\"GB0499\",\"titleCode\":\"TB1318\",\"title\":\"1.1 ณ สิ้นปีกรมธรรม์ที่ 2, 4, 6, 8\",\"titleValue\":\"\",\"subTitleDescription\":[{\"planId\":565,\"groupCode\":\"GB0499\",\"titleCode\":\"TB1318\",\"subTitleCode\":\"TB1319 \",\"subTitle\":\"- เงินจ่ายคืน ปีละ 1%\",\"subTitleValue\":\" 1,000\"}]},{\"planId\":565,\"groupCode\":\"GB0499\",\"titleCode\":\"TB1320\",\"title\":\"1.2 ณ สิ้นปีกรมธรรม์ที่ 10\",\"titleValue\":\"\",\"subTitleDescription\":[{\"planId\":565,\"groupCode\":\"GB0499\",\"titleCode\":\"TB1320\",\"subTitleCode\":\"TB1321 \",\"subTitle\":\"- เงินครบกำหนดสัญญา 101%(1)\",\"subTitleValue\":\" 70,700\"}]},{\"planId\":565,\"groupCode\":\"GB0499\",\"titleCode\":\"TB1322\",\"title\":\"- เงินปันผลที่คำนวณตามดัชนีอ้างอิง(2)\\n(Global Multi Asset USD VT 5 Series 3 Index) เมื่อครบกำหนดสัญญาซึ่งเป็นไปตามหลักเกณฑ์ของบริษัทฯ (ถ้ามี)\",\"titleValue\":\"+เงินปันผล (ถ้ามี)\",\"subTitleDescription\":[]},{\"planId\":565,\"groupCode\":\"GB0499\",\"titleCode\":\"TB1323\",\"title\":\"รวมผลประโยชน์ตลอดสัญญา(4) (ไม่รวมเงินปันผล)\",\"titleValue\":\"105,000\",\"subTitleDescription\":[]}]},{\"planId\":565,\"groupCode\":\"GB0500\",\"groupTitle\":\"2.กรณีเสียชีวิตระหว่างสัญญา(3)\",\"groupValue\":\"\",\"description\":[{\"planId\":565,\"groupCode\":\"GB0500\",\"titleCode\":\"TB1324\",\"title\":\"ปีกรมธรรม์ที่ 1 - 10 : 110%\",\"titleValue\":\" 110,000\",\"subTitleDescription\":[]}]}],\"planPremiumMode\":[{\"planId\":565,\"paymentCode\":\"TWELVE_MONTHS\",\"paymentName\":\"ชำระครั้งเดียว\",\"sumInsured\":100000.00,\"premium\":0.0,\"premiumPayment\":0.0,\"insureRequiredIdentification\":false,\"payerRequiredIdentification\":false,\"insureSelfie\":false,\"paymentId\":5}],\"planRecommend\":null}]}", "responseDatetime": "2023-03-09T09:33:50.51", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56766, "updateBy": "null", "updateDate": "null", "wsName": "SelectPlanService" }, { "tranId": 84677, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:33:43.573", "cusId": "", "requestpData": "{productId: 141,channelCode: MTL}", "responseCode": "", "responseData": "{\"isProductStatus\":true,\"authKey\":null,\"productId\":141,\"productName\":\"โครงการเมืองไทย Unlock Return 101\",\"questions\":[{\"questionTitle\":\"ข้อมูลผู้ขอเอาประกันภัย\",\"subQuestions\":[{\"title\":\"ท่านต้องการสมัครทำประกันเพื่อใคร\",\"type\":\"radio\",\"answers\":[{\"label\":\"ตัวเอง\",\"key\":\"grantee\",\"value\":\"SELF\"}]},{\"title\":\"เพศของผู้ขอเอาประกันภัย\",\"type\":\"radio\",\"answers\":[{\"label\":\"เพศชาย\",\"key\":\"gender\",\"value\":\"MALE\"},{\"label\":\"เพศหญิง\",\"key\":\"gender\",\"value\":\"FEMALE\"}]},{\"title\":\"วันเกิดของผู้ขอเอาประกันภัย\",\"type\":\"date\",\"answers\":[{\"label\":\"วว/ดด/ปปปป\",\"key\":\"birthDate\",\"value\":\"\"}]}]}],\"page\":[{\"id\":14,\"menuCode\":\"M006\",\"name\":\"คำนวณเบี้ยประกัน\",\"subMenu\":[{\"menuCode\":\"M006\",\"subMenuCode\":\"SM014\",\"name\":\"คำนวณเบี้ยประกัน\",\"seq\":1,\"previous\":\"\",\"next\":\"2\"}]},{\"id\":16,\"menuCode\":\"M007\",\"name\":\"ตอบคำถามเบื้องต้น\",\"subMenu\":[{\"menuCode\":\"M007\",\"subMenuCode\":\"SM016\",\"name\":\"FATCA\",\"seq\":3,\"previous\":\"2\",\"next\":\"4\"}]},{\"id\":18,\"menuCode\":\"M008\",\"name\":\"กรอกข้อมูล\",\"subMenu\":[{\"menuCode\":\"M008\",\"subMenuCode\":\"SM017\",\"name\":\"ข้อมูลผู้ขอเอาประกันภัย\",\"seq\":4,\"previous\":\"3\",\"next\":\"5\"},{\"menuCode\":\"M008\",\"subMenuCode\":\"SM018\",\"name\":\"ยืนยันรหัส\",\"seq\":5,\"previous\":\"4\",\"next\":\"6\"},{\"menuCode\":\"M008\",\"subMenuCode\":\"SM019\",\"name\":\"ข้อมูลผู้เอาประกันภัย\",\"seq\":6,\"previous\":\"5\",\"next\":\"7\"},{\"menuCode\":\"M008\",\"subMenuCode\":\"SM020\",\"name\":\"ข้อมูลผู้ชำระเบี้ย\",\"seq\":7,\"previous\":\"6\",\"next\":\"8\"},{\"menuCode\":\"M008\",\"subMenuCode\":\"SM025\",\"name\":\"ข้อมูลที่อยู่ของผู้ชำระเบี้ย \",\"seq\":8,\"previous\":\"7\",\"next\":\"9\"},{\"menuCode\":\"M008\",\"subMenuCode\":\"SM021\",\"name\":\"ข้อมูลผู้รับผลประโยชน์\",\"seq\":9,\"previous\":\"8\",\"next\":\"10\"}]},{\"id\":20,\"menuCode\":\"M009\",\"name\":\"อัพโหลดเอกสาร\",\"subMenu\":[{\"menuCode\":\"M009\",\"subMenuCode\":\"SM022\",\"name\":\"อัพโหลดเอกสารของผู้ขอเอาประกันภัย\",\"seq\":10,\"previous\":\"9\",\"next\":\"11\"}]},{\"id\":22,\"menuCode\":\"M010\",\"name\":\"ตรวจสอบข้อมูล\",\"subMenu\":[{\"menuCode\":\"M010\",\"subMenuCode\":\"SM023\",\"name\":\"ตรวจสอบข้อมูล\",\"seq\":11,\"previous\":\"10\",\"next\":\"12\"}]},{\"id\":24,\"menuCode\":\"M011\",\"name\":\"ชำระเงิน\",\"subMenu\":[{\"menuCode\":\"M011\",\"subMenuCode\":\"SM024\",\"name\":\"วิธีชำระเงิน\",\"seq\":12,\"previous\":\"11\",\"next\":\"\"}]}],\"ageMin\":20,\"ageMinUnit\":\"Y\",\"ageMax\":70,\"ageMaxUnit\":\"Y\",\"configs\":{\"configCode\":\"CF027\",\"config\":\"<p>คำเตือน</p><table class=\\\"MsoTableGrid\\\" border=\\\"1\\\" cellspacing=\\\"0\\\" cellpadding=\\\"0\\\" style=\\\"border: none;\\\"> <tbody> <tr> <td width=\\\"28\\\" valign=\\\"top\\\" style=\\\"width:21.05pt;border:none;padding:0in 5.4pt 0in 15.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-bottom:0in;margin-bottom:.0001pt;line-height: normal\\\"> <span>1</span><span lang=\\\"TH\\\">.</span> <span lang=\\\"TH\\\"> <o:p></o:p> </span> </p> </td> <td width=\\\"727\\\" valign=\\\"top\\\" style=\\\"width:545.35pt;border:none;padding:0in 5.4pt 0in 5.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-top:0in;margin-right:0in;margin-bottom:0in; margin-left:-5.4pt;margin-bottom:.0001pt;line-height:normal\\\"> <span lang=\\\"TH\\\">หากท่านยกเลิกกรมธรรม์ประกันภัยก่อนครบกำหนดสัญญา</span><span lang=\\\"TH\\\"> ผลประโยชน์ที่ท่านได้รับจะเป็นไปตามตารางมูลค่าเวนคืนในกรมธรรม์ประกันภัย (ถ้ามี) ซึ่งอาจน้อยกว่าเบี้ยประกันภัยที่ชำระไว้</span> <span> <o:p></o:p> </span> </p> </td> </tr> <tr> <td width=\\\"28\\\" valign=\\\"top\\\" style=\\\"width:21.05pt;border:none;padding:0in 5.4pt 0in 15.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-bottom:0in;margin-bottom:.0001pt;line-height: normal\\\"> <span>2</span><span lang=\\\"TH\\\">.</span> <span> <o:p></o:p> </span> </p> </td> <td width=\\\"727\\\" valign=\\\"top\\\" style=\\\"width: 703.35pt;border:none;padding:0in 5.4pt 0in 5.4pt;\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-top:0in;margin-right:0in;margin-bottom:0in; margin-left:-5.4pt;margin-bottom:.0001pt;line-height:normal\\\"> <span lang=\\\"TH\\\">ก่อนลงลายมือชื่อให้ท่านกรุณาตรวจสอบความถูกต้องของคำตอบทุกข้ออีกครั้งหนึ่ง</span> <span lang=\\\"TH\\\"> เพื่อความสมบูรณ์ของสัญญาประกันภัย <span style=\\\"letter-spacing:.3pt\\\"> <o:p></o:p> </span> </span> </p> </td> </tr> <tr> <td width=\\\"28\\\" valign=\\\"top\\\" style=\\\"width:21.05pt;border:none;padding:0in 5.4pt 0in 15.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-bottom:0in;margin-bottom:.0001pt;line-height: normal\\\"> <span lang=\\\"TH\\\">3.</span> <span> <o:p></o:p> </span> </p> </td> <td width=\\\"727\\\" valign=\\\"top\\\" style=\\\"width:545.35pt;border:none;padding:0in 5.4pt 0in 5.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-top:0in;margin-right:0in;margin-bottom:0in; margin-left:-5.4pt;margin-bottom:.0001pt;line-height:normal\\\"> <span lang=\\\"TH\\\">กรุณาตรวจสอบความถูกต้องของคำตอบทุกข้อที่ได้ให้ไว้ผ่านช่องทางอิเล็กทรอนิกส์ </span> <span lang=\\\"TH\\\"> ซึ่งบริษัทได้ทำการบันทึกข้อมูลด้วยวิธีการทางอิเล็กทรอนิกส์ ไว้เป็นหลักฐานพร้อมพิมพ์ถ้อยแถลงที่ให้ไว้ลงใน<o:p></o:p></span><span style=\\\"background-color: transparent;\\\">ใบคำขอเอาประกันชีวิต และได้ส่งสำเนาให้กับท่านไว้เป็นหลักฐาน เพื่อความสมบูรณ์ของสัญญาประกันภัย หากมีข้อความใดไม่ตรงกับความจริง ท่านจะแจ้งให้บริษัททราบ เพื่อทำการแก้ไขให้ถูกต้อง</span></p> </td> </tr> <tr> <td width=\\\"28\\\" valign=\\\"top\\\" style=\\\"width:21.05pt;border:none;padding:0in 5.4pt 0in 15.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-bottom:0in;margin-bottom:.0001pt;line-height: normal\\\"> <span lang=\\\"TH\\\"> 4. <o:p></o:p> </span> </p> </td> <td width=\\\"727\\\" valign=\\\"top\\\" style=\\\"width:545.35pt;border:none;padding:0in 5.4pt 0in 5.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-top:0in;margin-right:0in;margin-bottom:0in; margin-left:-5.4pt;margin-bottom:.0001pt;line-height:normal\\\"><span lang=\\\"TH\\\">สำหรับช่องทางอิเล็กทรอนิกส์ ท่านและพยาน มิต้องลงนามในใบคำขอเอาประกันชีวิต</span></p> </td> </tr> <tr> <td width=\\\"28\\\" valign=\\\"top\\\" style=\\\"width:21.05pt;border:none;padding:0in 5.4pt 0in 15.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-bottom:0in;margin-bottom:.0001pt;line-height: normal\\\"> <span lang=\\\"TH\\\">5.</span> <span> <o:p></o:p> </span> </p> </td> <td width=\\\"727\\\" valign=\\\"top\\\" style=\\\"width:545.35pt;border:none;padding:0in 5.4pt 0in 5.4pt\\\"> <p class=\\\"MsoNormal\\\" style=\\\"margin-top:0in;margin-right:0in;margin-bottom:0in; margin-left:-5.4pt;margin-bottom:.0001pt;line-height:normal\\\"> <span lang=\\\"TH\\\">หากท่านประสงค์จะยกเลิกกรมธรรม์ประกันภัยนี้ด้วยเหตุผลใดก็ตาม ท่านสามารถส่งคืนกรมธรรม์ประกันภัยมายังบริษัทภายในระยะเวลา 15 วัน นับแต่วันที่ได้รับกรมธรรม์ประกันภัยจากทางบริษัท เว้นแต่บริษัทได้ออกกรมธรรม์ประกันภัยโดยใช้วิธีการทางอิเล็กทรอนิกส์ ผู้เอาประกันภัยไม่ต้องส่งคืนกรมธรรม์ประกันภัย </span> <span lang=\\\"TH\\\"> และบริษัทจะคืนเบี้ยประกันภัยที่เหลือหลังจากหักค่าตรวจสุขภาพตามที่จ่ายจริงและค่าใช้จ่ายของบริษัทฉบับละ 500 บาท เว้นแต่เป็นการเสนอขายกรมธรรม์ประกันภัยโดยใช้วิธีการทางอิเล็กทรอนิกส์ บริษัทจะคืนเบี้ยประกันภัยเต็มจำนวนโดยไม่หักค่าใช้จ่ายใด ๆ ทั้งสิ้น การคืนค่าเบี้ยประกันภัยบริษัทจะดำเนินการให้แล้วเสร็จภายใน 15 วัน นับแต่วันที่บริษัทได้รับการขอใช้สิทธิยกเลิกกรมธรรม์ประกันภัย อย่างไรก็ตาม ในกรณีที่ท่านได้ใช้สิทธิเรียกร้องค่าสินไหมทดแทนแล้ว ท่านไม่มีสิทธิยกเลิกกรมธรรม์ประกันภัย <span style=\\\"letter-spacing:.3pt\\\"> <o:p></o:p> </span> </span> </p> </td> </tr> </tbody> </table> <div> <div> </div> </div>\"},\"landingTitlePage\":\"\"}", "responseDatetime": "2023-03-09T09:33:43.63", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56765, "updateBy": "null", "updateDate": "null", "wsName": "PremiumCalService" }, { "tranId": 84676, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:33:10.92", "cusId": "3317", "requestpData": "12964", "responseCode": "", "responseData": "{\"orderId\":12964,\"businessRuleResult\":{\"result\":\"not pass\",\"businessMessage\":{\"underwriteResponseModel\":{\"ruleMessages\":[{\"message\":\"Rule 1 : แบบประกันภัย EON03L ยกเลิกขายแล้ว\"}]}}}}", "responseDatetime": "2023-03-09T09:33:13.56", "responseMessage": "", "responseStatus": "E", "tranInternalId": 56764, "updateBy": "null", "updateDate": "null", "wsName": "CheckBusinessRule" }, { "tranId": 84675, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:33:13.543", "cusId": "", "requestpData": "{\"Version\":\"1.1\",\"Content\":{\"Headers\":[{\"Key\":\"Content-Type\",\"Value\":[\"application/json; charset=utf-8\"]},{\"Key\":\"Content-Length\",\"Value\":[\"0\"]}]},\"Method\":{\"Method\":\"GET\"},\"Headers\":[{\"Key\":\"x-api-key\",\"Value\":[\"Onlinesale\"]},{\"Key\":\"apikey\",\"Value\":[\"l7453c722fd11b48a6b281ac9d072e8c9c\"]},{\"Key\":\"Request-Id\",\"Value\":[\"|655cee10-4d89e1c159c0fe65.1.\"]}],\"Properties\":{}}", "responseCode": "", "responseData": "{\"orderId\":12964,\"businessRuleResult\":{\"result\":\"not pass\",\"businessMessage\":{\"serviceID\":\"\",\"respondDate\":\"Mar 09, 2023 09:32:28 AM\",\"status\":1,\"reason\":\"[com.mtl.model.rule.RuleMessage@a2a78503]\",\"reasonImportant\":\"Rule 1 : แบบประกันภัย EON03L ยกเลิกขายแล้ว\",\"detail\":\"\",\"underwriteResponseModel\":{\"healthList\":null,\"medList\":null,\"mibClaimList\":null,\"mibCodeList\":null,\"mibDetailCodeList\":null,\"claimDetailCodeList\":null,\"referUnderwriter\":false,\"requireQuestionaireOffline\":false,\"requireQuestionaireOnline\":false,\"referMagnum\":false,\"referFamilyProblem\":false,\"isPrint\":false,\"formNumber\":\"0\",\"templateNumber\":\"0\",\"additionalDoc\":null,\"documentDetail\":null,\"documentDetailUS\":null,\"submitRequestForm\":\"3\",\"popupMessage\":\"\",\"popupMessageUS\":\"\",\"isAutoApproved\":false,\"cOF_occupationList\":null,\"reInsurance\":\"\",\"ruleMessages\":[{\"messageCode\":\"DT01003\",\"descCode\":\"EON03L\",\"priority\":1,\"message\":\"Rule 1 : แบบประกันภัย EON03L ยกเลิกขายแล้ว\",\"desc\":\"6\",\"showMessage\":true,\"messageStatus\":3}],\"ruleMessagesUS\":null,\"kBankMessages\":\"ข้อมูลเบื้องต้นอยู่ในเกณฑ์ที่ต้องส่งปรึกษาเจ้าหน้าที่พิจารณารับประกัน\",\"kBankMessagesUS\":\"\",\"isCOFProblem\":false,\"puwCampaignLimit\":0,\"puwCampaignInsured\":0,\"puwBlacklist\":false,\"requestedDoc\":null,\"requestedDocUS\":null,\"errorCodeList\":null,\"referOccupationAMLO\":false,\"referNationalityAMLO\":false,\"referMIBAMLO\":false,\"referProductAMLO\":false,\"referPBMIBAMLO\":false,\"referPBOccupationAMLO\":false,\"referPilotOccupation\":false,\"referIR\":false,\"documentList\":null,\"documentListUS\":null,\"amloDetailCodeList\":null,\"backendRuleMessages\":[{\"messageCode\":\"DT01003\",\"priority\":32767,\"message\":\"Rule 1 : แบบประกันภัย EON03L ยกเลิกขายแล้ว\",\"desc\":\"6\",\"showMessage\":true,\"messageStatus\":1}],\"backendRuleMessagesUS\":null},\"isIncompleteModel\":\"\"}}}\n", "responseDatetime": "2023-03-09T09:33:13.543", "responseMessage": "", "responseStatus": "S", "tranInternalId": "null", "updateBy": "null", "updateDate": "null", "wsName": "ConnectCheckBusinessRuleApi" }, { "tranId": 84674, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:19:53.297", "cusId": "3317", "requestpData": "null", "responseCode": "null", "responseData": "{\"orderId\":12964,\"insuredDocument\":{\"typeId\":1,\"type\":\"บัตรประจำตัวประชาชน\",\"number\":\"1100700106551\",\"expiryDate\":null},\"payerDocument\":{\"typeId\":null,\"type\":null,\"number\":null,\"expiryDate\":null,\"fileUrl\":null}}", "responseDatetime": "2023-03-09T09:19:53.473", "responseMessage": "null", "responseStatus": "S", "tranInternalId": 0, "updateBy": "null", "updateDate": "null", "wsName": "RevampAddUploadfile" }, { "tranId": 84673, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:19:32.463", "cusId": "3317", "requestpData": "{\"hasBeneficiary\":false,\"beneficiariesOfOrder\":null}", "responseCode": "null", "responseData": "{\"orderId\":12964,\"hasBeneficiary\":false,\"beneficiariesOfOrder\":[]}", "responseDatetime": "2023-03-09T09:19:32.55", "responseMessage": "null", "responseStatus": "S", "tranInternalId": 56759, "updateBy": "null", "updateDate": "null", "wsName": "RevampAddBeneficiary" }, { "tranId": 84672, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:19:27.51", "cusId": "3317", "requestpData": "{\"applicationFormId\":3,\"grantee\":\"SELF\",\"healthQuestions\":null,\"insuredFatcaQuestions\":[{\"questionCode\":\"FATCA01\",\"answerCode\":\"FATCA01ANS01\"},{\"questionCode\":\"FATCA02\",\"answerCode\":\"FATCA02ANS01\"},{\"questionCode\":\"FATCA03\",\"answerCode\":\"FATCA03ANS01\"},{\"questionCode\":\"FATCA04\",\"answerCode\":\"FATCA04ANS01\"}],\"payerFatcaQuestions\":null}", "responseCode": "null", "responseData": "{\"orderId\":12964,\"healthQuestionType\":\"No\",\"HealthQuestions\":[],\"InsuredFatcaQuestions\":[{\"questionCode\":\"FATCA01\",\"questionTitle\":\"ก. ท่านมีสัญชาติ ประเทศที่เกิด ที่เกี่ยวข้องกับประเทศสหรัฐอเมริกาหรือไม่/\\r\\nDoes your nationality and country of birth relate to the U.S.?\",\"answerCode\":\"FATCA01ANS01\",\"answerTitle\":\"ไม่มี \"},{\"questionCode\":\"FATCA02\",\"questionTitle\":\"ข. ท่านเป็นหรือเคยเป็นผู้ถือบัตรประจำตัวผู้มีถิ่นที่อยู่ถาวรอย่างถูกกฎหมายในประเทศสหรัฐอเมริกา (Green card) หรือไม่ /Do you hold or have you ever held U.S. green card?\",\"answerCode\":\"FATCA02ANS01\",\"answerTitle\":\"ไม่เป็น\"},{\"questionCode\":\"FATCA03\",\"questionTitle\":\" ท่านมีหน้าที่เสียภาษีให้แก่กรมสรรพากรสหรัฐอเมริกาหรือไม่/ Do you have an obligation to pay tax to the Internal Revenue Service?\",\"answerCode\":\"FATCA03ANS01\",\"answerTitle\":\"ไม่มี \"},{\"questionCode\":\"FATCA04\",\"questionTitle\":\" ท่านมีสถานะเป็นผู้มีถิ่นที่อยู่ในประเทศสหรัฐอเมริกาเพื่อวัตถุประสงค์ในการเก็บภาษีอากรของประเทศสหรัฐอเมริกาใช่หรือไม่ \\r\\n(เช่น มีถิ่นที่อยู่ในประเทศสหรัฐอเมริกาอย่างน้อย 183 วันในปีปฏิทินที่ผ่านมา)/Are you considered a resident of the U.S. for the objective of tax U.S.collection? (For example, you have residence in the U.S. for at least 183 days in previous calendar year.) \",\"answerCode\":\"FATCA04ANS01\",\"answerTitle\":\"ไม่มี \"}],\"PayerFatcaQuestions\":[]}", "responseDatetime": "2023-03-09T09:19:27.703", "responseMessage": "null", "responseStatus": "S", "tranInternalId": 56758, "updateBy": "null", "updateDate": "null", "wsName": "RevampAddQuestionOrder" }, { "tranId": 84671, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:19:27.367", "cusId": "3317", "requestpData": "{\"receiveInsuranceChannel\":null,\"insuredOfOrder\":{\"policyDelivery\":\"electronic\",\"receiptDocumentDelivery\":\"electronic\"},\"payerOfOrder\":{\"policyDelivery\":null,\"receiptDocumentDelivery\":null}}", "responseCode": "null", "responseData": "{\"receiveInsuranceChannel\":\"\",\"insuredOfOrder\":{\"policyDelivery\":\"electronic\",\"receiptDocumentDelivery\":\"electronic\"},\"payerOfOrder\":{\"policyDelivery\":\"\",\"receiptDocumentDelivery\":\"\"}}", "responseDatetime": "2023-03-09T09:19:27.457", "responseMessage": "null", "responseStatus": "S", "tranInternalId": 56756, "updateBy": "null", "updateDate": "null", "wsName": "RevampAddReceiveInsuranceChannel" }, { "tranId": 84670, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:19:27.04", "cusId": "3317", "requestpData": "{\"productId\":69,\"planId\":195,\"grantee\":\"SELF\",\"premium\":49400.00,\"premiumPaymentTypeId\":4,\"insuredInformation\":{\"titleId\":\"004\",\"firstName\":\"ศุภชัย\",\"lastName\":\"แสนใจ\",\"titleENId\":\"004\",\"firstNameEn\":\"supachai\",\"lastNameEn\":\"sanjai\",\"gender\":\"MALE\",\"birthDate\":\"2527-08-30\",\"statusId\":1,\"nationality\":\"TH\",\"citizenNo\":\"1100700106551\",\"citizenNoExpiredDate\":null,\"weight\":null,\"height\":null,\"spouseInformation\":null,\"currentAddress\":\"Home\",\"jobAddress\":\"Home\",\"docAddress\":\"Home\",\"jobInformations\":[{\"type\":\"Main\",\"occupation\":\"ก079010\",\"description\":\"เจ้าของธุรกิจ\",\"natureOfBusiness\":\"IT\",\"annualIncome\":1000000}],\"contactInformation\":{\"email\":\"[email protected]\",\"mobileNo\":\"0974249924\"},\"addresses\":[{\"type\":\"Home\",\"building\":\"\",\"no\":\"222\",\"moo\":\"1\",\"soi\":\"\",\"road\":\"\",\"province\":\"01\",\"district\":\"0102\",\"subDistrict\":\"010203\",\"zipcode\":\"81150\",\"phoneNo\":null,\"mobileNo\":null},{\"type\":\"Curr\",\"building\":\"\",\"no\":\"222\",\"moo\":\"1\",\"soi\":\"\",\"road\":\"\",\"province\":\"01\",\"district\":\"0102\",\"subDistrict\":\"010203\",\"zipcode\":\"81150\",\"phoneNo\":null,\"mobileNo\":null},{\"type\":\"Job\",\"building\":\"\",\"no\":\"222\",\"moo\":\"1\",\"soi\":\"\",\"road\":\"\",\"province\":\"01\",\"district\":\"0102\",\"subDistrict\":\"010203\",\"zipcode\":\"81150\",\"phoneNo\":null,\"mobileNo\":null}],\"foreignerInfomation\":null}}", "responseCode": "null", "responseData": "{\"orderId\":12964,\"insuredOfOrder\":{\"productId\":69,\"planId\":195,\"grantee\":\"ตัวเอง\",\"premium\":49400.0,\"premiumPaymentTypeId\":4,\"premiumPaymentType\":\"รายปี\",\"receiveBenefitMethod\":null,\"receiveInsuranceChannel\":\"\",\"insuredInformation\":{\"titleId\":\"004\",\"title\":\"นาย\",\"firstName\":\"ศุภชัย\",\"lastName\":\"แสนใจ\",\"titleENId\":\"004\",\"titleEN\":\"Mr\",\"firstNameEN\":\"supachai\",\"lastNameEN\":\"sanjai\",\"gender\":\"ผู้ชาย\",\"birthDate\":\"2527-08-30\",\"statusId\":1,\"status\":\"โสด\",\"nationalityCode\":\"TH\",\"nationality\":\"ไทย\",\"religionId\":null,\"religion\":null,\"citizenNo\":\"1100700106551\",\"citizenNoExpiredDate\":null,\"weight\":null,\"height\":null,\"spouseInformation\":{\"titleId\":null,\"title\":null,\"firstName\":null,\"lastName\":null},\"currentAddress\":\"Home\",\"jobAddress\":\"Home\",\"docAddress\":\"Home\",\"jobInformations\":[{\"type\":\"Main\",\"occupation\":\"ก079010\",\"description\":\"เจ้าของธุรกิจ\",\"natureOfBusiness\":\"IT\",\"place\":null,\"annualIncome\":\"1000000\"},{\"type\":\"Other\",\"occupation\":null,\"description\":null,\"natureOfBusiness\":null,\"place\":null,\"annualIncome\":null}],\"contactInformation\":{\"email\":\"[email protected]\",\"mobileNo\":\"0974249924\",\"documentFirstName\":\"ศุภชัย\",\"documentLastName\":\"แสนใจ\"},\"addresses\":[{\"type\":\"Home\",\"building\":\"\",\"no\":\"222\",\"moo\":\"1\",\"soi\":\"\",\"road\":\"\",\"provinceCode\":\"01\",\"province\":\"กระบี่\",\"districtCode\":\"0102\",\"district\":\"เกาะลันตา\",\"subDistrictCode\":\"010203\",\"subDistrict\":\"ศาลาด่าน\",\"zipcode\":\"81150\",\"phoneNo\":null,\"mobileNo\":null},{\"type\":\"Job\",\"building\":null,\"no\":null,\"moo\":null,\"soi\":null,\"road\":null,\"provinceCode\":null,\"province\":null,\"districtCode\":null,\"district\":null,\"subDistrictCode\":null,\"subDistrict\":null,\"zipcode\":null,\"phoneNo\":null,\"mobileNo\":null},{\"type\":\"Curr\",\"building\":null,\"no\":null,\"moo\":null,\"soi\":null,\"road\":null,\"provinceCode\":null,\"province\":null,\"districtCode\":null,\"district\":null,\"subDistrictCode\":null,\"subDistrict\":null,\"zipcode\":null,\"phoneNo\":null,\"mobileNo\":null}],\"foreignerInfomation\":{\"no\":null,\"road\":null,\"town\":null,\"province\":null,\"zipcode\":null,\"county\":null}}}}", "responseDatetime": "2023-03-09T09:19:27.35", "responseMessage": "null", "responseStatus": "S", "tranInternalId": 56757, "updateBy": "null", "updateDate": "null", "wsName": "RevampAddInsured" }, { "tranId": 84669, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:19:01.277", "cusId": "", "requestpData": "{\"mobileNumber\":\"0974249924\",\"message\":\"ยืนยันตัวตน MTL Online Sales Ref=EZIKJB ด้วยรหัส OTP=455004 ภายใน 10 นาที\",\"fromSystem\":\"E-Channel\",\"clientNumber\":null,\"policyNumber\":null}", "responseCode": "", "responseData": "{\"GatewayMessageId\":\"25660309091901\",\"MessageResult\":\"sent\",\"ResponseDateTime\":\"2023-03-09T09:19:01.2816248+07:00\",\"TaskId\":\"25660309091901\"}", "responseDatetime": "2023-03-09T09:19:01.293", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56755, "updateBy": "null", "updateDate": "null", "wsName": "SMSGateway" }, { "tranId": 84668, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:19:00.67", "cusId": "", "requestpData": "{\"citizenNo\":\"1100700106551\",\"birthDate\":\"2527-08-30\",\"username\":null,\"firstName\":null,\"lastName\":null,\"identificationNumber\":null,\"dateOfBirth\":null,\"laserId\":null,\"internalId\":0,\"channelCode\":\"MTL\"}", "responseCode": "", "responseData": "{\"dopaReport\":{\"citizenNo\":\"1100700106551\",\"birthDate\":\"2527-08-30\",\"code\":0,\"status\":\"ปกติ\"}}", "responseDatetime": "2023-03-09T09:19:00.803", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56753, "updateBy": "null", "updateDate": "null", "wsName": "CheckDopa" }, { "tranId": 84667, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:18:58.91", "cusId": "", "requestpData": "{\"requestHeader\":{\"transactionId\":\"BancaOnlineSaleWeb-2023030900004\",\"registeredSystem\":\"BancaOnlineSaleWeb\",\"section\":\"S1\"},\"requestBody\":{\"appNo\":\"210053014\",\"personalData\":{\"idCard\":\"1100700106551\"},\"basicInsureDetail\":{\"planCode\":\"EON03L\"},\"riderInsuranceDetails\":[{\"planCode\":\"\"}]}}", "responseCode": "", "responseData": "{\"responseHeader\":{\"transactionId\":\"BancaOnlineSaleWeb-2023030900004\",\"timestamp\":\"2023-03-09T09:18:15.874\",\"timeUsage\":\"1675ms.\",\"status\":\"0\",\"errorMessage\":null},\"responseBody\":{\"messageCount\":0,\"messageList\":[],\"templateNo\":\"1\",\"formNo\":\"1\"}}", "responseDatetime": "2023-03-09T09:19:00.657", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56753, "updateBy": "null", "updateDate": "null", "wsName": "CheckMIB" }, { "tranId": 84666, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:18:58.753", "cusId": "", "requestpData": "{\"citizenNo\":\"1100700106551\",\"channelCode\":\"MTL\"}", "responseCode": "", "responseData": "{\"blacklistReport\":{\"citizenNo\":\"1100700106551\",\"blacklistReport\":\"notfound\"}}", "responseDatetime": "2023-03-09T09:18:58.903", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56753, "updateBy": "null", "updateDate": "null", "wsName": "GetBlacklist" }, { "tranId": 84665, "accessToken": "", "channelCode": "null", "createBy": "SYSTEM", "createDate": "2023-03-09T09:18:27.14", "cusId": "", "requestpData": "{\"applicationFormId\":3,\"grantee\":\"SELF\",\"healthQuestions\":[],\"insuredFatcaQuestions\":[{\"questionCode\":\"FATCA01\",\"answerCode\":\"FATCA01ANS01\",\"condition\":null},{\"questionCode\":\"FATCA02\",\"answerCode\":\"FATCA02ANS01\",\"condition\":null},{\"questionCode\":\"FATCA03\",\"answerCode\":\"FATCA03ANS01\",\"condition\":null},{\"questionCode\":\"FATCA04\",\"answerCode\":\"FATCA04ANS01\",\"condition\":null}],\"payerFatcaQuestions\":[]}", "responseCode": "", "responseData": "{\"applicationFormId\":3,\"grantee\":\"SELF\",\"healthQuestionType\":\"No\",\"totalResult\":\"pass\",\"resultHealthQuestion\":\"pass\",\"rejectHealthQuestions\":null,\"resultFatca\":\"pass\",\"rejectInsuredFatcaQuestions\":null,\"rejectPayerFatcaQuestions\":null}", "responseDatetime": "2023-03-09T09:18:27.237", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56752, "updateBy": "null", "updateDate": "null", "wsName": "CheckResult" }, { "tranId": 84664, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:18:18.117", "cusId": "", "requestpData": "{\"planId\":201,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":1000000.00,\"channelCode\":null,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":201,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":1000000.0,\"premium\":988000.0,\"premiumPayment\":988000.0,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:18:18.357", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56751, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" }, { "tranId": 84663, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:18:17.82", "cusId": "", "requestpData": "{\"planId\":200,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":700000.00,\"channelCode\":null,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":200,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":700000.0,\"premium\":691600.0,\"premiumPayment\":691600.0,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:18:18.077", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56751, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" }, { "tranId": 84662, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:18:17.637", "cusId": "", "requestpData": "{\"planId\":199,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":500000.00,\"channelCode\":null,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":199,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":500000.0,\"premium\":494000.0,\"premiumPayment\":494000.0,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:18:17.787", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56751, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" }, { "tranId": 84661, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:18:17.423", "cusId": "", "requestpData": "{\"planId\":198,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":300000.00,\"channelCode\":null,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":198,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":300000.0,\"premium\":296400.0,\"premiumPayment\":296400.0,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:18:17.6", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56751, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" }, { "tranId": 84660, "accessToken": "", "channelCode": "MTL", "createBy": "SYSTEM", "createDate": "2023-03-09T09:18:16.897", "cusId": "", "requestpData": "{\"planId\":197,\"planName\":null,\"paymentMode\":\"TWELVE_MONTHS\",\"birthDate\":\"2527-08-30\",\"gender\":\"MALE\",\"amount\":200000.00,\"channelCode\":null,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\"}", "responseCode": "", "responseData": "{\"premium\":{\"planId\":197,\"paymentMode\":\"TWELVE_MONTHS\",\"age\":39,\"gender\":\"MALE\",\"amount\":200000.0,\"premium\":197600.0,\"premiumPayment\":197600.0,\"paymentChannel\":\"kbank\",\"hasCreditCardData\":false,\"grantee\":\"SELF\",\"requiredIdentificationDocuments\":[{\"documentType\":\"insure, insureSelfie\"}]}}", "responseDatetime": "2023-03-09T09:18:17.38", "responseMessage": "", "responseStatus": "S", "tranInternalId": 56751, "updateBy": "null", "updateDate": "null", "wsName": "RevampGetPremium" } ] var search = [{ "col" : "tranId", "value" : "2"}] var data = test.filter(row => search.forEach((obj) => { console.log(row, obj.col, obj.value) return row[obj.col].toString().toLowerCase().includes(obj.value.toString().toLowerCase()) }) ) console.log(data.length)
Write, Run & Share Javascript code online using OneCompiler's JS online compiler for free. It's one of the robust, feature-rich online compilers for Javascript language. Getting started with the OneCompiler's Javascript editor is easy and fast. The editor shows sample boilerplate code when you choose language as Javascript and start coding.
Javascript(JS) is a object-oriented programming language which adhere to ECMA Script Standards. Javascript is required to design the behaviour of the web pages.
var readline = require('readline');
var rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
terminal: false
});
rl.on('line', function(line){
console.log("Hello, " + line);
});
Keyword | Description | Scope |
---|---|---|
var | Var is used to declare variables(old way of declaring variables) | Function or global scope |
let | let is also used to declare variables(new way) | Global or block Scope |
const | const is used to declare const values. Once the value is assigned, it can not be modified | Global or block Scope |
let greetings = `Hello ${name}`
const msg = `
hello
world!
`
An array is a collection of items or values.
let arrayName = [value1, value2,..etc];
// or
let arrayName = new Array("value1","value2",..etc);
let mobiles = ["iPhone", "Samsung", "Pixel"];
// accessing an array
console.log(mobiles[0]);
// changing an array element
mobiles[3] = "Nokia";
Arrow Functions helps developers to write code in concise way, it’s introduced in ES6.
Arrow functions can be written in multiple ways. Below are couple of ways to use arrow function but it can be written in many other ways as well.
() => expression
const numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
const squaresOfEvenNumbers = numbers.filter(ele => ele % 2 == 0)
.map(ele => ele ** 2);
console.log(squaresOfEvenNumbers);
let [firstName, lastName] = ['Foo', 'Bar']
let {firstName, lastName} = {
firstName: 'Foo',
lastName: 'Bar'
}
const {
title,
firstName,
lastName,
...rest
} = record;
//Object spread
const post = {
...options,
type: "new"
}
//array spread
const users = [
...adminUsers,
...normalUsers
]
function greetings({ name = 'Foo' } = {}) { //Defaulting name to Foo
console.log(`Hello ${name}!`);
}
greet() // Hello Foo
greet({ name: 'Bar' }) // Hi Bar
IF is used to execute a block of code based on a condition.
if(condition){
// code
}
Else part is used to execute the block of code when the condition fails.
if(condition){
// code
} else {
// code
}
Switch is used to replace nested If-Else statements.
switch(condition){
case 'value1' :
//code
[break;]
case 'value2' :
//code
[break;]
.......
default :
//code
[break;]
}
For loop is used to iterate a set of statements based on a condition.
for(Initialization; Condition; Increment/decrement){
//code
}
While is also used to iterate a set of statements based on a condition. Usually while is preferred when number of iterations are not known in advance.
while (condition) {
// code
}
Do-while is also used to iterate a set of statements based on a condition. It is mostly used when you need to execute the statements atleast once.
do {
// code
} while (condition);
ES6 introduced classes along with OOPS concepts in JS. Class is similar to a function which you can think like kind of template which will get called when ever you initialize class.
class className {
constructor() { ... } //Mandatory Class method
method1() { ... }
method2() { ... }
...
}
class Mobile {
constructor(model) {
this.name = model;
}
}
mbl = new Mobile("iPhone");