My Api code:
As per the Partners API Document, hereby I mentioned sample input Parameters:
{"title":"Mr","name_applicant":"Marav","gender":"Male","marital_status":"Unmarried","occu
pation":"TEACHER","income":"45000","date_of_birth":"01-07-1982","address1":"Address
1","address2":"Address
2","pin_code":"560075","state":"City","district":"KARNATAKA","mobile":"7795471996","int
roducer_emp_code":"MF39349","emp_name":"PRASHANTH H
S","branch_code":"BEL12","branch_type":"BEL","crmbel_customerid":"553399877","crmbel
_lead_id":"78996","status":"0","transaction_module":"399","nom_name":"sam","nom_relatio
n":"spouse","nom_age":"34","proof_name":"DOB"}
Here I have mentioned Partners Output Parameters
ESPONSE 1:
{"code":"100","result":"success","api_response_message":"Successfully
Inserted","customer_id":"553399877"}
RESPONSE 2:
{"code":"111","result":"error","api_response_message":"Duplicate
Entry","customer_id":"553399877"}
RESPONSE 3:
{"code":"113","result":"error","api_response_message":"Branch code does not exist or crm
status not
enabled","customer_id":"","mstl_response1":"","mstl_response2":"","mstl_response3":""}
RESPONSE 4:
{"code":"114","result":"error","api_response_message":"district,nom_name,nom_relation,no
m_age,introducer_emp_code,Uploaded proof name,Proof file : value cannot be
null","customer_id":"","mstl_response1":"","mstl_response2":"","mstl_response3":""}
RESPONSE 5:
{"code":"116","result":"error","api_response_message":"Invalid Data","customer_id":""}