Previous Next JavaScript must be enabled to correctly display this content

## Adds a new structure created report

post

/structurecreatedreport/save

This endpoint is used to add a new structure created report.

### Request

Supported Media Types

- application/json
- application/xml

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

- allOf GenericDto
- object StructureMasterDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "customerId":{
                        "type":"string",
                        "description":"",
                        "pattern":"[a-zA-Z0-9]{1,20}"
                    },
                    "customerDescription":{
                        "type":"string",
                        "description":"",
                        "maxLength":100
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":""
                    },
                    "endDate":{
                        "type":"string",
                        "description":""
                    },
                    "headerAccountCurrency":{
                        "type":"string",
                        "description":"",
                        "maxLength":3
                    },
                    "headerBranchCode":{
                        "type":"string",
                        "description":"",
                        "maxLength":4
                    },
                    "headerBranchName":{
                        "type":"string",
                        "description":"",
                        "maxLength":50
                    },
                    "headerAccountDescription":{
                        "type":"string",
                        "description":"",
                        "maxLength":50
                    },
                    "headerAccountNumber":{
                        "type":"string",
                        "description":"",
                        "maxLength":30
                    },
                    "interestMethod":{
                        "type":"string",
                        "description":"",
                        "maxLength":40
                    },
                    "isCrossBorder":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "isCrossCurrency":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "isMultiBank":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]"
                    },
                    "participatingAccountCount":{
                        "type":"number",
                        "description":""
                    },
                    "versionNo":{
                        "type":"number",
                        "description":""
                    },
                    "modNumber":{
                        "type":"number",
                        "description":""
                    },
                    "reallocationMethod":{
                        "type":"string",
                        "description":"",
                        "maxLength":50
                    },
                    "structureDescription":{
                        "type":"string",
                        "description":"",
                        "maxLength":200
                    },
                    "structureId":{
                        "type":"string",
                        "description":"",
                        "pattern":"[A-Z0-9]{1,30}"
                    },
                    "structureStatus":{
                        "type":"string",
                        "description":"",
                        "maxLength":20
                    },
                    "structureType":{
                        "type":"string",
                        "description":"",
                        "maxLength":20
                    },
                    "liquidityType":{
                        "type":"string",
                        "description":"",
                        "maxLength":30
                    },
                    "StructureDetailsDTO":{
                        "type":"array",
                        "items":{
                            "$ref":"#/definitions/StructureDetailsDTO"
                        }
                    }
                }
            }
        ]
    }

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

- customerDescription(optional): string
  Maximum Length: `100`
- customerId(optional): string
  Pattern: `[a-zA-Z0-9]{1,20}`
- effectiveDate(optional): string
- endDate(optional): string
- headerAccountCurrency(optional): string
  Maximum Length: `3`
- headerAccountDescription(optional): string
  Maximum Length: `50`
- headerAccountNumber(optional): string
  Maximum Length: `30`
- headerBranchCode(optional): string
  Maximum Length: `4`
- headerBranchName(optional): string
  Maximum Length: `50`
- interestMethod(optional): string
  Maximum Length: `40`
- isCrossBorder(optional): string
  Maximum Length: `1`
  Pattern: `[Y,N]`
- isCrossCurrency(optional): string
  Maximum Length: `1`
  Pattern: `[Y,N]`
- isMultiBank(optional): string
  Maximum Length: `1`
  Pattern: `[Y,N]`
- liquidityType(optional): string
  Maximum Length: `30`
- modNumber(optional): number
- participatingAccountCount(optional): number
- reallocationMethod(optional): string
  Maximum Length: `50`
- structureDescription(optional): string
  Maximum Length: `200`
- StructureDetailsDTO(optional): array StructureDetailsDTO
- structureId(optional): string
  Pattern: `[A-Z0-9]{1,30}`
- structureStatus(optional): string
  Maximum Length: `20`
- structureType(optional): string
  Maximum Length: `20`
