Previous Next JavaScript must be enabled to correctly display this content

## Reopen the core accounts by given customer account number

patch

/service/coreaccounts/{custAccountNo}/reopen

This endpoint is used to reopen the core accounts identified by given customer account number.

### 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

Body ()
Request body contain coreaccounts and Modification no of coreaccounts maintenance which need to be reopen"
Root Schema : ReOpenDto
Type: `object`
Show Source

- modNo(optional): integer
- remarks(optional): string

    {
        "type":"object",
        "properties":{
            "modNo":{
                "type":"integer"
            },
            "remarks":{
                "type":"string"
            }
        }
    }

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 200 Response

Successful operation.
Body ()
Root Schema : CoreAccountServiceResponseDtoWrapper
Type: `object`
Show Source

- data(optional): object CoreAccountDTO
- messages(optional): object ResponseDto

    {
        "type":"object",
        "properties":{
            "messages":{
                "$ref":"#/definitions/ResponseDto"
            },
            "data":{
                "$ref":"#/definitions/CoreAccountDTO"
            }
        }
    }

Nested Schema : CoreAccountDTO
Type: `object`
Match All
Show Source

- allOf GenericDto
- object CoreAccountDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "countryCode":{
                        "type":"string",
                        "description":"Country Code",
                        "minLength":0,
                        "maxLength":4
                    },
                    "address4":{
                        "type":"string",
                        "description":"Fourth line of the customer?s address",
                        "minLength":0,
                        "maxLength":105
                    },
                    "address3":{
                        "type":"string",
                        "description":"Third line of the customer?s address",
                        "minLength":0,
                        "maxLength":105
                    },
                    "address2":{
                        "type":"string",
                        "description":"Second line of the customer?s address",
                        "minLength":0,
                        "maxLength":105
                    },
                    "address1":{
                        "type":"string",
                        "description":"First line of the customer?s address",
                        "minLength":0,
                        "maxLength":105
                    },
                    "ecaCheckReq":{
                        "type":"string",
                        "description":"Indicates that ECA check is required for the external customer account",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "accountClass":{
                        "type":"string",
                        "description":"Account class of the external customer account. It can be Normal account or Nostro account"
                    },
                    "acStatDormant":{
                        "type":"string",
                        "description":"Indicates that the account status is dormant",
                        "minLength":1,
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "acStatFrozen":{
                        "type":"string",
                        "description":"Indicate that the account status is frozen",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "glStatBlocked":{
                        "type":"string",
                        "description":"Indicates that the account status is blocked",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "acStatNoDr":{
                        "type":"string",
                        "description":"Indicates that the account does not have any debit facility",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "acStatNoCr":{
                        "type":"string",
                        "description":"Indicates that the account does not have any credit facility",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "acOpenDate":{
                        "type":"string",
                        "pattern":"[0-9]{4}[-][0-9]{2}[-][0-9]{2}",
                        "description":"The date on which account is being opened"
                    },
                    "custAcName":{
                        "type":"string",
                        "description":"Name of the account holder",
                        "minLength":0,
                        "maxLength":105,
                        "pattern":"[a-zA-Z0-9\\s]+"
                    },
                    "custAcCcy":{
                        "type":"string",
                        "description":"Currency in which the account is being created"
                    },
                    "customerNo":{
                        "type":"string",
                        "description":"Customer number to which the account number is being linked"
                    },
                    "sourceSystemAccBrn":{
                        "type":"string",
                        "description":"Branch to which the account belongs to"
                    },
                    "sourceSystemAccNo":{
                        "type":"string",
                        "description":"Account number as in the source system",
                        "minLength":0,
                        "maxLength":35,
                        "pattern":"[a-zA-Z0-9]+"
                    },
                    "sourceSystem":{
                        "type":"string",
                        "description":"Name of the source system"
                    },
                    "custAcIban":{
                        "type":"string",
                        "description":"IBAN that is linked to the customer",
                        "minLength":0,
                        "maxLength":35,
                        "pattern":"[a-zA-Z0-9]+"
                    },
                    "hostCode":{
                        "type":"string",
                        "description":"The host code that is linked to the logged in user of the branch."
                    },
                    "custAccountNo":{
                        "type":"string",
                        "description":"Account number of the External customer",
                        "minLength":1,
                        "maxLength":20,
                        "pattern":"[a-zA-Z0-9]+"
                    }
                }
            }
        ]
    }

Nested Schema : ResponseDto
Type: `object`
Show Source

- codes(optional): array codes
- id(optional): string
- requestId(optional): string
- status(optional): string

    {
        "type":"object",
        "properties":{
            "id":{
                "type":"string"
            },
            "status":{
                "type":"string"
            },
            "codes":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/ResponseCode"
                }
            },
            "requestId":{
                "type":"string"
            }
        }
    }

Nested Schema : GenericDto
Match All
Show Source

