Update an existing currency rate types
put
/service/currencyratetypes/{currencyRateType}
This endpoint is used to update an existing currency rate types.
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 that contains data required for updating an existing currencyratetypes
Root Schema : CmcTmCurrencyRateTypeDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
CmcTmCurrencyRateTypeDto-allOf[1]
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 : 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
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated currencyratetypes
Root Schema : CmcTmCurrencyRateTypeResponseDtoWrapper
Type:
Show Source
object
-
data(optional):
object CmcTmCurrencyRateTypeDto
-
messages(optional):
object ResponseDto
Nested Schema : CmcTmCurrencyRateTypeDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
CmcTmCurrencyRateTypeDto-allOf[1]
Nested Schema : ResponseDto
Type:
Show Source
object
-
codes(optional):
array codes
-
id(optional):
string
-
requestId(optional):
string
-
status(optional):
string
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 : 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 : ResponseCode
Type:
Show Source
object
-
arg(optional):
string
-
args(optional):
array args
-
Code(optional):
string
-
Desc(optional):
string
-
Language(optional):
string
-
Type(optional):
string
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