Url: https://api.playkey.net/rest/PlaykeyAPI.svc/currencies/rate?lang={lang}¤cy_from={currency_from}¤cy_to={currency_to}
HTTP Method: GET
The following is a description of the parameters request:
currency_from - Currency ISO code convert from currency_to - Currency ISO code convert to lang - Display language *if the optional fields are blank, do not participate in forming the signature
Description of how to response:
error - Error information code - Error code. Error 0 - no error message - Error message. Empty if none currency_rate - Currency rate
The following is an example response Json body:
{ "error": { "code": 0, "message": "string" }, "currency_rate": 1106587656 }
The following is an example response Xml body:
<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <error> <code>0</code> <message>string</message> </error> <currency_rate>1106587656</currency_rate> </result>