POST api/Policy/SetupNewDirectDebit
Request Information
URI Parameters
None.
Body Parameters
UpdatePolicyAccountDetailsRequestName | Description | Type | Additional information |
---|---|---|---|
AccountHolderName | string |
None. |
|
AccountNumber | string |
None. |
|
PolicyId | globally unique identifier |
None. |
|
PreferredDayOfPayment | integer |
None. |
|
SortCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountHolderName": "sample string 1", "AccountNumber": "sample string 2", "PolicyId": "9f65ae67-d0be-4700-be8b-935c34b3410a", "PreferredDayOfPayment": 4, "SortCode": "sample string 5" }
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> <PolicyId>9f65ae67-d0be-4700-be8b-935c34b3410a</PolicyId> <PreferredDayOfPayment>4</PreferredDayOfPayment> <SortCode>sample string 5</SortCode> </UpdatePolicyAccountDetailsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.