Previous Next JavaScript must be enabled to correctly display this content

## Reopen the currency definitions by given ID

patch

/service/currencydefinitions/{currencyCode}/{maintenanceCountry}/reopen

This endpoint is used reopen the currency definitions identified by given ID.

### Request

Supported Media Types

- application/json
- application/xml

Path Parameters

- currencyCode: string
  key of the currencydefinitions Maintenance
- maintenanceCountry: string
  key of the currencydefinitions Maintenance

Header Parameters

- sourceCode: string
  Source from which request is initiated

Body ()
Request body contain currencydefinitions and Modification no of currencydefinitions 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 : CmcTmCurrencyDefinitionResponseDtoWrapper
Type: `object`
Show Source

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

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

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

- allOf GenericDto
- object CmcTmCurrencyDefinitionDto-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "currencyCode":{
                        "type":"string",
                        "description":"currencyCode",
                        "minLength":0,
                        "maxLength":3,
                        "pattern":"^[A-Z]*$"
                    },
                    "currencyName":{
                        "type":"string",
                        "description":"currencyName",
                        "minLength":0,
                        "maxLength":105,
                        "pattern":"^[A-Za-z ]*$"
                    },
                    "country":{
                        "type":"string",
                        "description":"country",
                        "minLength":0,
                        "maxLength":3,
                        "pattern":"^[A-Z]*$"
                    },
                    "currencyDecimals":{
                        "type":"number",
                        "description":"currencyDecimals",
                        "minLength":0,
                        "maxLength":1
                    },
                    "currencyRoundRule":{
                        "type":"string",
                        "description":"Currency Round Rule",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:T|U|D|R)$"
                    },
                    "currencyRoundUnit":{
                        "type":"number",
                        "description":"Currency Round Unit"
                    },
                    "currencyFormatMask":{
                        "type":"string",
                        "description":"currencyFormatMask",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:I|N)$"
                    },
                    "currencySpotDays":{
                        "type":"number",
                        "description":"currencySpotDays",
                        "minLength":0,
                        "maxLength":3
                    },
                    "currencyIntMethod":{
                        "type":"number",
                        "description":"Currency Interest Method",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:0|1|2|3|4|5|6|7|8|9)$"
                    },
                    "positionGl":{
                        "type":"string",
                        "description":"positionGl",
                        "minLength":0,
                        "maxLength":9
                    },
                    "positionEqvgl":{
                        "type":"string",
                        "description":"Position Equivalent GL",
                        "minLength":0,
                        "maxLength":9
                    },
                    "currencyEurType":{
                        "type":"string",
                        "description":"Currency Euro type",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:E|I|O|C)$"
                    },
                    "currencyTolLimit":{
                        "type":"number",
                        "description":"Currency Total Limits"
                    },
                    "settlementMsgDays":{
                        "type":"number",
                        "description":"Settlement Days",
                        "minLength":0,
                        "maxLength":3
                    },
                    "indexFlag":{
                        "type":"string",
                        "description":"Index Flag",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:Y|N)$"
                    },
                    "indexBaseCurrency":{
                        "type":"string",
                        "description":"Index Base Currency",
                        "minLength":0,
                        "maxLength":3
                    },
                    "cutOffHr":{
                        "type":"number",
                        "description":"Cut off Hours",
                        "minLength":0,
                        "maxLength":2
                    },
                    "cutOffMin":{
                        "type":"number",
                        "description":"Cut off Minutes",
                        "minLength":0,
                        "maxLength":2
                    },
                    "altCurrencyCode":{
                        "type":"string",
                        "description":"altCurrencyCode",
                        "minLength":0,
                        "maxLength":10,
                        "pattern":"^[A-Z0-9]*$"
                    },
                    "eurConversionReqd":{
                        "type":"string",
                        "description":"Euro Conversion Required",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:Y|N)$"
                    },
                    "cutOffDays":{
                        "type":"number",
                        "description":"cutOffDays",
                        "minLength":0,
                        "maxLength":2
                    },
                    "crAutoExRateLmt":{
                        "type":"number",
                        "description":"Credit Auto Exchange Rate Limit",
                        "minLength":0,
                        "maxLength":3
                    },
                    "drAutoExRateLmt":{
                        "type":"number",
                        "description":"Debit Auto Exchange Rate Limit"
                    },
                    "currencyType":{
                        "type":"string",
                        "description":"currencyType",
                        "minLength":0,
                        "maxLength":3
                    },
                    "gen103p":{
                        "type":"string",
                        "description":"Generate 103+",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:Y|N)$"
                    },
                    "clsCurrency":{
                        "type":"string",
                        "description":"CLS Currency",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:Y|N)$"
                    },
                    "fxNettingDays":{
                        "type":"number",
                        "description":"Foreign Exchange Netting Days",
                        "minLength":0,
                        "maxLength":3
                    },
                    "isoNumCurrencyCode":{
                        "type":"string",
                        "description":"isoNumCurrencyCode",
                        "minLength":0,
                        "maxLength":3,
                        "pattern":"^[0-9]*$"
                    },
                    "genCustCov":{
                        "type":"string",
                        "description":"genCustCov",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:Y|N)$"
                    },
                    "validate50f":{
                        "type":"string",
                        "description":"validate50f",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:Y|N)$"
                    },
                    "maintenanceCountry":{
                        "type":"string",
                        "description":"maintenanceCountry",
                        "minLength":0,
                        "maxLength":3
                    },
                    "commodityCode":{
                        "type":"string",
                        "description":"commodityCode",
                        "minLength":0,
                        "maxLength":1,
                        "pattern":"^(?:Y|N)$"
                    },
                    "CmcTmCurrencyCountryMapDto":{
                        "type":"array",
                        "items":{
                            "$ref":"#/definitions/CmcTmCurrencyCountryMapDto"
                        }
                    }
                },
                "required":[
                    "currencyCode",
                    "maintenanceCountry"
                ]
            }
        ]
    }

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

