Previous Next JavaScript must be enabled to correctly display this content

## Adds a new reallocation details

post

/interestpaidreport/saveReallocationDetails

This endpoint is used to add new reallocation details.

### Request

Supported Media Types

- application/json
- application/xml

Body ()
Request Body that contains data required for creating a new interestpaidreport
Root Schema : ReallocationDetailsDTO
Type: `object`
Match All
Show Source

- allOf GenericDto
- object ReallocationDetailsDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "executionId":{
                        "type":"string",
                        "description":"",
                        "maxLength":36
                    },
                    "structureId":{
                        "type":"string",
                        "description":"",
                        "pattern":"[A-Z0-9]{1,30}"
                    },
                    "versionNo":{
                        "type":"integer",
                        "description":""
                    },
                    "fromAcc":{
                        "type":"string",
                        "description":"",
                        "maxLength":50
                    },
                    "fromAccBranch":{
                        "type":"string",
                        "description":"",
                        "maxLength":5
                    },
                    "fromAccCcy":{
                        "type":"string",
                        "description":"",
                        "maxLength":3
                    },
                    "toAcc":{
                        "type":"string",
                        "description":"",
                        "maxLength":50
                    },
                    "toAccBranch":{
                        "type":"string",
                        "description":"",
                        "maxLength":5
                    },
                    "toAccCcy":{
                        "type":"string",
                        "description":"",
                        "maxLength":3
                    },
                    "executionTime":{
                        "type":"string",
                        "description":""
                    },
                    "status":{
                        "type":"string",
                        "description":"",
                        "maxLength":1
                    },
                    "statusMsg":{
                        "type":"string",
                        "description":"",
                        "maxLength":256
                    },
                    "valueDate":{
                        "type":"string",
                        "description":""
                    },
                    "errorRef":{
                        "type":"string",
                        "description":""
                    },
                    "customerId":{
                        "type":"string",
                        "description":"",
                        "pattern":"[a-zA-Z0-9]{1,20}"
                    },
                    "bvtId":{
                        "type":"integer",
                        "description":""
                    },
                    "isBVT":{
                        "type":"string",
                        "description":"",
                        "maxLength":1
                    },
                    "liqCcy":{
                        "type":"string",
                        "description":"",
                        "maxLength":3
                    },
                    "liqAmnt":{
                        "type":"number",
                        "description":""
                    },
                    "isSim":{
                        "type":"string",
                        "description":"",
                        "maxLength":1
                    },
                    "isExisting":{
                        "type":"string",
                        "description":"",
                        "maxLength":1
                    },
                    "strMasterId":{
                        "type":"string",
                        "description":""
                    },
                    "ReallocationLogDTO":{
                        "type":"array",
                        "items":{
                            "$ref":"#/definitions/ReallocationLogDTO"
                        }
                    }
                }
            }
        ]
    }

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 : ReallocationDetailsDTO-allOf[1]
Type: `object`
Show Source

- bvtId(optional): integer
- customerId(optional): string
  Pattern: `[a-zA-Z0-9]{1,20}`
- errorRef(optional): string
- executionId(optional): string
  Maximum Length: `36`
- executionTime(optional): string
- fromAcc(optional): string
  Maximum Length: `50`
- fromAccBranch(optional): string
  Maximum Length: `5`
- fromAccCcy(optional): string
  Maximum Length: `3`
- isBVT(optional): string
  Maximum Length: `1`
- isExisting(optional): string
  Maximum Length: `1`
- isSim(optional): string
  Maximum Length: `1`
- liqAmnt(optional): number
- liqCcy(optional): string
  Maximum Length: `3`
- ReallocationLogDTO(optional): array ReallocationLogDTO
- status(optional): string
  Maximum Length: `1`
- statusMsg(optional): string
  Maximum Length: `256`
- strMasterId(optional): string
- structureId(optional): string
  Pattern: `[A-Z0-9]{1,30}`
- toAcc(optional): string
  Maximum Length: `50`
- toAccBranch(optional): string
  Maximum Length: `5`
- toAccCcy(optional): string
  Maximum Length: `3`
- valueDate(optional): string
- versionNo(optional): integer

    {
        "type":"object",
        "properties":{
            "executionId":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "structureId":{
                "type":"string",
                "description":"",
                "pattern":"[A-Z0-9]{1,30}"
            },
            "versionNo":{
                "type":"integer",
                "description":""
            },
            "fromAcc":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "fromAccBranch":{
                "type":"string",
                "description":"",
                "maxLength":5
            },
            "fromAccCcy":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "toAcc":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "toAccBranch":{
                "type":"string",
                "description":"",
                "maxLength":5
            },
            "toAccCcy":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "executionTime":{
                "type":"string",
                "description":""
            },
            "status":{
                "type":"string",
                "description":"",
                "maxLength":1
            },
            "statusMsg":{
                "type":"string",
                "description":"",
                "maxLength":256
            },
            "valueDate":{
                "type":"string",
                "description":""
            },
            "errorRef":{
                "type":"string",
                "description":""
            },
            "customerId":{
                "type":"string",
                "description":"",
                "pattern":"[a-zA-Z0-9]{1,20}"
            },
            "bvtId":{
                "type":"integer",
                "description":""
            },
            "isBVT":{
                "type":"string",
                "description":"",
                "maxLength":1
            },
            "liqCcy":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "liqAmnt":{
                "type":"number",
                "description":""
            },
            "isSim":{
                "type":"string",
                "description":"",
                "maxLength":1
            },
            "isExisting":{
                "type":"string",
                "description":"",
                "maxLength":1
            },
            "strMasterId":{
                "type":"string",
                "description":""
            },
            "ReallocationLogDTO":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/ReallocationLogDTO"
                }
            }
        }
    }

