Update an existing rates
put
/service/rates
This endpoint is used to update an existing rates.
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 updating an existing rates
Root Schema : CmcTmCurrencyRateMasterDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
CmcTmCurrencyRateMasterDto-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 : CmcTmCurrencyRateMasterDto-allOf[1]
Type:
Show Source
object
-
branchCode:
string
Minimum Length:
0
Maximum Length:3
Pattern:^[A-Z0-9]*$
-
CmcTmCurrencyRateDto(optional):
array CmcTmCurrencyRateDto
-
currency1:
string
Minimum Length:
0
Maximum Length:3
-
currency2:
string
Minimum Length:
0
Maximum Length:3
Nested Schema : CmcTmCurrencyRateDto
Type:
Show Source
object
-
branchCode(optional):
string
Minimum Length:
0
Maximum Length:3
Pattern:^[A-Z0-9]*$
-
buyRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
buySpread(optional):
number
-
currency1(optional):
string
Minimum Length:
0
Maximum Length:3
-
currency2(optional):
string
Minimum Length:
0
Maximum Length:3
-
currencyRateMasterId(optional):
string
-
id(optional):
string
-
intAuthStat(optional):
string
Minimum Length:
0
Maximum Length:1
-
midRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
rateDate(optional):
string
-
rateSerial(optional):
number
Minimum Length:
0
Maximum Length:4
-
rateType:
string
Minimum Length:
0
Maximum Length:8
-
saleRate(optional):
number
-
saleSpread(optional):
number
-
unauthBuyRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
unauthBuySpread(optional):
number
-
unauthMidRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
unauthRateDate(optional):
string
-
unauthRateSerial(optional):
number
Minimum Length:
0
Maximum Length:4
-
unauthSaleRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
unauthSaleSpread(optional):
number
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated rates
Root Schema : CmcTmCurrencyRateMasterResponseWrapperDTO
Type:
Show Source
object
-
data(optional):
object CmcTmCurrencyRateMasterResponseDto
-
messages(optional):
object ResponseDto
Nested Schema : CmcTmCurrencyRateMasterResponseDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
-
object
CmcTmCurrencyRateMasterResponseDto-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 : CmcTmCurrencyRateMasterResponseDto-allOf[1]
Type:
Show Source
object
-
branchCode:
string
Minimum Length:
0
Maximum Length:3
Pattern:^[A-Z0-9]*$
-
CmcTmCurrencyRateResponseDto(optional):
array CmcTmCurrencyRateResponseDto
-
currency1:
string
Minimum Length:
0
Maximum Length:3
-
currency2:
string
Minimum Length:
0
Maximum Length:3
Nested Schema : CmcTmCurrencyRateResponseDto
Type:
Show Source
array
-
Array of:
object CmcTmCurrencyRateResponseDto
Nested Schema : CmcTmCurrencyRateResponseDto
Type:
Show Source
object
-
branchCode(optional):
string
Minimum Length:
0
Maximum Length:3
Pattern:^[A-Z0-9]*$
-
buyRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
buySpread(optional):
number
-
currency1(optional):
string
Minimum Length:
0
Maximum Length:3
-
currency2(optional):
string
Minimum Length:
0
Maximum Length:3
-
intAuthStat(optional):
string
Minimum Length:
0
Maximum Length:1
-
midRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
rateDate(optional):
string
-
rateSerial(optional):
number
Minimum Length:
0
Maximum Length:4
-
rateType:
string
Minimum Length:
0
Maximum Length:8
-
saleRate(optional):
number
-
saleSpread(optional):
number
-
unauthBuyRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
unauthBuySpread(optional):
number
-
unauthMidRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
unauthRateDate(optional):
string
-
unauthRateSerial(optional):
number
Minimum Length:
0
Maximum Length:4
-
unauthSaleRate(optional):
number
Minimum Length:
0
Maximum Length:24
-
unauthSaleSpread(optional):
number
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