POST api/Account/AddBankUPI

For Creating Account, If any invalid data passed, then it will return HttpStatusCode - 412

Request Information

URI Parameters

None.

Body Parameters

UserBankAccounts
NameDescriptionTypeAdditional information
ThroughUPIorBank

string

None.

UserID

integer

None.

UPIID

string

None.

BankingName

string

None.

AccountNo

string

None.

IFSCCode

string

None.

Message

string

None.

Error

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ThroughUPIorBank": "sample string 1",
  "UserID": 2,
  "UPIID": "sample string 3",
  "BankingName": "sample string 4",
  "AccountNo": "sample string 5",
  "IFSCCode": "sample string 6",
  "Message": "sample string 7",
  "Error": "sample string 8"
}

application/xml, text/xml

Sample:
<UserBankAccounts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models.DbEntities">
  <AccountNo>sample string 5</AccountNo>
  <BankingName>sample string 4</BankingName>
  <Error>sample string 8</Error>
  <IFSCCode>sample string 6</IFSCCode>
  <Message>sample string 7</Message>
  <ThroughUPIorBank>sample string 1</ThroughUPIorBank>
  <UPIID>sample string 3</UPIID>
  <UserID>2</UserID>
</UserBankAccounts>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.