Updates the employee's bank account with the specified ID.
PUT http:///api/v2/business/{businessId}/employee/{employeeId}/bankaccount/{id}
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| id | int32 | Required | |
| businessId | string | Required | |
| employeeId | string | Required |
The request body takes a complete SgBankAccountModel resource, containing the following writable properties:
{
"accountName": "string",
"accountNumber": "string",
"accountType": "string",
"allocateBalance": "boolean",
"allocatedPercentage": "double",
"bankSwift": "string",
"branchCode": "string",
"bsb": "string",
"canBeDeleted": "boolean",
"employeeId": "int32",
"externalReferenceId": "string",
"fixedAmount": "double",
"id": "int32",
"isEmployeeEditable": "boolean"
}
| Name | Type | Description |
|---|---|---|
| accountName | string | String |
| accountNumber | string | String |
| accountType | string |
BankAccountTypeEnum
Possible values are:
|
| allocateBalance | boolean | Boolean |
| allocatedPercentage | double |
Nullable |
| bankSwift | string | String |
| branchCode | string | String |
| bsb | string | String |
| canBeDeleted | boolean | Boolean |
| employeeId | int32 | Int32 |
| externalReferenceId | string | String |
| fixedAmount | double |
Nullable |
| id | int32 | Int32 |
| isEmployeeEditable | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK OK |
SgSaveBankAccountResponseModel |
Powered by DapperDox