GET api/AccountsRest

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Account
NameDescriptionTypeAdditional information
CustomerID

integer

None.

AccountID

integer

None.

AccountName

string

None.

AccountBalance

integer

None.

AccountType

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerID": 1,
    "AccountID": 2,
    "AccountName": "sample string 3",
    "AccountBalance": 4,
    "AccountType": 5
  },
  {
    "CustomerID": 1,
    "AccountID": 2,
    "AccountName": "sample string 3",
    "AccountBalance": 4,
    "AccountType": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models">
  <Account>
    <AccountBalance>4</AccountBalance>
    <AccountID>2</AccountID>
    <AccountName>sample string 3</AccountName>
    <AccountType>5</AccountType>
    <CustomerID>1</CustomerID>
  </Account>
  <Account>
    <AccountBalance>4</AccountBalance>
    <AccountID>2</AccountID>
    <AccountName>sample string 3</AccountName>
    <AccountType>5</AccountType>
    <CustomerID>1</CustomerID>
  </Account>
</ArrayOfAccount>