POST api/PerformaInvoice/CreateBankAccount

Create Bank Account

Request Information

URI Parameters

None.

Body Parameters

m_Bank
NameDescriptionTypeAdditional information
BeneficiaryName

string

Required

BeneficiaryAddress

string

Required

BeneficiaryAccount

string

Required

Max length: 30

SwiftCode

string

Required

Max length: 30

BankName

string

Required

Max length: 30

BankAddress

string

Required

Request Formats

application/json, text/json

Sample:
{
  "BeneficiaryName": "sample string 1",
  "BeneficiaryAddress": "sample string 2",
  "BeneficiaryAccount": "sample string 3",
  "SwiftCode": "sample string 4",
  "BankName": "sample string 5",
  "BankAddress": "sample string 6"
}

application/xml, text/xml

Sample:
<m_Bank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Planning_Department.Proforma_Invoce">
  <BankAddress>sample string 6</BankAddress>
  <BankName>sample string 5</BankName>
  <BeneficiaryAccount>sample string 3</BeneficiaryAccount>
  <BeneficiaryAddress>sample string 2</BeneficiaryAddress>
  <BeneficiaryName>sample string 1</BeneficiaryName>
  <SwiftCode>sample string 4</SwiftCode>
</m_Bank>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'm_Bank'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.