Update an existing core accounts
put
/service/coreaccounts/{custAccountNo}
This endpoint is used to update an existing core accounts.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
custAccountNo: string
custAccountNo of the coreaccounts Maintenance
Header Parameters
-
sourceCode: string
includecloseandunauth need to be set to fetch summary record, defult value is false
Request body contains data required to update an existing coreaccounts
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 : CoreAccountDTO-allOf[1]
Type:
Show Source
object
-
accountClass(optional):
string
Maximum Length:
6
Account class of the external customer account. It can be Normal account or Nostro account -
acOpenDate(optional):
string
Pattern:
[0-9]{4}[-][0-9]{2}[-][0-9]{2}
The date on which account is being opened -
acStatDormant(optional):
string
Minimum Length:
1
Maximum Length:1
Pattern:[Y,N]
Indicates that the account status is dormant -
acStatFrozen(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicate that the account status is frozen -
acStatNoCr(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicates that the account does not have any credit facility -
acStatNoDr(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicates that the account does not have any debit facility -
address1(optional):
string
Minimum Length:
0
Maximum Length:105
First line of the customer?s address -
address2(optional):
string
Minimum Length:
0
Maximum Length:105
Second line of the customer?s address -
address3(optional):
string
Minimum Length:
0
Maximum Length:105
Third line of the customer?s address -
address4(optional):
string
Minimum Length:
0
Maximum Length:105
Fourth line of the customer?s address -
countryCode(optional):
string
Minimum Length:
0
Maximum Length:4
Country Code -
custAcCcy(optional):
string
Maximum Length:
3
Currency in which the account is being created -
custAccountNo:
string
Minimum Length:
1
Maximum Length:20
Pattern:[a-zA-Z0-9]+
Account number of the External customer -
custAcIban(optional):
string
Minimum Length:
0
Maximum Length:35
Pattern:[a-zA-Z0-9]+
IBAN that is linked to the customer -
custAcName:
string
Minimum Length:
0
Maximum Length:105
Pattern:[a-zA-Z0-9\s]+
Name of the account holder -
customerNo:
string
Maximum Length:
20
Customer number to which the account number is being linked -
ecaCheckReq(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicates that ECA check is required for the external customer account -
glStatBlocked(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicates that the account status is blocked -
hostCode:
string
Maximum Length:
8
The host code that is linked to the logged in user of the branch. -
sourceSystem:
string
Maximum Length:
35
Name of the source system -
sourceSystemAccBrn:
string
Maximum Length:
20
Branch to which the account belongs to -
sourceSystemAccNo:
string
Minimum Length:
0
Maximum Length:35
Pattern:[a-zA-Z0-9]+
Account number as in the source system
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated accounts
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 : CoreAccountDTO-allOf[1]
Type:
Show Source
object
-
accountClass(optional):
string
Maximum Length:
6
Account class of the external customer account. It can be Normal account or Nostro account -
acOpenDate(optional):
string
Pattern:
[0-9]{4}[-][0-9]{2}[-][0-9]{2}
The date on which account is being opened -
acStatDormant(optional):
string
Minimum Length:
1
Maximum Length:1
Pattern:[Y,N]
Indicates that the account status is dormant -
acStatFrozen(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicate that the account status is frozen -
acStatNoCr(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicates that the account does not have any credit facility -
acStatNoDr(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicates that the account does not have any debit facility -
address1(optional):
string
Minimum Length:
0
Maximum Length:105
First line of the customer?s address -
address2(optional):
string
Minimum Length:
0
Maximum Length:105
Second line of the customer?s address -
address3(optional):
string
Minimum Length:
0
Maximum Length:105
Third line of the customer?s address -
address4(optional):
string
Minimum Length:
0
Maximum Length:105
Fourth line of the customer?s address -
countryCode(optional):
string
Minimum Length:
0
Maximum Length:4
Country Code -
custAcCcy(optional):
string
Maximum Length:
3
Currency in which the account is being created -
custAccountNo:
string
Minimum Length:
1
Maximum Length:20
Pattern:[a-zA-Z0-9]+
Account number of the External customer -
custAcIban(optional):
string
Minimum Length:
0
Maximum Length:35
Pattern:[a-zA-Z0-9]+
IBAN that is linked to the customer -
custAcName:
string
Minimum Length:
0
Maximum Length:105
Pattern:[a-zA-Z0-9\s]+
Name of the account holder -
customerNo:
string
Maximum Length:
20
Customer number to which the account number is being linked -
ecaCheckReq(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicates that ECA check is required for the external customer account -
glStatBlocked(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:[Y,N]
Indicates that the account status is blocked -
hostCode:
string
Maximum Length:
8
The host code that is linked to the logged in user of the branch. -
sourceSystem:
string
Maximum Length:
35
Name of the source system -
sourceSystemAccBrn:
string
Maximum Length:
20
Branch to which the account belongs to -
sourceSystemAccNo:
string
Minimum Length:
0
Maximum Length:35
Pattern:[a-zA-Z0-9]+
Account number as in the source system
Nested Schema : items
Type:
object
400 Response
Bad request error, the server is unable to process the request
401 Response
Unauthorized request error, invalid credentials
403 Response
Request denied, no permission to access the request.
405 Response
Request denied, invalid input.
500 Response
Internal server error.