| GET | /Crm/Company/Branch/BankAccount/{Id} | ||
|---|---|---|---|
| GET | /Crm/Company/Branch/{BranchId}/BankAccount |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | int? | No | |
| BranchId | path | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<CompanyBankAccount> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| BranchId | form | int | No | |
| BankId | form | string | No | |
| Account | form | string | No | |
| Note | form | string | No | |
| IsDefault | form | bool | No | |
| IntermediaryBankId | form | string | No | |
| IntermediaryAccount | form | string | No | |
| CurrencyId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Crm/Company/Branch/BankAccount/{Id} HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Result:
[
{
Id: 0,
BranchId: 0,
BankId: String,
Account: String,
Note: String,
IsDefault: False,
IntermediaryBankId: String,
IntermediaryAccount: String,
CurrencyId: String
}
]
}