Adds a new currency definitions
post
/service/currencydefinitions
This endpoint is used to add a new currency definitions.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
sourceCode(required): string
Source from which request is initiated
Request Body that contains data required for creating a new currencydefinitions
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmCurrencyDefinitionDto-allOf[1]
Type:
Show Source
object-
altCurrencyCode:
string
Minimum Length:
0Maximum Length:10Pattern:^[A-Z0-9]*$altCurrencyCode -
clsCurrency:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$CLS Currency -
CmcTmCurrencyCountryMapDto:
array CmcTmCurrencyCountryMapDto
-
commodityCode:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$commodityCode -
country:
string
Minimum Length:
0Maximum Length:3Pattern:^[A-Z]*$country -
crAutoExRateLmt:
number
Minimum Length:
0Maximum Length:3Credit Auto Exchange Rate Limit -
currencyCode(required):
string
Minimum Length:
0Maximum Length:3Pattern:^[A-Z]*$currencyCode -
currencyDecimals:
number
Minimum Length:
0Maximum Length:1currencyDecimals -
currencyEurType:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:E|I|O|C)$Currency Euro type -
currencyFormatMask:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:I|N)$currencyFormatMask -
currencyIntMethod:
number
Minimum Length:
0Maximum Length:1Pattern:^(?:0|1|2|3|4|5|6|7|8|9)$Currency Interest Method -
currencyName:
string
Minimum Length:
0Maximum Length:105Pattern:^[A-Za-z ]*$currencyName -
currencyRoundRule:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:T|U|D|R)$Currency Round Rule -
currencyRoundUnit:
number
Currency Round Unit
-
currencySpotDays:
number
Minimum Length:
0Maximum Length:3currencySpotDays -
currencyTolLimit:
number
Currency Total Limits
-
currencyType:
string
Minimum Length:
0Maximum Length:3currencyType -
cutOffDays:
number
Minimum Length:
0Maximum Length:2cutOffDays -
cutOffHr:
number
Minimum Length:
0Maximum Length:2Cut off Hours -
cutOffMin:
number
Minimum Length:
0Maximum Length:2Cut off Minutes -
drAutoExRateLmt:
number
Debit Auto Exchange Rate Limit
-
eurConversionReqd:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$Euro Conversion Required -
fxNettingDays:
number
Minimum Length:
0Maximum Length:3Foreign Exchange Netting Days -
gen103p:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$Generate 103+ -
genCustCov:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$genCustCov -
indexBaseCurrency:
string
Minimum Length:
0Maximum Length:3Index Base Currency -
indexFlag:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$Index Flag -
isoNumCurrencyCode:
string
Minimum Length:
0Maximum Length:3Pattern:^[0-9]*$isoNumCurrencyCode -
maintenanceCountry(required):
string
Minimum Length:
0Maximum Length:3maintenanceCountry -
positionEqvgl:
string
Minimum Length:
0Maximum Length:9Position Equivalent GL -
positionGl:
string
Minimum Length:
0Maximum Length:9positionGl -
settlementMsgDays:
number
Minimum Length:
0Maximum Length:3Settlement Days -
validate50f:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$validate50f
Nested Schema : CmcTmCurrencyCountryMapDto
Type:
Show Source
object-
countryCode(required):
string
Minimum Length:
0Maximum Length:3countryCode -
countryDesc:
string
Minimum Length:
0Maximum Length:105countryDesc -
currencyCode:
string
Minimum Length:
0Maximum Length:3currencyCode -
currencyDefinitionId:
string
currencyDefinitionId
-
id:
string
id
-
maintenanceCountry:
string
Minimum Length:
0Maximum Length:3maintenanceCountry
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created currencydefinitions
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmCurrencyDefinitionDto-allOf[1]
Type:
Show Source
object-
altCurrencyCode:
string
Minimum Length:
0Maximum Length:10Pattern:^[A-Z0-9]*$altCurrencyCode -
clsCurrency:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$CLS Currency -
CmcTmCurrencyCountryMapDto:
array CmcTmCurrencyCountryMapDto
-
commodityCode:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$commodityCode -
country:
string
Minimum Length:
0Maximum Length:3Pattern:^[A-Z]*$country -
crAutoExRateLmt:
number
Minimum Length:
0Maximum Length:3Credit Auto Exchange Rate Limit -
currencyCode(required):
string
Minimum Length:
0Maximum Length:3Pattern:^[A-Z]*$currencyCode -
currencyDecimals:
number
Minimum Length:
0Maximum Length:1currencyDecimals -
currencyEurType:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:E|I|O|C)$Currency Euro type -
currencyFormatMask:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:I|N)$currencyFormatMask -
currencyIntMethod:
number
Minimum Length:
0Maximum Length:1Pattern:^(?:0|1|2|3|4|5|6|7|8|9)$Currency Interest Method -
currencyName:
string
Minimum Length:
0Maximum Length:105Pattern:^[A-Za-z ]*$currencyName -
currencyRoundRule:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:T|U|D|R)$Currency Round Rule -
currencyRoundUnit:
number
Currency Round Unit
-
currencySpotDays:
number
Minimum Length:
0Maximum Length:3currencySpotDays -
currencyTolLimit:
number
Currency Total Limits
-
currencyType:
string
Minimum Length:
0Maximum Length:3currencyType -
cutOffDays:
number
Minimum Length:
0Maximum Length:2cutOffDays -
cutOffHr:
number
Minimum Length:
0Maximum Length:2Cut off Hours -
cutOffMin:
number
Minimum Length:
0Maximum Length:2Cut off Minutes -
drAutoExRateLmt:
number
Debit Auto Exchange Rate Limit
-
eurConversionReqd:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$Euro Conversion Required -
fxNettingDays:
number
Minimum Length:
0Maximum Length:3Foreign Exchange Netting Days -
gen103p:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$Generate 103+ -
genCustCov:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$genCustCov -
indexBaseCurrency:
string
Minimum Length:
0Maximum Length:3Index Base Currency -
indexFlag:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$Index Flag -
isoNumCurrencyCode:
string
Minimum Length:
0Maximum Length:3Pattern:^[0-9]*$isoNumCurrencyCode -
maintenanceCountry(required):
string
Minimum Length:
0Maximum Length:3maintenanceCountry -
positionEqvgl:
string
Minimum Length:
0Maximum Length:9Position Equivalent GL -
positionGl:
string
Minimum Length:
0Maximum Length:9positionGl -
settlementMsgDays:
number
Minimum Length:
0Maximum Length:3Settlement Days -
validate50f:
string
Minimum Length:
0Maximum Length:1Pattern:^(?:Y|N)$validate50f
Nested Schema : CmcTmCurrencyCountryMapDto
Type:
Show Source
object-
countryCode(required):
string
Minimum Length:
0Maximum Length:3countryCode -
countryDesc:
string
Minimum Length:
0Maximum Length:105countryDesc -
currencyCode:
string
Minimum Length:
0Maximum Length:3currencyCode -
currencyDefinitionId:
string
currencyDefinitionId
-
id:
string
id
-
maintenanceCountry:
string
Minimum Length:
0Maximum Length:3maintenanceCountry
Nested Schema : items
Type:
object400 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