POST api/agency/addbankaccount
Creates a bank account for the agency. Processes this agency API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The set agency account details data contract supplied with the request.
SetAgencyAccountDetailsDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountName |
The account name value. |
string |
None. |
| AccountNumber |
The account number value. |
string |
None. |
| Sortcode |
The sortcode value. |
string |
None. |
| OpeningBalance |
The opening balance value. |
decimal number |
None. |
| IBAN |
The iban value. |
string |
None. |
| BIC |
The bic value. |
string |
None. |
| CountryCode |
The country code value. |
string |
None. |
| BankName |
The bank name value. |
string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"AccountName": "sample string 1",
"AccountNumber": "sample string 2",
"Sortcode": "sample string 3",
"OpeningBalance": 4.0,
"IBAN": "sample string 5",
"BIC": "sample string 6",
"CountryCode": "sample string 7",
"BankName": "sample string 8"
}
Response Information
Resource Description
The response returned after the operation completes.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.