POST api/CorporateLounge/AddAccount

Request Information

URI Parameters

None.

Body Parameters

Collection of CorpAccount
NameDescriptionTypeAdditional information
PaymentMode

string

None.

Email

string

None.

AccountName

string

None.

AccountNumber

string

None.

InstitutionCode

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CorpResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseDescription

string

None.

TotalAccounts

string

None.

NoOfPages

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseDescription": "sample string 2",
  "TotalAccounts": "sample string 3",
  "NoOfPages": "sample string 4"
}

application/xml, text/xml

Sample:
<CorpResponse 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>
</CorpResponse>