Close the currency rate types by given ID
patch
/service/currencyratetypes/{currencyRateType}/close
This endpoint is used to close the currency rate types identified by given ID.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
currencyRateType: string
Key of the currencyratetypes maintenance
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request body contain currencyratetypes and Modification no of currencyratetypes maintenance which need to be closed"
Response
Supported Media Types
- application/json
- application/xml
200 Response
Successful operation.
Root Schema : CmcTmCurrencyRateTypeResponseDtoWrapper
Type:
Show Source
object
-
data(optional):
object CmcTmCurrencyRateTypeDto
-
messages(optional):
object ResponseDto
ResponseDto stores the response status and code.
Nested Schema : CmcTmCurrencyRateTypeDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
-
object
CmcTmCurrencyRateTypeDto-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 : CmcTmCurrencyRateTypeDto-allOf[1]
Type:
Show Source
object
-
currencyRateType:
string
Minimum Length:
0
Maximum Length:8
Pattern:^[A-Z0-9*_]*$
-
currencyRateTypeDesc(optional):
string
Minimum Length:
0
Maximum Length:105
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