Reopen the currency pairs by given ID
patch
/service/currencypairs/{currency1}/{currency2}/{maintenanceCountry}/reopen
This endpoint is used to reopen the currency pairs identified by given ID.
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 contain currencypairs and Modification no of currencypairs maintenance which need to be reopen"
Response
Supported Media Types
- application/json
- application/xml
200 Response
Successful operation.
Root Schema : CmcTmCurrencyPairDefnResponseDtoWrapper
Type:
Show Source
object
-
data(optional):
object CmcTmCurrencyPairDefnDto
-
messages(optional):
object ResponseDto
ResponseDto stores the response status and code.
Nested Schema : CmcTmCurrencyPairDefnDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
-
object
CmcTmCurrencyPairDefnDto-allOf[1]
Nested Schema : ResponseDto
Type:
object
ResponseDto stores the response status and code.
Show Source
Nested Schema : GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
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 : codes
Type:
Show Source
array
-
Array of:
object ResponseCode
ResponseCode stores the response details.
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