- altCurrencyCode(optional): string
  Minimum Length: `0`
  Maximum Length: `10`
  Pattern: `^[A-Z0-9]*$`
  altCurrencyCode
- clsCurrency(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:Y|N)$`
  CLS Currency
- CmcTmCurrencyCountryMapDto(optional): array CmcTmCurrencyCountryMapDto
- commodityCode(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:Y|N)$`
  commodityCode
- country(optional): string
  Minimum Length: `0`
  Maximum Length: `3`
  Pattern: `^[A-Z]*$`
  country
- crAutoExRateLmt(optional): number
  Minimum Length: `0`
  Maximum Length: `3`
  Credit Auto Exchange Rate Limit
- currencyCode: string
  Minimum Length: `0`
  Maximum Length: `3`
  Pattern: `^[A-Z]*$`
  currencyCode
- currencyDecimals(optional): number
  Minimum Length: `0`
  Maximum Length: `1`
  currencyDecimals
- currencyEurType(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:E|I|O|C)$`
  Currency Euro type
- currencyFormatMask(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:I|N)$`
  currencyFormatMask
- currencyIntMethod(optional): number
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:0|1|2|3|4|5|6|7|8|9)$`
  Currency Interest Method
- currencyName(optional): string
  Minimum Length: `0`
  Maximum Length: `105`
  Pattern: `^[A-Za-z ]*$`
  currencyName
- currencyRoundRule(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:T|U|D|R)$`
  Currency Round Rule
- currencyRoundUnit(optional): number
  Currency Round Unit
- currencySpotDays(optional): number
  Minimum Length: `0`
  Maximum Length: `3`
  currencySpotDays
- currencyTolLimit(optional): number
  Currency Total Limits
- currencyType(optional): string
  Minimum Length: `0`
  Maximum Length: `3`
  currencyType
- cutOffDays(optional): number
  Minimum Length: `0`
  Maximum Length: `2`
  cutOffDays
