POST api/CorporateLounge/GetBalances

Request Information

URI Parameters

None.

Body Parameters

Collection of CorpAccountGeneric
NameDescriptionTypeAdditional information
AccountName

string

None.

AccountNumber

string

None.

InstitutionCode

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "AccountName": "sample string 1",
    "AccountNumber": "sample string 2",
    "InstitutionCode": "sample string 3"
  },
  {
    "AccountName": "sample string 1",
    "AccountNumber": "sample string 2",
    "InstitutionCode": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCorpAccountGeneric xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
  <CorpAccountGeneric>
    <AccountName>sample string 1</AccountName>
    <AccountNumber>sample string 2</AccountNumber>
    <InstitutionCode>sample string 3</InstitutionCode>
  </CorpAccountGeneric>
  <CorpAccountGeneric>
    <AccountName>sample string 1</AccountName>
    <AccountNumber>sample string 2</AccountNumber>
    <InstitutionCode>sample string 3</InstitutionCode>
  </CorpAccountGeneric>
</ArrayOfCorpAccountGeneric>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BalanceResponse
NameDescriptionTypeAdditional information
Account

BalanceAccount

None.

ResponseCode

string

None.

ResponseDescription

string

None.

TotalAccounts

string

None.

NoOfPages

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Account": {
    "AccountStatus": "sample string 1",
    "ResponseCode": "sample string 2",
    "PaymentMode": "sample string 3",
    "Balance": 4.0,
    "AccountName": "sample string 5",
    "AccountNumber": "sample string 6",
    "InstitutionCode": "sample string 7"
  },
  "ResponseCode": "sample string 1",
  "ResponseDescription": "sample string 2",
  "TotalAccounts": "sample string 3",
  "NoOfPages": "sample string 4"
}

application/xml, text/xml

Sample:
<BalanceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
  <NoOfPages>sample string 4</NoOfPages>
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseDescription>sample string 2</ResponseDescription>
  <TotalAccounts>sample string 3</TotalAccounts>
  <Account>
    <AccountName>sample string 5</AccountName>
    <AccountNumber>sample string 6</AccountNumber>
    <InstitutionCode>sample string 7</InstitutionCode>
    <AccountStatus>sample string 1</AccountStatus>
    <Balance>4</Balance>
    <PaymentMode>sample string 3</PaymentMode>
    <ResponseCode>sample string 2</ResponseCode>
  </Account>
</BalanceResponse>