- object GenericDto-allOf[0]
  Discriminator: `resource_type`

    {
        "allOf":[
            {
                "type":"object",
                "discriminator":"resource_type"
            }
        ]
    }

Nested Schema : GenericDto-allOf[0]
Type: `object`
Discriminator: `resource_type`
Nested Schema : CoreAccountDTO-allOf[1]
Type: `object`
Show Source

- accountClass(optional): string
  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
  Currency in which the account is being created
- custAccountNo(optional): 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(optional): string
  Minimum Length: `0`
  Maximum Length: `105`
  Pattern: `[a-zA-Z0-9\s]+`
  Name of the account holder
- customerNo(optional): string
  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(optional): string
  The host code that is linked to the logged in user of the branch.
- sourceSystem(optional): string
  Name of the source system
- sourceSystemAccBrn(optional): string
  Branch to which the account belongs to
- sourceSystemAccNo(optional): string
  Minimum Length: `0`
  Maximum Length: `35`
  Pattern: `[a-zA-Z0-9]+`
  Account number as in the source system

    {
        "type":"object",
        "properties":{
            "countryCode":{
                "type":"string",
                "description":"Country Code",
                "minLength":0,
                "maxLength":4
            },
            "address4":{
                "type":"string",
                "description":"Fourth line of the customer?s address",
                "minLength":0,
                "maxLength":105
            },
            "address3":{
                "type":"string",
                "description":"Third line of the customer?s address",
                "minLength":0,
                "maxLength":105
            },
            "address2":{
                "type":"string",
                "description":"Second line of the customer?s address",
                "minLength":0,
                "maxLength":105
            },
            "address1":{
                "type":"string",
                "description":"First line of the customer?s address",
                "minLength":0,
                "maxLength":105
            },
            "ecaCheckReq":{
                "type":"string",
                "description":"Indicates that ECA check is required for the external customer account",
                "minLength":0,
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "accountClass":{
                "type":"string",
                "description":"Account class of the external customer account. It can be Normal account or Nostro account"
            },
            "acStatDormant":{
                "type":"string",
                "description":"Indicates that the account status is dormant",
                "minLength":1,
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "acStatFrozen":{
                "type":"string",
                "description":"Indicate that the account status is frozen",
                "minLength":0,
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "glStatBlocked":{
                "type":"string",
                "description":"Indicates that the account status is blocked",
                "minLength":0,
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "acStatNoDr":{
                "type":"string",
                "description":"Indicates that the account does not have any debit facility",
                "minLength":0,
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "acStatNoCr":{
                "type":"string",
                "description":"Indicates that the account does not have any credit facility",
                "minLength":0,
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "acOpenDate":{
                "type":"string",
                "pattern":"[0-9]{4}[-][0-9]{2}[-][0-9]{2}",
                "description":"The date on which account is being opened"
            },
            "custAcName":{
                "type":"string",
                "description":"Name of the account holder",
                "minLength":0,
                "maxLength":105,
                "pattern":"[a-zA-Z0-9\\s]+"
            },
            "custAcCcy":{
                "type":"string",
                "description":"Currency in which the account is being created"
            },
            "customerNo":{
                "type":"string",
                "description":"Customer number to which the account number is being linked"
            },
            "sourceSystemAccBrn":{
                "type":"string",
                "description":"Branch to which the account belongs to"
            },
            "sourceSystemAccNo":{
                "type":"string",
                "description":"Account number as in the source system",
                "minLength":0,
                "maxLength":35,
                "pattern":"[a-zA-Z0-9]+"
            },
            "sourceSystem":{
                "type":"string",
                "description":"Name of the source system"
            },
            "custAcIban":{
                "type":"string",
                "description":"IBAN that is linked to the customer",
                "minLength":0,
                "maxLength":35,
                "pattern":"[a-zA-Z0-9]+"
            },
            "hostCode":{
                "type":"string",
                "description":"The host code that is linked to the logged in user of the branch."
            },
            "custAccountNo":{
                "type":"string",
                "description":"Account number of the External customer",
                "minLength":1,
                "maxLength":20,
                "pattern":"[a-zA-Z0-9]+"
            }
        }
    }

Nested Schema : codes
Type: `array`
Show Source

- Array of: object ResponseCode

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/ResponseCode"
        }
    }

Nested Schema : ResponseCode
Type: `object`
Show Source

- arg(optional): string
- args(optional): array args
- Code(optional): string
- Desc(optional): string
- Language(optional): string
- Type(optional): string

    {
        "type":"object",
        "properties":{
            "Code":{
                "type":"string"
            },
            "Desc":{
                "type":"string"
            },
            "Type":{
                "type":"string"
            },
            "Language":{
                "type":"string"
            },
            "args":{
                "type":"array",
                "items":{
                    "type":"object"
                }
            },
            "arg":{
                "type":"string"
            }
        }
    }

Nested Schema : args
Type: `array`
Show Source

- Array of: object items

    {
        "type":"array",
        "items":{
            "type":"object"
        }
    }

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
Back to Top