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