This command can be used to Insurance Premium Payment.
Function Name: MakeInsurance()
Method: POST
Resource URL: http://appone.exioms.com/api/v3_1/rechargeV3.php/MakeInsurance
Parameteres
Parameters | Value | Description |
strUsername | String | Unique User name |
strAuthKey | String | Your Auth Key |
intOperatorType | Integer | Operator Type like Mobile, DTH, Postpaid etc click here to check Operator type |
intOperatorID | Integer | Operator ID like Airtel, Vodafone click here to check Operator name and id |
strDOB | String | Date of Birth like 27/02/1985 |
strNumber | String | Account Number |
dblAmount | Double | Amount like 100.00 or 125.00 |
strIPAddress | String | Your IP Address like 192.168.3.22 |
strMyTxID | String | Unique ID from your side |
format | Integer | To Get Response In Different Format, example. For JSON (Default) = 1 , CSV = 2, XML = 3 |
You can't test POST based API directly in browser so you have to use following URL for testing API: https://www.hurl.it/
Sample Response
{
"InsuranceDetails": [
{
"message": "OOPs! You do not have sufficient balance.",
"recharge_status": "Failed",
"trans_id": "NA",
"opr_trans_id": "NA"
}
],
"success": 1
}
OOPs! You do not have sufficient balance.,Failed,NA,NA
(message,status,transaction_id,transanction id)
<InsuranceDetails>
<InsuranceBill>
<message>OOPs! You do not have sufficient balance.</message>
<recharge_status>Failed</recharge_status>
<trans_id>NA</trans_id>
<opr_trans_id>NA</opr_trans_id>
</InsuranceBill>
</InsuranceDetails>