POST api/Company/CreateCompanyBank

Request Information

URI Parameters

None.

Body Parameters

SaveCompanyBankMobileRequest
NameDescriptionTypeAdditional information
CompanyId

decimal number

None.

BankId

decimal number

None.

AccountNumber

string

None.

Description

string

None.

CurrencyId

decimal number

None.

IsDefault

boolean

None.

SwiftCode

string

None.

BranchCode

string

None.

BranchName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1.0,
  "BankId": 2.0,
  "AccountNumber": "sample string 3",
  "Description": "sample string 4",
  "CurrencyId": 5.0,
  "IsDefault": true,
  "SwiftCode": "sample string 7",
  "BranchCode": "sample string 8",
  "BranchName": "sample string 9"
}

application/xml, text/xml

Sample:
<SaveCompanyBankMobileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
  <AccountNumber>sample string 3</AccountNumber>
  <BankId>2</BankId>
  <BranchCode>sample string 8</BranchCode>
  <BranchName>sample string 9</BranchName>
  <CompanyId>1</CompanyId>
  <CurrencyId>5</CurrencyId>
  <Description>sample string 4</Description>
  <IsDefault>true</IsDefault>
  <SwiftCode>sample string 7</SwiftCode>
</SaveCompanyBankMobileRequest>

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 'SaveCompanyBankMobileRequest'.

Response Information

Resource Description

SaveCompanyBankMobileResponse
NameDescriptionTypeAdditional information
Result

ResultType

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": 0,
  "ErrorMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<SaveCompanyBankMobileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
  <_x003C_ErrorMessage_x003E_k__BackingField>sample string 1</_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Result_x003E_k__BackingField>Success</_x003C_Result_x003E_k__BackingField>
</SaveCompanyBankMobileResponse>