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
BankAccountsModelName | Description | Type | Additional information |
---|---|---|---|
BankAccountID | integer |
None. |
|
AccountTitle | string |
None. |
|
BankName | string |
None. |
|
BranchCode | string |
None. |
|
BranchName | string |
None. |
|
AccountID | string |
None. |
|
Bank | string |
None. |
|
AccountTitleInUrdu | string |
None. |
|
OfficeID | integer |
None. |
|
ParentAccountNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "BankAccountID": 1, "AccountTitle": "sample string 2", "BankName": "sample string 3", "BranchCode": "sample string 4", "BranchName": "sample string 5", "AccountID": "sample string 6", "Bank": "sample string 7", "AccountTitleInUrdu": "sample string 8", "OfficeID": 9, "ParentAccountNo": 10 }
application/xml, text/xml
Sample:
<BankAccountsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models"> <AccountID>sample string 6</AccountID> <AccountTitle>sample string 2</AccountTitle> <AccountTitleInUrdu>sample string 8</AccountTitleInUrdu> <Bank>sample string 7</Bank> <BankAccountID>1</BankAccountID> <BankName>sample string 3</BankName> <BranchCode>sample string 4</BranchCode> <BranchName>sample string 5</BranchName> <OfficeID>9</OfficeID> <ParentAccountNo>10</ParentAccountNo> </BankAccountsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |