Close the rates by given ID
patch
/service/rates/{branchCode}/{currency1}/{currency2}/close
This endpoint is used to close the rates identified by given ID.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
branchCode(required): string
branchCode of the rates Maintenance
-
currency1(required): string
currency1 of the rates Maintenance
-
currency2(required): string
currency2 of the rates Maintenance
Header Parameters
-
sourceCode(required): string
Source from which request is initiated
Request body contain rates and Modification no of rates maintenance which need to be closed"
Response
Supported Media Types
- application/json
- application/xml
200 Response
Successful operation.
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmCurrencyRateMasterResponseDto-allOf[1]
Type:
Show Source
object-
branchCode(required):
string
Minimum Length:
0Maximum Length:3Pattern:^[A-Z0-9]*$ -
CmcTmCurrencyRateResponseDto:
array CmcTmCurrencyRateResponseDto
-
currency1(required):
string
Minimum Length:
0Maximum Length:3 -
currency2(required):
string
Minimum Length:
0Maximum Length:3
Nested Schema : CmcTmCurrencyRateResponseDto
Type:
Show Source
object-
branchCode:
string
Minimum Length:
0Maximum Length:3Pattern:^[A-Z0-9]*$ -
buyRate:
number
Minimum Length:
0Maximum Length:24 -
buySpread:
number
-
currency1:
string
Minimum Length:
0Maximum Length:3 -
currency2:
string
Minimum Length:
0Maximum Length:3 -
intAuthStat:
string
Minimum Length:
0Maximum Length:1 -
midRate:
number
Minimum Length:
0Maximum Length:24 -
rateDate:
string
-
rateSerial:
number
Minimum Length:
0Maximum Length:4 -
rateType(required):
string
Minimum Length:
0Maximum Length:8 -
saleRate:
number
-
saleSpread:
number
-
unauthBuyRate:
number
Minimum Length:
0Maximum Length:24 -
unauthBuySpread:
number
-
unauthMidRate:
number
Minimum Length:
0Maximum Length:24 -
unauthRateDate:
string
-
unauthRateSerial:
number
Minimum Length:
0Maximum Length:4 -
unauthSaleRate:
number
Minimum Length:
0Maximum Length:24 -
unauthSaleSpread:
number
Nested Schema : items
Type:
object400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error