POST api/Policy/SetupNewDirectDebit

Request Information

URI Parameters

None.

Body Parameters

UpdatePolicyAccountDetailsRequest
NameDescriptionTypeAdditional 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": "00c6e8fb-241e-477f-9cfc-1585e0bffa91",
  "PreferredDayOfPayment": 4,
  "SortCode": "sample string 5",
  "CountryId": "25d2bf89-356d-4191-ac51-d83b106bd88d"
}

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>25d2bf89-356d-4191-ac51-d83b106bd88d</CountryId>
  <PolicyId>00c6e8fb-241e-477f-9cfc-1585e0bffa91</PolicyId>
  <PreferredDayOfPayment>4</PreferredDayOfPayment>
  <SortCode>sample string 5</SortCode>
</UpdatePolicyAccountDetailsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.