GET api/Bank/{employeeNo}/{sortCode}/{accountNumber}

Get a specific Bank record for an employee. The key is the sort code and account number

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeNo

Employee Number

string

Required

sortCode

Sort code

string

Required

accountNumber

Account Number

string

Required

Body Parameters

None.

Response Information

Resource Description

Bank

BankDetail
NameDescriptionTypeAdditional information
EmployeeBankID

integer

None.

AccountName

string

Required

AccountNumber

Must be 8 digits or more

string

Required

SortCode

Must be 6 digits

string

Required

RollNumber

string

None.

BankName

string

None.

Response Formats

application/json, text/json

Sample:
{
    "EmployeeBankID": 1467,
    "AccountName": "RICHARDBANK",
    "AccountNumber": "17380536",
    "SortCode": "111210",
    "RollNumber": "",
    "BankName": "Example Bank"
}

application/xml, text/xml

Sample:
<BankDetail>
  <AccountName>RICHARDBANK</AccountName>
  <AccountNumber>17380536</AccountNumber>
  <BankName>Example Bank</BankName>
  <EmployeeBankID>1467</EmployeeBankID>
  <RollNumber></RollNumber>
  <SortCode>111210</SortCode>
</BankDetail>