POST api/Accounts/InsertBankAccount?userId={userId}&isOpen={isOpen}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| isOpen | boolean |
Required |
Body Parameters
BankAccountsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BankAccountID | integer |
None. |
|
| AccountTitle | string |
None. |
|
| AccountNo | string |
None. |
|
| BankName | string |
None. |
|
| BranchCode | string |
None. |
|
| BranchName | string |
None. |
|
| AccountID | string |
None. |
|
| Bank | string |
None. |
|
| DebitLimit | decimal number |
None. |
|
| CreditLimit | decimal number |
None. |
|
| ParentAccountNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BankAccountID": 1,
"AccountTitle": "sample string 2",
"AccountNo": "sample string 3",
"BankName": "sample string 4",
"BranchCode": "sample string 5",
"BranchName": "sample string 6",
"AccountID": "sample string 7",
"Bank": "sample string 8",
"DebitLimit": 9.0,
"CreditLimit": 10.0,
"ParentAccountNo": "sample string 11"
}
application/xml, text/xml
Sample:
<BankAccountsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RiceMillsERP_API.Models"> <AccountID>sample string 7</AccountID> <AccountNo>sample string 3</AccountNo> <AccountTitle>sample string 2</AccountTitle> <Bank>sample string 8</Bank> <BankAccountID>1</BankAccountID> <BankName>sample string 4</BankName> <BranchCode>sample string 5</BranchCode> <BranchName>sample string 6</BranchName> <CreditLimit>10</CreditLimit> <DebitLimit>9</DebitLimit> <ParentAccountNo>sample string 11</ParentAccountNo> </BankAccountsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |