GET api/AccountsRest/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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
}

application/xml, text/xml

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