1.Login:
- URL :
https://dev.indianmoney.com/imi_u10/indianmoneyinsurance/directsales/login
- POST Values :
{"mobile_number":"9742157578","device_id":"XXXXXX","device_type":"2","device_model":"iPhone SE","device_brand":"Apple", "device_version":"12.1.4"}
- If Success :
{"message":"OTP sent successfully.","status":"1"}
- If Error :
{"message":"Invalid credential details !!","status":"0"}
2.Verify OTP
- URL :
https://dev.indianmoney.com/imi_u10/indianmoneyinsurance/directsales/login/verify_otp
- POST Values :
{"mobile_number":"9742157578","device_id":"rtedtqer4323562rtf","device_type":"2","device_model":"iPHONE SE","device_brand":"iOS","device_version":"1.0","otp_number":"1111","version_code":"1.0"}
- If Success :
{"message":"OTP verified successfully","status":"1","secret_key":"e3418fbbd15e3568ffa8b624f7cf17f3"}
- If Fail :
{"message":"Invalid OTP","status":"0","secret_key":""}
3.Resend OTP
- URL :
https://dev.indianmoney.com/imi_u10/indianmoneyinsurance/directsales/login/resend_otp
- POST Values :
{"mobile_number":"9742157578","device_id":"rtedtqer4323562rtf","device_type":"2","device_model":"iPHONE SE","device_brand":"iOS","device_version":"1.0"}
- If Success :
{"message":"OTP sent successfully.","status":"1"}
- If Fail :
{"message":"Error Message !!","status":"0"}
4.Update FCM
- URL :
https://dev.indianmoney.com/imi_u10/indianmoneyinsurance/directsales/user/update_fcm
- POST Values :
{"mobile_number":"9742157578","device_id":"rtedtqer4323562rtf","device_type":"2","device_model":"iPHONE SE","device_brand":"iOS","device_version":"1.0", "secret_key":"XXXXXXXXXXXX"}
- If Success :
{"message":"FCM updated successfully!!","status":"1"}
- If Fail :
{"message":"Error Message !!","status":"0"}
5.Logout
- URL :
https://dev.indianmoney.com/imi_u10/indianmoneyinsurance/directsales/user/logout
- POST Values :
{"mobile_number":"9742157578","device_id":"rtedtqer4323562rtf","device_type":"2","device_model":"iPHONE SE","device_brand":"iOS","device_version":"1.0", "secret_key":"XXXXXXXXXXXX"}
- If Success :
{"message":"Logged out successfully!!","status":"1"}
- If Fail :
{"message":"Error Message !!","status":"0"}
6.Report – DASHBOARD
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/Reports/dashboard_report
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28","secret_key":"XXXXXXXXXXX"}
- If Success :
{"converted_leads":"1","pending_leads":"0","cancelled_leads":"0","total_leads":1,"status":"1","message":"Dashboard Report !!"}
- If Fail :
{"message":"Error Message !!","status":"0"}
7.My Profile
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/user/profile
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28","secret_key":"XXXXXXXXXXX"}
- If Success :
{"profile":{"id":"2","name":"Spandana DS","mobile_number":"7349704266","email":"span@gmail.com","pincodes":"560021,560098"},"error":"false","status":"1","message":"Agent Profile Details !!"}
- If Fail :
If Fail : {" {"error":true,"status":"0","message":"Invalid Details Found !!"}
8.Product Dropdown
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/meetings/filter_product_dropdown
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28","secret_key":"c2dead1a0f75fe26ea3478ecf5a61681"}
- If Success :
{"product_dropdown":[{"product_id":"1","product_name":"Term Insurance"},{"product_id":"2","product_name":"Health Insurance"},{"product_id":"3","product_name":"Car Insurance"},{"product_id":"4","product_name":"Two Wheeler Insurance"},{"product_id":"5","product_name":"Endowment Plan"},{"product_id":"6","product_name":"IndianMoney Group Term Insurance"},{"product_id":"7","product_name":"Indianmoney Group Mediclaim Insurance"}],"status":1,"error":"false","message":"Product Details !!"}
9.Cancel Meeting
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/meetings/cancel_meeting
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28","secret_key":"c2dead1a0f75fe26ea3478ecf5a61681" ,consumer_id:"17",req_id:"27”, cancel_reason_id:”Reason Id”}
- If Success :
{"error":false,"status":"1","message":"Meeting Cancelled !!"}
10.Report – Cancelled List
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/Reports/meeting_cancelled_list
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28","secret_key":"c2dead1a0f75fe26ea3478ecf5a61681"}
- If Success :
{"cancelled_details":[{"cancelled_reason":"Cancel Reason One","consumer_name":"Radhe","consumer_address":"SBC Karkala","ds_meeting_ended_on":"2019-10-18 17:33:10","consumer_id":"289","req_id":"187","company_name":"HDFCStandardLifeInsuranceCo.Ltd"}],"status":"1","message":"Cancelled meeting list !!"}
- If Fail :
If Fail : {"status":"0","message":"No Records Found !!"}
11.Report – Completed List
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/Reports/meeting_completed_list
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28","secret_key":"c2dead1a0f75fe26ea3478ecf5a61681"}}
- If Success :
{"completed_details":[{"consumer_name":"Skanda","consumer_address":"","ds_meeting_ended_on":"2019-10-18 17:33:10","req_id":"54","consumer_id":"3059","company_name":"HDFCStandardLifeInsuranceCo.Ltd","documet_pending":"Yes"}],"status":"1","error":"false","message":"Completed Details Of Fos Agents !!"}
- If Fail :
If Fail : {"status":"0","message":"No Records Found !!"}
12.Click to call
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/Call_to_lead
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27”}
- If Success :
{"error":false,"status":"1","message":"Call Queued Successfully"}
13.Product Company Dropdown
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/Product_company
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27”}
- If Success :
{"status":1,"error":"false","message":"Company Details ","comapny_details":[],"company_reason":[{"company_resn_id":1,"company_resn_val":"Reason one"},{"company_resn_id":2,"company_resn_val":"Reason two"}],"company_details":[{"pro_comp_id":"51","pro_comp_name":"AdityaBirlaHealthInsuranceCo.Limited"},{"pro_comp_id":"38","pro_comp_name":"ApolloMunichHealthInsuranceCompanyLimited"},{"pro_comp_id":"111","pro_comp_name":"Bajaj Health Insurance"},{"pro_comp_id":"49","pro_comp_name":"CignaTTKHealthInsuranceCompanyLtd.\u00a0"},{"pro_comp_id":"114","pro_comp_name":"Future Generali General Insurance"},{"pro_comp_id":"34","pro_comp_name":"HDFCERGOGeneralInsuranceCo.Ltd."},{"pro_comp_id":"104","pro_comp_name":"Religare Health Insurance"},{"pro_comp_id":"37","pro_comp_name":"StarHealthandAlliedInsuranceCompanyLimited"},{"pro_comp_id":"32","pro_comp_name":"TataAIGGeneralInsuranceCo.Ltd."}]}
- If Fail :
If Fail : {"error":true,"status":"0","message":"Invalid Details Found !!"}
14.Category Dropdown - Sales Completed - Docs Upload
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/disposition/get_product_category_dropdown
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27”, disposition_type:”3}
- If Success :
If Success : {"status":"1","error":"false","message":"Category Dropdown !!","document_dropdown":[{"fdc_id":"1","fdc_name":"Profile Picture"},{"fdc_id":"2","fdc_name":"PAN Card"}]}
- If Fail :
If Fail : {"error":true,"status":"0","message":"Invalid Details Found !!"}
15. Disposition - Not eligible for product
- URL :
https https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/disposition
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27”, disposition_type:”2,"comment":”COMMENT”}
- If Success :
If Success : {"error":"false","status":"1","message":"Customer is not eligible for product !!"}
- If Fail :
If Fail : {"error":true,"status":"0","message":"Invalid Details Found !!"}
15.Disposition - Prefer Other Company
- URL :
https https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/disposition
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27”, disposition_type:”4”, company_change_reason:”SELECTED REASON ID”, company_id:”SELECTED COMPANY ID”}
- If Success :
{"error":"false","status":"1","message":"DS - Fos Agent - Prefers other Company !!"}
- If Fail :
If Fail : {"error":true,"status":"0","message":"Invalid Details Found !!"}
16.Disposition - Customer Not Interested
- URL :
https https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/disposition
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27”, disposition_type:”1”,"comment":”COMMENT”}}
- If Success :
{"error":"false","status":"1","message":"Not Interested - Status Updated Successfully !!"}
- If Fail :
If Fail : {"error":true,"status":"0","message":"Invalid Details Found !!"}
17.Disposition - Need followup
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/disposition
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27", follow_up_on:”date & time”, disposition_type:”5”,"comment":”COMMENT”}
- If Success :
{"error":"false","status":"1","message":"FU Added Successfully !!"}
- If Fail :
If Fail : {"error":true,"status":"0","message":"Invalid Details Found !!"}
18.Start Meeting
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/meetings/start_meeting
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27"}
- If Success :
{"error":"false","status":"1","message":"Meeting Started !!"}
- If Fail :
If Fail : {"error":true,"status":"0","message":"Invalid Details Found !!"}
19.End Meeting
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/meetings/ end_meeting
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"17",req_id:"27"}
- If Success :
{"error":"false","status":"1","message":"Meeting Ended !!"}
- If Fail :
If Fail : {"error":true,"status":"0","message":"Invalid Details Found !!"}
20.Follow Ups
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/meetings/follow_ups
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",consumer_id:"10"}
- If Success :
{"follow_ups":[{"fu_title":"Not Interested - ","fu_on":"2019-10-08 10:33:28"}]}
- If Fail :
If Fail : {"follow_ups":"No Records Found !!"}
21.Meeting till date
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/meetings/meetings_till_date
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681", consumer_id:"10","page":"1"}
- If Success :
{"meeting_till_date":[{"meeting_ended_on":"2019-10-01 17:45:57","comment":"Customer requires follow Up"},{"meeting_ended_on":"2019-09-30 18:49:29","comment":"Customer Not Interested !!"},{"meeting_ended_on":"2019-10-30 02:04:03","comment":"Customer requires follow Up"}]}
- If Fail :
If Fail : {"meeting_till_date":"No Records Found !!"}
22.Terms and Condition
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/fos-app-terms
23.Privacy Policy
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/fos-app-privacy-policy
24.Premium Chat
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/premium-chart
25.Apply Leave
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/user/apply_leave
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",,"leave_from":"DATE","leave_to":"DATE","leave_reason":"SELECTED REASON","leave_slot":"TIME SLOT"}
- If Success :
{"status":1,"error":"false","message":"Leave Applied Successfully !!"}
26.Agent Leave - Office Work & Personal Leave
1=> Office work ,2 => Personal Leave
fa_leave_status => 1 Pending , 2 Approved , 3 Cancelled
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/user/official_and_personal_leave
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681","page":"1","leave_status":"1"}
- If Success - Office Work :
{"leave":[{"fa_leave_from":"2019-10-15","fa_leave_to":"2019-10-16","fa_leave_reason":"Attend Training","fa_leave_days":"2","fa_leave_id":"1","fa_leave_status":"3"},{"fa_leave_from":"2019-10-15","fa_leave_to":"2019-10-16","fa_leave_reason":"Attend Training","fa_leave_days":"2","fa_leave_id":"4","fa_leave_status":"1"},{"fa_leave_from":"2019-11-16","fa_leave_to":"2019-10-17","fa_leave_reason":"Attend Training","fa_leave_days":"31","fa_leave_id":"5","fa_leave_status":"1"},{"fa_leave_from":"2019-10-16","fa_leave_to":"2019-10-17","fa_leave_reason":"Office Work","fa_leave_days":"2","fa_leave_id":"6","fa_leave_status":"1"},{"fa_leave_from":"2019-10-17","fa_leave_to":"2019-10-17","fa_leave_reason":"Attend Training","fa_leave_days":"1","fa_leave_id":"8","fa_leave_status":"1"},{"fa_leave_from":"2019-10-16","fa_leave_to":"2019-10-16","fa_leave_reason":"Office Work","fa_leave_days":"1","fa_leave_id":"10","fa_leave_status":"1"},{"fa_leave_from":"2019-10-16","fa_leave_to":"2019-10-17","fa_leave_reason":"Office Work","fa_leave_days":"2","fa_leave_id":"11","fa_leave_status":"1"},{"fa_leave_from":"2019-10-16","fa_leave_to":"2019-10-17","fa_leave_reason":"Attend Training","fa_leave_days":"2","fa_leave_id":"13","fa_leave_status":"1"},{"fa_leave_from":"2019-10-16","fa_leave_to":"2019-10-16","fa_leave_reason":"Attend Training","fa_leave_days":"1","fa_leave_id":"15","fa_leave_status":"1"},{"fa_leave_from":"2019-10-17","fa_leave_to":"2019-10-17","fa_leave_reason":"Office Work","fa_leave_days":"1","fa_leave_id":"16","fa_leave_status":"1"},{"fa_leave_from":"2019-10-16","fa_leave_to":"2019-10-16","fa_leave_reason":"Attend Training","fa_leave_days":"1","fa_leave_id":"18","fa_leave_status":"1"},{"fa_leave_from":"2019-10-17","fa_leave_to":"2019-10-17","fa_leave_reason":"Attend Training","fa_leave_days":"1","fa_leave_id":"19","fa_leave_status":"1"}],"status":1,"message":"Office Work List","error":"false"}
- If Success - Personal Leave :
IF fa_leave_status = 1 then show cancel button
{"leave":[{"fa_leave_from":"2019-10-15","fa_leave_to":null,"fa_leave_id":"2","fa_leave_reason":"Leave","fa_leave_days":"18185","fa_leave_status":"3"},{"fa_leave_from":"2019-10-15","fa_leave_to":"2019-10-16","fa_leave_id":"3","fa_leave_reason":"Leave","fa_leave_days":"2","fa_leave_status":"1"},{"fa_leave_from":"2019-11-16","fa_leave_to":"2019-10-16","fa_leave_id":"12","fa_leave_reason":"Leave","fa_leave_days":"32","fa_leave_status":"3"},{"fa_leave_from":"2019-10-16","fa_leave_to":"2019-10-17","fa_leave_id":"14","fa_leave_reason":"Leave","fa_leave_days":"2","fa_leave_status":"1"}],"status":1,"message":"Personal Leaves","error":"false"}
27.Cancel Leave
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/user/cancel_leave
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681",,"fa_leave_id":"ID Have Sent in above API"}
- If Success :
{"status":1,"error":"false","message":"Leave Cancelled Successfully !!"}
28.Main Report
- URL :
https://dev.indianmoney.com/imi_u11/indianmoneyinsurance/directsales/reports/main_report
- POST Values :
{"mobile_number":"7349704266","device_id":"rtedtqer4323562rtf","device_type":"1","device_version":"28", "secret_key":"c2dead1a0f75fe26ea3478ecf5a61681","from_date":"","to_date":"","customer_name":"","page":"1", "product_id"="2"}
- If Success :
{"completed_details":[{"consumer_name":"Manasa","ds_meeting_ended_on":"2019-10-14 14:43:56","req_id":"446","disposition":"Not Interested !!","consumer_id":"678","company_name":"HDFCStandardLifeInsuranceCo.Ltd"}],"header_rep":{"sourced":"0","scheduled":"2","completed":"1","cancelled":"0","converted":"0"},"status":"1","error":"false","message":" Meeting list !!"}