Nested Schema : ReallocationLogDTO
Type: `array`
Show Source

- Array of: object ReallocationLogDTO

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

Nested Schema : ReallocationLogDTO
Type: `object`
Show Source

- amount(optional): number
- customerId(optional): string
  Pattern: `[a-zA-Z0-9]{1,20}`
- executionId(optional): string
  Maximum Length: `36`
- exMode(optional): string
  Maximum Length: `10`
- extTransactionNo(optional): string
  Maximum Length: `50`
- fromAccountBal(optional): number
- fromAccountBalance(optional): number
- fromAccountBranch(optional): string
  Maximum Length: `3`
- fromAccountNumber(optional): string
  Maximum Length: `20`
- fromAccPostBal(optional): number
- fromAmount(optional): number
- fromBicCode(optional): string
  Maximum Length: `30`
- fromBranchCode(optional): string
- fromCurrencyCode(optional): string
  Maximum Length: `3`
- fxRate(optional): number
- isExisting(optional): string
  Maximum Length: `1`
- isSimulate(optional): string
  Maximum Length: `1`
- isTwoway(optional): string
  Maximum Length: `1`
- logTime(optional): string
- paramName(optional): string
  Maximum Length: `50`
- reallocationDetailMasterId(optional): string
  Maximum Length: `36`
- reallocationMasterId(optional): string
- status(optional): string
  Maximum Length: `1`
- statusMessage(optional): string
  Maximum Length: `250`
- structureId(optional): string
  Pattern: `[A-Z0-9]{1,30}`
- toAccountBal(optional): number
- toAccountBalance(optional): number
- toAccountBranch(optional): string
  Maximum Length: `3`
- toAccountNumber(optional): string
  Maximum Length: `20`
- toAccPostBal(optional): number
- toAmount(optional): number
- toBicCode(optional): string
  Maximum Length: `30`
- toBranchCode(optional): string
- toCurrencyCode(optional): string
  Maximum Length: `3`
- valueDate(optional): string
- versionNo(optional): number

    {
        "type":"object",
        "properties":{
            "structureId":{
                "type":"string",
                "description":"",
                "pattern":"[A-Z0-9]{1,30}"
            },
            "fromAccountNumber":{
                "type":"string",
                "description":"",
                "maxLength":20
            },
            "fromCurrencyCode":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "fromAccountBranch":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "fromAccountBal":{
                "type":"number",
                "description":""
            },
            "toAccountNumber":{
                "type":"string",
                "description":"",
                "maxLength":20
            },
            "toCurrencyCode":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "toAccountBranch":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "toAccountBal":{
                "type":"number",
                "description":""
            },
            "amount":{
                "type":"number",
                "description":""
            },
            "logTime":{
                "type":"string",
                "description":""
            },
            "status":{
                "type":"string",
                "description":"",
                "maxLength":1
            },
            "statusMessage":{
                "type":"string",
                "description":"",
                "maxLength":250
            },
            "extTransactionNo":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "valueDate":{
                "type":"string",
                "description":""
            },
            "versionNo":{
                "type":"number",
                "description":""
            },
            "paramName":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "fromAmount":{
                "type":"number",
                "description":""
            },
            "toAmount":{
                "type":"number",
                "description":""
            },
            "customerId":{
                "type":"string",
                "description":"",
                "pattern":"[a-zA-Z0-9]{1,20}"
            },
            "exMode":{
                "type":"string",
                "description":"",
                "maxLength":10
            },
            "isTwoway":{
                "type":"string",
                "description":"",
                "maxLength":1
            },
            "fromAccPostBal":{
                "type":"number",
                "description":""
            },
            "toAccPostBal":{
                "type":"number",
                "description":""
            },
            "toBicCode":{
                "type":"string",
                "description":"",
                "maxLength":30
            },
            "fromBicCode":{
                "type":"string",
                "description":"",
                "maxLength":30
            },
            "fxRate":{
                "type":"number",
                "description":""
            },
            "isSimulate":{
                "type":"string",
                "description":"",
                "maxLength":1
            },
            "isExisting":{
                "type":"string",
                "description":"",
                "maxLength":1
            },
            "reallocationMasterId":{
                "type":"string",
                "description":""
            },
            "executionId":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "fromBranchCode":{
                "type":"string",
                "description":""
            },
            "toBranchCode":{
                "type":"string",
                "description":""
            },
            "fromAccountBalance":{
                "type":"number",
                "description":""
            },
            "toAccountBalance":{
                "type":"number",
                "description":""
            },
            "reallocationDetailMasterId":{
                "type":"string",
                "description":"",
                "maxLength":36
            }
        }
    }

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 201 Response

Returns message of succes or failure
Headers

- Location: string
  URL of newly created interestreport

Body ()
Root Schema : ResponseDtoWrapper
Type: `object`
Show Source

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

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

Nested Schema : ResponseResourceSupport
Type: `object`
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 : 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.

#### 405 Response

Invalid input

#### 500 Response

Internal error
Back to Top