Close the core accounts by given custAccountNo
patch
/service/coreaccounts/{custAccountNo}/close
This endpoint is used to close the core accounts identified by given custAccountNo.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
custAccountNo: string
Key of the coreaccounts maintenance
Header Parameters
-
sourceCode: string
includecloseandunauth need to be set to fetch summary record, defult value is false
Request body contain coreaccounts and Modification no of coreaccounts maintenance which need to be closed"
Response
Supported Media Types
- application/json
- application/xml
200 Response
Successful operation.
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.
500 Response
Internal error