Update Exchange Rates

PUT /ws/rest/service/v1/exchange

Purpose:

To add or modify currency rates of active exchange rates set.

Input:

Both input & output in JSON format in the body.

'currency_code' is required in the input request.

Update Exchange Rates input JSON

{

"data":[

{

"currencyid":2,

"rate":110.0,

"currency_name":"Afghani (AFN)",

"currency_code":"AFN"

},

{

"currencyid":3,

"rate":12.0,

"currency_name":"Lek (ALL)",

"currency_code":"ALL"

}

]

}

Output:

JSON object containing 'status', 'data', 'message'

Update Exchange Rates output JSON

{

"data":[

{

"currencyid":2,

"rate":110.0,

"currency_name":"Afghani (AFN)",

"currency_code":"AFN"

},

{

"currencyid":3,

"rate":12.0,

"currency_name":"Lek (ALL)",

"currency_code":"ALL"

}

{

"currencyid":40,

"rate":134.0,

"currency_name":"Algeria Dinar (DZD)",

"currency_code":"DZD"

},

{

"currencyid":12,

"rate":211.0,

"currency_name":"Barbados Dollar (BBD)",

"currency_code":"BBD"

},

],

"message": [

"success"

],

"status": 200

}

Notes:

Status codes are:

1 > 200, for success



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022