POST Banks/Banks_Insert

Request Information

URI Parameters

None.

Body Parameters

Bank
NameDescriptionTypeAdditional information
BankId

integer

None.

BankNumber

integer

None.

BankPrimaryName

string

None.

BankSecondaryName

string

None.

BankGroup

string

None.

IsActive

boolean

None.

Error

string

None.

CompanyID

integer

None.

BranchId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BankId": 1,
  "BankNumber": 2,
  "BankPrimaryName": "sample string 3",
  "BankSecondaryName": "sample string 4",
  "BankGroup": "sample string 5",
  "IsActive": true,
  "Error": "sample string 7",
  "CompanyID": 8,
  "BranchId": 9
}

application/xml, text/xml

Sample:
<Bank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO">
  <BankGroup>sample string 5</BankGroup>
  <BankId>1</BankId>
  <BankNumber>2</BankNumber>
  <BankPrimaryName>sample string 3</BankPrimaryName>
  <BankSecondaryName>sample string 4</BankSecondaryName>
  <BranchId>9</BranchId>
  <CompanyID>8</CompanyID>
  <Error>sample string 7</Error>
  <IsActive>true</IsActive>
</Bank>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>