Update an existing core banks
put
/service/corebanks/{bankCode}
This endpoint is used to update an existing core banks.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
bankCode: string
bankCode of the corebranchs Maintenance
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for updating an existing corebanks
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CoreBankDTO-allOf[1]
Type:
Show Source
object
-
bankCode:
string
Minimum Length:
3
Maximum Length:4
Pattern:^[a-zA-Z0-9]+$
Bank Code -
bankName(optional):
string
Minimum Length:
0
Maximum Length:35
Pattern:^[a-zA-Z0-9\s]+$
Name of the Bank. -
daysToForgetCustomer(optional):
number
Maximum Length:
4
Number of days after which the data of customer will be deleted from the database. -
hoBranch:
string
head Office Branch.
Response
Supported Media Types
- application/json
- application/xml
- text/csv
200 Response
Returns updated corebanks
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CoreBankDTO-allOf[1]
Type:
Show Source
object
-
bankCode:
string
Minimum Length:
3
Maximum Length:4
Pattern:^[a-zA-Z0-9]+$
Bank Code -
bankName(optional):
string
Minimum Length:
0
Maximum Length:35
Pattern:^[a-zA-Z0-9\s]+$
Name of the Bank. -
daysToForgetCustomer(optional):
number
Maximum Length:
4
Number of days after which the data of customer will be deleted from the database. -
hoBranch:
string
head Office Branch.
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error