POST api/Policy/SetupNewDirectDebit
Request Information
URI Parameters
None.
Body Parameters
UpdatePolicyAccountDetailsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountHolderName | string |
None. |
|
| AccountNumber | string |
None. |
|
| PolicyId | globally unique identifier |
None. |
|
| PreferredDayOfPayment | integer |
None. |
|
| SortCode | string |
None. |
|
| CountryId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountHolderName": "sample string 1",
"AccountNumber": "sample string 2",
"PolicyId": "df2d3903-d066-42b2-8c08-8b8bb190166d",
"PreferredDayOfPayment": 4,
"SortCode": "sample string 5",
"CountryId": "691e616e-7b43-44ed-b6c8-ba0ff2708099"
}
application/xml, text/xml
Sample:
<UpdatePolicyAccountDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <AccountHolderName>sample string 1</AccountHolderName> <AccountNumber>sample string 2</AccountNumber> <CountryId>691e616e-7b43-44ed-b6c8-ba0ff2708099</CountryId> <PolicyId>df2d3903-d066-42b2-8c08-8b8bb190166d</PolicyId> <PreferredDayOfPayment>4</PreferredDayOfPayment> <SortCode>sample string 5</SortCode> </UpdatePolicyAccountDetailsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.