- cutOffHr(optional): number
  Minimum Length: `0`
  Maximum Length: `2`
  Cut off Hours
- cutOffMin(optional): number
  Minimum Length: `0`
  Maximum Length: `2`
  Cut off Minutes
- drAutoExRateLmt(optional): number
  Debit Auto Exchange Rate Limit
- eurConversionReqd(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:Y|N)$`
  Euro Conversion Required
- fxNettingDays(optional): number
  Minimum Length: `0`
  Maximum Length: `3`
  Foreign Exchange Netting Days
- gen103p(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:Y|N)$`
  Generate 103+
- genCustCov(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:Y|N)$`
  genCustCov
- indexBaseCurrency(optional): string
  Minimum Length: `0`
  Maximum Length: `3`
  Index Base Currency
- indexFlag(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:Y|N)$`
  Index Flag
- isoNumCurrencyCode(optional): string
  Minimum Length: `0`
  Maximum Length: `3`
  Pattern: `^[0-9]*$`
  isoNumCurrencyCode
- maintenanceCountry: string
  Minimum Length: `0`
  Maximum Length: `3`
  maintenanceCountry
- positionEqvgl(optional): string
  Minimum Length: `0`
  Maximum Length: `9`
  Position Equivalent GL
- positionGl(optional): string
  Minimum Length: `0`
  Maximum Length: `9`
  positionGl
- settlementMsgDays(optional): number
  Minimum Length: `0`
  Maximum Length: `3`
  Settlement Days
- validate50f(optional): string
  Minimum Length: `0`
  Maximum Length: `1`
  Pattern: `^(?:Y|N)$`
  validate50f

    {
        "type":"object",
        "properties":{
            "currencyCode":{
                "type":"string",
                "description":"currencyCode",
                "minLength":0,
                "maxLength":3,
                "pattern":"^[A-Z]*$"
            },
            "currencyName":{
                "type":"string",
                "description":"currencyName",
                "minLength":0,
                "maxLength":105,
                "pattern":"^[A-Za-z ]*$"
            },
            "country":{
                "type":"string",
                "description":"country",
                "minLength":0,
                "maxLength":3,
                "pattern":"^[A-Z]*$"
            },
            "currencyDecimals":{
                "type":"number",
                "description":"currencyDecimals",
                "minLength":0,
                "maxLength":1
            },
            "currencyRoundRule":{
                "type":"string",
                "description":"Currency Round Rule",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:T|U|D|R)$"
            },
            "currencyRoundUnit":{
                "type":"number",
                "description":"Currency Round Unit"
            },
            "currencyFormatMask":{
                "type":"string",
                "description":"currencyFormatMask",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:I|N)$"
            },
            "currencySpotDays":{
                "type":"number",
                "description":"currencySpotDays",
                "minLength":0,
                "maxLength":3
            },
            "currencyIntMethod":{
                "type":"number",
                "description":"Currency Interest Method",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:0|1|2|3|4|5|6|7|8|9)$"
            },
            "positionGl":{
                "type":"string",
                "description":"positionGl",
                "minLength":0,
                "maxLength":9
            },
            "positionEqvgl":{
                "type":"string",
                "description":"Position Equivalent GL",
                "minLength":0,
                "maxLength":9
            },
            "currencyEurType":{
                "type":"string",
                "description":"Currency Euro type",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:E|I|O|C)$"
            },
            "currencyTolLimit":{
                "type":"number",
                "description":"Currency Total Limits"
            },
            "settlementMsgDays":{
                "type":"number",
                "description":"Settlement Days",
                "minLength":0,
                "maxLength":3
            },
            "indexFlag":{
                "type":"string",
                "description":"Index Flag",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:Y|N)$"
            },
            "indexBaseCurrency":{
                "type":"string",
                "description":"Index Base Currency",
                "minLength":0,
                "maxLength":3
            },
            "cutOffHr":{
                "type":"number",
                "description":"Cut off Hours",
                "minLength":0,
                "maxLength":2
            },
            "cutOffMin":{
                "type":"number",
                "description":"Cut off Minutes",
                "minLength":0,
                "maxLength":2
            },
            "altCurrencyCode":{
                "type":"string",
                "description":"altCurrencyCode",
                "minLength":0,
                "maxLength":10,
                "pattern":"^[A-Z0-9]*$"
            },
            "eurConversionReqd":{
                "type":"string",
                "description":"Euro Conversion Required",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:Y|N)$"
            },
            "cutOffDays":{
                "type":"number",
                "description":"cutOffDays",
                "minLength":0,
                "maxLength":2
            },
            "crAutoExRateLmt":{
                "type":"number",
                "description":"Credit Auto Exchange Rate Limit",
                "minLength":0,
                "maxLength":3
            },
            "drAutoExRateLmt":{
                "type":"number",
                "description":"Debit Auto Exchange Rate Limit"
            },
            "currencyType":{
                "type":"string",
                "description":"currencyType",
                "minLength":0,
                "maxLength":3
            },
            "gen103p":{
                "type":"string",
                "description":"Generate 103+",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:Y|N)$"
            },
            "clsCurrency":{
                "type":"string",
                "description":"CLS Currency",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:Y|N)$"
            },
            "fxNettingDays":{
                "type":"number",
                "description":"Foreign Exchange Netting Days",
                "minLength":0,
                "maxLength":3
            },
            "isoNumCurrencyCode":{
                "type":"string",
                "description":"isoNumCurrencyCode",
                "minLength":0,
                "maxLength":3,
                "pattern":"^[0-9]*$"
            },
            "genCustCov":{
                "type":"string",
                "description":"genCustCov",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:Y|N)$"
            },
            "validate50f":{
                "type":"string",
                "description":"validate50f",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:Y|N)$"
            },
            "maintenanceCountry":{
                "type":"string",
                "description":"maintenanceCountry",
                "minLength":0,
                "maxLength":3
            },
            "commodityCode":{
                "type":"string",
                "description":"commodityCode",
                "minLength":0,
                "maxLength":1,
                "pattern":"^(?:Y|N)$"
            },
            "CmcTmCurrencyCountryMapDto":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/CmcTmCurrencyCountryMapDto"
                }
            }
        },
        "required":[
            "currencyCode",
            "maintenanceCountry"
        ]
    }

