POST api/AccountsRest

Request Information

URI Parameters

None.

Body Parameters

Account
NameDescriptionTypeAdditional information
CustomerID

integer

None.

AccountID

integer

None.

AccountName

string

None.

AccountBalance

integer

None.

AccountType

integer

None.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>