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: 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
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
-
object
CoreAccountDTO-allOf[1]
Nested Schema : GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
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
-
acOpenDate(optional):
string
-
acStatDormant(optional):
string
-
acStatFrozen(optional):
string
-
acStatNoCr(optional):
string
-
acStatNoDr(optional):
string
-
address1(optional):
string
-
address2(optional):
string
-
address3(optional):
string
-
address4(optional):
string
-
countryCode(optional):
string
-
custAcCcy(optional):
string
-
custAccountNo(optional):
string
-
custAcIban(optional):
string
-
custAcName(optional):
string
-
customerNo(optional):
string
-
ecaCheckReq(optional):
string
-
glStatBlocked(optional):
string
-
hostCode(optional):
string
-
sourceSystem(optional):
string
-
sourceSystemAccBrn(optional):
string
-
sourceSystemAccNo(optional):
string
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created coreaccounts
Root Schema : CoreAccountServiceResponseDtoWrapper
Type:
Show Source
object
-
data(optional):
object CoreAccountDTO
-
messages(optional):
object ResponseDto
ResponseDto stores the response status and code.
Nested Schema : CoreAccountDTO
Type:
object
Match All
Show Source
-
allOf
GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
-
object
CoreAccountDTO-allOf[1]
Nested Schema : ResponseDto
Type:
object
ResponseDto stores the response status and code.
Show Source
Nested Schema : GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
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
-
acOpenDate(optional):
string
-
acStatDormant(optional):
string
-
acStatFrozen(optional):
string
-
acStatNoCr(optional):
string
-
acStatNoDr(optional):
string
-
address1(optional):
string
-
address2(optional):
string
-
address3(optional):
string
-
address4(optional):
string
-
countryCode(optional):
string
-
custAcCcy(optional):
string
-
custAccountNo(optional):
string
-
custAcIban(optional):
string
-
custAcName(optional):
string
-
customerNo(optional):
string
-
ecaCheckReq(optional):
string
-
glStatBlocked(optional):
string
-
hostCode(optional):
string
-
sourceSystem(optional):
string
-
sourceSystemAccBrn(optional):
string
-
sourceSystemAccNo(optional):
string
Nested Schema : codes
Type:
Show Source
array
-
Array of:
object ResponseCode
ResponseCode stores the response details.
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