Nested Schema : CmcTmCurrencyCountryMapDto
Type: `array`
Show Source

- Array of: object CmcTmCurrencyCountryMapDto

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

Nested Schema : CmcTmCurrencyCountryMapDto
Type: `object`
Show Source

- countryCode: string
  Minimum Length: `0`
  Maximum Length: `3`
  countryCode
- countryDesc(optional): string
  Minimum Length: `0`
  Maximum Length: `105`
  countryDesc
- currencyCode(optional): string
  Minimum Length: `0`
  Maximum Length: `3`
  currencyCode
- currencyDefinitionId(optional): string
  currencyDefinitionId
- id(optional): string
  id
- maintenanceCountry(optional): string
  Minimum Length: `0`
  Maximum Length: `3`
  maintenanceCountry

    {
        "type":"object",
        "properties":{
            "maintenanceCountry":{
                "type":"string",
                "description":"maintenanceCountry",
                "minLength":0,
                "maxLength":3
            },
            "id":{
                "type":"string",
                "description":"id"
            },
            "countryCode":{
                "type":"string",
                "description":"countryCode",
                "minLength":0,
                "maxLength":3
            },
            "countryDesc":{
                "type":"string",
                "description":"countryDesc",
                "minLength":0,
                "maxLength":105
            },
            "currencyCode":{
                "type":"string",
                "description":"currencyCode",
                "minLength":0,
                "maxLength":3
            },
            "currencyDefinitionId":{
                "type":"string",
                "description":"currencyDefinitionId"
            }
        },
        "required":[
            "countryCode"
        ]
    }

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