POST Policy/GetBankAccount
Request Information
URI Parameters
None.
Body Parameters
SecurityTokenVerifiedRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SecurityKey | string |
None. |
|
| PolicyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SecurityKey": "sample string 1",
"PolicyId": 2
}
application/xml, text/xml
Sample:
<SecurityTokenVerifiedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <PolicyId>2</PolicyId> <SecurityKey>sample string 1</SecurityKey> </SecurityTokenVerifiedRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfBankAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Entity | BankAccount |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Entity": {
"Id": 1,
"BankId": 2,
"BranchCode": "sample string 3",
"AccountNumber": "sample string 4",
"AccountHolder": "sample string 5",
"AccountTypeId": 6,
"AccountIdNumber": "sample string 7"
}
}
application/xml, text/xml
Sample:
<ResponseOfBankAccountlP_S41WJs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core">
<Entity xmlns:d2p1="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models">
<d2p1:AccountHolder>sample string 5</d2p1:AccountHolder>
<d2p1:AccountIdNumber>sample string 7</d2p1:AccountIdNumber>
<d2p1:AccountNumber>sample string 4</d2p1:AccountNumber>
<d2p1:AccountTypeId>6</d2p1:AccountTypeId>
<d2p1:BankId>2</d2p1:BankId>
<d2p1:BranchCode>sample string 3</d2p1:BranchCode>
<d2p1:Id>1</d2p1:Id>
</Entity>
<Message>sample string 2</Message>
<Success>true</Success>
</ResponseOfBankAccountlP_S41WJs>