POST api/partner/RenewPolicy?policyOrRegNo={policyOrRegNo}&creditNote={creditNote}&startDate={startDate}&sumInsured={sumInsured}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| policyOrRegNo | string |
Required |
|
| creditNote | string |
Required |
|
| startDate | date |
Required |
|
| sumInsured | decimal number |
Default value is 0.0 |
Body Parameters
None.
Response Information
Resource Description
PaymentNotificationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Payments | PaymentsResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Payments": {
"Payment": {
"PaymentLogId": "sample string 1",
"Status": 2,
"StatusMessage": "sample string 3"
},
"StatusMessage": "sample string 1"
}
}
application/xml, text/xml
Sample:
<PaymentNotificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CHICoreRestAPI.Core.InterSwitchResponse">
<Payments>
<Payment>
<PaymentLogId>sample string 1</PaymentLogId>
<Status>2</Status>
<StatusMessage>sample string 3</StatusMessage>
</Payment>
<StatusMessage>sample string 1</StatusMessage>
</Payments>
<Status>sample string 1</Status>
</PaymentNotificationResponse>