POST api/INHCustEntryPayment/SavePaymentDetails
Request Information
URI Parameters
None.
Body Parameters
Mdl_Payment| Name | Description | Type | Additional information |
|---|---|---|---|
| Mdl_Pro_Payment | Mdl_Pro_Payment |
None. |
|
| Mdl_Pro_Policy_Payment | Mdl_Pro_Policy_Payment |
None. |
|
| Mdl_Pro_Dual_Payment | Mdl_Pro_Dual_Payment |
None. |
|
| Process_Allocated_To | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mdl_Pro_Payment": {
"Pay_Id": 1,
"Payment_Received_By_Id": 2,
"Receipt_Id": 3,
"Payment_Id": 4,
"Pay_Amount": 5.0,
"CashBack_Amount": 6.0,
"PaymentMode": "sample string 7",
"Transaction_No": "sample string 8",
"Transaction_Date": "sample string 9",
"Transaction_Bank": "sample string 10",
"ReceivedDate": "sample string 11",
"ClearanceDate": "sample string 12",
"IsChequeBounce": true,
"PaymentStatus": "sample string 14",
"User_Id": 15,
"Row_Version": "sample string 16",
"DOCVERIFYBYUSERID": "sample string 17"
},
"Mdl_Pro_Policy_Payment": {
"Payment_Id": 1,
"Pro_Cust_Id": 2,
"HTH_Pro_Cust_Id": 3,
"SME_Pro_Cust_Id": 4,
"Pro_Veh_Id": 5,
"Quote_Id": 6,
"Policy_Id": 7,
"ODPremium": 8.0,
"TPPremium": 9.0,
"TPOther": 10.0,
"ServiceTax": 11.0,
"ODDiscount": 12.0,
"QuoteAmount": 13.0,
"WaverAmount": 14.0,
"IsDualPayment": true,
"User_Id": 16,
"Row_Version": "sample string 17",
"Is_From_INH": "sample string 18"
},
"Mdl_Pro_Dual_Payment": {
"Dual_Payment_Id": 1,
"Bank_Id": 2,
"Payment_Id": 3,
"Dual_Payment_Discount": 4.0,
"Dual_Payment_Amount": 5.0,
"PaymentMode": "sample string 6",
"Cheque_File": "sample string 7",
"Transaction_No": "sample string 8",
"Transaction_Date": "sample string 9",
"Transaction_Bank": "sample string 10",
"ReceivedDate": "sample string 11",
"ClearanceDate": "sample string 12",
"IsChequeBounce": true,
"PaymentStatus": "sample string 14",
"User_Id": 15,
"Row_Version": "sample string 16",
"IsAdjustmentAmount": "sample string 17",
"Is_From_INH": "sample string 18"
},
"Process_Allocated_To": 1
}
application/xml, text/xml
Sample:
<Mdl_Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INH_Insurance_MVC.Models">
<Mdl_Pro_Dual_Payment>
<Bank_Id>2</Bank_Id>
<Cheque_File>sample string 7</Cheque_File>
<ClearanceDate>sample string 12</ClearanceDate>
<Dual_Payment_Amount>5</Dual_Payment_Amount>
<Dual_Payment_Discount>4</Dual_Payment_Discount>
<Dual_Payment_Id>1</Dual_Payment_Id>
<IsAdjustmentAmount>sample string 17</IsAdjustmentAmount>
<IsChequeBounce>true</IsChequeBounce>
<Is_From_INH>sample string 18</Is_From_INH>
<PaymentMode>sample string 6</PaymentMode>
<PaymentStatus>sample string 14</PaymentStatus>
<Payment_Id>3</Payment_Id>
<ReceivedDate>sample string 11</ReceivedDate>
<Row_Version>sample string 16</Row_Version>
<Transaction_Bank>sample string 10</Transaction_Bank>
<Transaction_Date>sample string 9</Transaction_Date>
<Transaction_No>sample string 8</Transaction_No>
<User_Id>15</User_Id>
</Mdl_Pro_Dual_Payment>
<Mdl_Pro_Payment>
<CashBack_Amount>6</CashBack_Amount>
<ClearanceDate>sample string 12</ClearanceDate>
<DOCVERIFYBYUSERID>sample string 17</DOCVERIFYBYUSERID>
<IsChequeBounce>true</IsChequeBounce>
<Pay_Amount>5</Pay_Amount>
<Pay_Id>1</Pay_Id>
<PaymentMode>sample string 7</PaymentMode>
<PaymentStatus>sample string 14</PaymentStatus>
<Payment_Id>4</Payment_Id>
<Payment_Received_By_Id>2</Payment_Received_By_Id>
<Receipt_Id>3</Receipt_Id>
<ReceivedDate>sample string 11</ReceivedDate>
<Row_Version>sample string 16</Row_Version>
<Transaction_Bank>sample string 10</Transaction_Bank>
<Transaction_Date>sample string 9</Transaction_Date>
<Transaction_No>sample string 8</Transaction_No>
<User_Id>15</User_Id>
</Mdl_Pro_Payment>
<Mdl_Pro_Policy_Payment>
<HTH_Pro_Cust_Id>3</HTH_Pro_Cust_Id>
<IsDualPayment>true</IsDualPayment>
<Is_From_INH>sample string 18</Is_From_INH>
<ODDiscount>12</ODDiscount>
<ODPremium>8</ODPremium>
<Payment_Id>1</Payment_Id>
<Policy_Id>7</Policy_Id>
<Pro_Cust_Id>2</Pro_Cust_Id>
<Pro_Veh_Id>5</Pro_Veh_Id>
<QuoteAmount>13</QuoteAmount>
<Quote_Id>6</Quote_Id>
<Row_Version>sample string 17</Row_Version>
<SME_Pro_Cust_Id>4</SME_Pro_Cust_Id>
<ServiceTax>11</ServiceTax>
<TPOther>10</TPOther>
<TPPremium>9</TPPremium>
<User_Id>16</User_Id>
<WaverAmount>14</WaverAmount>
</Mdl_Pro_Policy_Payment>
<Process_Allocated_To>1</Process_Allocated_To>
</Mdl_Payment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>