Adds a new core accounts
post
/service/coreaccounts
This endpoint is used to add a new core accounts.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
sourceCode(required): string
Source from which request is initiated
Request Body that contains data required for creating a new coreaccounts
Root Schema : CoreAccountDTO
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
CoreAccountDTO-allOf[1]
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:
string
Pattern:
[6,7,1]
-
acOpenDate:
string(date)
-
acStatDormant:
string
Pattern:
[Y,N]
-
acStatFrozen:
string
Pattern:
[Y,N]
-
acStatNoCr:
string
Pattern:
[Y,N]
-
acStatNoDr:
string
Pattern:
[Y,N]
-
address1:
string
Minimum Length:
0
Maximum Length:105
-
address2:
string
Minimum Length:
0
Maximum Length:105
-
address3:
string
Minimum Length:
0
Maximum Length:105
-
address4:
string
Minimum Length:
0
Maximum Length:105
-
countryCode:
string
-
custAcCcy(required):
string
-
custAccountNo(required):
string
Minimum Length:
1
Maximum Length:20
Pattern:[a-zA-Z0-9]+
-
custAcIban:
string
Minimum Length:
0
Maximum Length:35
Pattern:[a-zA-Z0-9]+
-
custAcName(required):
string
Minimum Length:
0
Maximum Length:105
Pattern:[a-zA-Z0-9]+
-
customerNo(required):
string
-
ecaCheckReq:
string
Pattern:
[Y,N]
-
glStatBlocked:
string
Pattern:
[Y,N]
-
hostCode(required):
string
-
sourceSystem(required):
string
-
sourceSystemAccBrn(required):
string
-
sourceSystemAccNo(required):
string
Minimum Length:
0
Maximum Length:35
Pattern:[a-zA-Z0-9]+
Response
Supported Media Types
- application/json
- application/xml
- text/csv
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created coreaccounts
Root Schema : CoreAccountServiceResponseDtoWrapper
Type:
Show Source
object
-
data:
object CoreAccountDTO
-
messages:
object ResponseDto
Nested Schema : CoreAccountDTO
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
CoreAccountDTO-allOf[1]
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes:
array codes
-
id:
string
-
requestId:
string
-
status:
string
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:
string
Pattern:
[6,7,1]
-
acOpenDate:
string(date)
-
acStatDormant:
string
Pattern:
[Y,N]
-
acStatFrozen:
string
Pattern:
[Y,N]
-
acStatNoCr:
string
Pattern:
[Y,N]
-
acStatNoDr:
string
Pattern:
[Y,N]
-
address1:
string
Minimum Length:
0
Maximum Length:105
-
address2:
string
Minimum Length:
0
Maximum Length:105
-
address3:
string
Minimum Length:
0
Maximum Length:105
-
address4:
string
Minimum Length:
0
Maximum Length:105
-
countryCode:
string
-
custAcCcy(required):
string
-
custAccountNo(required):
string
Minimum Length:
1
Maximum Length:20
Pattern:[a-zA-Z0-9]+
-
custAcIban:
string
Minimum Length:
0
Maximum Length:35
Pattern:[a-zA-Z0-9]+
-
custAcName(required):
string
Minimum Length:
0
Maximum Length:105
Pattern:[a-zA-Z0-9]+
-
customerNo(required):
string
-
ecaCheckReq:
string
Pattern:
[Y,N]
-
glStatBlocked:
string
Pattern:
[Y,N]
-
hostCode(required):
string
-
sourceSystem(required):
string
-
sourceSystemAccBrn(required):
string
-
sourceSystemAccNo(required):
string
Minimum Length:
0
Maximum Length:35
Pattern:[a-zA-Z0-9]+
Nested Schema : ResponseCode
Type:
Show Source
object
-
arg:
string
-
args:
array args
-
Code:
string
-
Desc:
string
-
Language:
string
-
Type:
string
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