- versionNo(optional): number

    {
        "type":"object",
        "properties":{
            "customerId":{
                "type":"string",
                "description":"",
                "pattern":"[a-zA-Z0-9]{1,20}"
            },
            "customerDescription":{
                "type":"string",
                "description":"",
                "maxLength":100
            },
            "effectiveDate":{
                "type":"string",
                "description":""
            },
            "endDate":{
                "type":"string",
                "description":""
            },
            "headerAccountCurrency":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "headerBranchCode":{
                "type":"string",
                "description":"",
                "maxLength":4
            },
            "headerBranchName":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "headerAccountDescription":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "headerAccountNumber":{
                "type":"string",
                "description":"",
                "maxLength":30
            },
            "interestMethod":{
                "type":"string",
                "description":"",
                "maxLength":40
            },
            "isCrossBorder":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "isCrossCurrency":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "isMultiBank":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]"
            },
            "participatingAccountCount":{
                "type":"number",
                "description":""
            },
            "versionNo":{
                "type":"number",
                "description":""
            },
            "modNumber":{
                "type":"number",
                "description":""
            },
            "reallocationMethod":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "structureDescription":{
                "type":"string",
                "description":"",
                "maxLength":200
            },
            "structureId":{
                "type":"string",
                "description":"",
                "pattern":"[A-Z0-9]{1,30}"
            },
            "structureStatus":{
                "type":"string",
                "description":"",
                "maxLength":20
            },
            "structureType":{
                "type":"string",
                "description":"",
                "maxLength":20
            },
            "liquidityType":{
                "type":"string",
                "description":"",
                "maxLength":30
            },
            "StructureDetailsDTO":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/StructureDetailsDTO"
                }
            }
        }
    }

Nested Schema : StructureDetailsDTO
Type: `array`
Show Source

- Array of: object StructureDetailsDTO

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

Nested Schema : StructureDetailsDTO
Type: `object`
Show Source

- accountDescription(optional): string
  Maximum Length: `50`
- accountNumber(optional): string
  Maximum Length: `30`
- accPriority(optional): string
  Maximum Length: `5`
- branchCode(optional): string
  Maximum Length: `4`
- branchExtRef(optional): string
  Maximum Length: `35`
- branchName(optional): string
  Maximum Length: `50`
- currencyCode(optional): string
  Maximum Length: `3`
- custExtRef(optional): string
  Maximum Length: `35`
- id(optional): string
  Maximum Length: `36`
- interestMethod(optional): string
  Maximum Length: `40`
- parentAccountDescription(optional): string
  Maximum Length: `50`
- parentAccountNumber(optional): string
  Maximum Length: `30`
- parentBranchCode(optional): string
  Maximum Length: `4`
- parentBranchName(optional): string
  Maximum Length: `50`
- parentCurrencyCode(optional): string
  Maximum Length: `3`
- reallocationMethod(optional): string
  Maximum Length: `40`
- revFreq(optional): string
  Maximum Length: `5`
- structureMasterId(optional): string
  Maximum Length: `36`
- sweepConcentrationMethod(optional): string
  Maximum Length: `200`
- sweepFreq(optional): string
  Maximum Length: `35`
- twoWaySweep(optional): string
  Maximum Length: `10`

    {
        "type":"object",
        "properties":{
            "accountDescription":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "accountNumber":{
                "type":"string",
                "description":"",
                "maxLength":30
            },
            "branchCode":{
                "type":"string",
                "description":"",
                "maxLength":4
            },
            "branchName":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "currencyCode":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "parentAccountDescription":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "parentAccountNumber":{
                "type":"string",
                "description":"",
                "maxLength":30
            },
            "parentBranchCode":{
                "type":"string",
                "description":"",
                "maxLength":4
            },
            "parentBranchName":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "parentCurrencyCode":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "id":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "reallocationMethod":{
                "type":"string",
                "description":"",
                "maxLength":40
            },
            "structureMasterId":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "branchExtRef":{
                "type":"string",
                "description":"",
                "maxLength":35
            },
            "sweepConcentrationMethod":{
                "type":"string",
                "description":"",
                "maxLength":200
            },
            "accPriority":{
                "type":"string",
                "description":"",
                "maxLength":5
            },
            "sweepFreq":{
                "type":"string",
                "description":"",
                "maxLength":35
            },
            "twoWaySweep":{
                "type":"string",
                "description":"",
                "maxLength":10
            },
            "revFreq":{
                "type":"string",
                "description":"",
                "maxLength":5
            },
            "interestMethod":{
                "type":"string",
                "description":"",
                "maxLength":40
            },
            "custExtRef":{
                "type":"string",
                "description":"",
                "maxLength":35
            }
        }
    }

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 structurereport

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