Update an existing currency pairs
put
/service/currencypairs/{currency1}/{currency2}/{maintenanceCountry}
This endpoint is used to update an existing currency pairs.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
currency1: string
key of the currencypairs Maintenance
-
currency2: string
key of the currencypairs Maintenance
-
maintenanceCountry: string
key of the currencypairs Maintenance
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for updating an existing currencypairs
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CmcTmCurrencyPairDefnDto-allOf[1]
Type:
Show Source
object
-
checkThroughCurrency(optional):
string
-
currency1:
string
Minimum Length:
0
Maximum Length:3
-
currency2:
string
Minimum Length:
0
Maximum Length:3
-
maintenanceCountry:
string
Minimum Length:
0
Maximum Length:3
-
noOfUnits(optional):
number
Minimum Length:
0
Maximum Length:1
Pattern:^(?:0|2|3)$
-
pointsMultiplier(optional):
number
-
quotation(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:D|I)$
-
spreadDefn(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:%|,|.)$
-
throughCurrency(optional):
string
Minimum Length:
0
Maximum Length:3
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated currencypairs
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CmcTmCurrencyPairDefnDto-allOf[1]
Type:
Show Source
object
-
checkThroughCurrency(optional):
string
-
currency1:
string
Minimum Length:
0
Maximum Length:3
-
currency2:
string
Minimum Length:
0
Maximum Length:3
-
maintenanceCountry:
string
Minimum Length:
0
Maximum Length:3
-
noOfUnits(optional):
number
Minimum Length:
0
Maximum Length:1
Pattern:^(?:0|2|3)$
-
pointsMultiplier(optional):
number
-
quotation(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:D|I)$
-
spreadDefn(optional):
string
Minimum Length:
0
Maximum Length:1
Pattern:^(?:%|,|.)$
-
throughCurrency(optional):
string
Minimum Length:
0
Maximum Length:3
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