POST api/User/AddOrUpdateBankDetail

Request Information

URI Parameters

None.

Body Parameters

BankDetailModel
NameDescriptionTypeAdditional information
UserID

integer

Required

AccountTitle

string

Required

AccountNumber

string

Required

IBAN

string

None.

BankName

string

None.

BranchName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "accountTitle": "sample string 1",
  "accountNumber": "sample string 2",
  "iban": "sample string 3",
  "bankName": "sample string 4",
  "branchName": "sample string 5"
}

application/xml, text/xml

Sample:
<BankDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Models">
  <AccountNumber>sample string 2</AccountNumber>
  <AccountTitle>sample string 1</AccountTitle>
  <BankName>sample string 4</BankName>
  <BranchName>sample string 5</BranchName>
  <IBAN>sample string 3</IBAN>
  <UserID>1</UserID>
</BankDetailModel>

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.