Currency rates released for MKG API


The 'Currency rates' table has been released for the MKG API. The following calls are possible: GET, PUT, POST, DELETE. The first example shows how to create a currency rate, the second how to edit or delete a currency rate. When changing or deleting a currency rate, the Rowkey of the currency rate must be included.



POST {{restUrl}}/Documents/valk/

{
    "request": {
        "InputData":{
            "valk":[
                {
                    "valk_dat_geldig": "2023-02-12",
                    "valk_valu_van": "Euro",
                    "valk_valu_naar": "GBP",
                    "valk_koers": "2.0"
                }
            ]
        }
    }
}

  • valk_dat_geldig = valid date of the exchange rate (required)
  • valk_valu_van = currency of (required)
  • valk_valu_naar = currency to (required)
  • valk_koers = the exchange rate of the currency from and to (required)



PUT {{restUrl}}/Documents/valk/{{valkRowKey}}

{
    "request":{
        "InputData":{
            "valk":[
                {
                    "valk_koers":"3.0"
                }
            ]
        }
    }
}