slot https://www.valeaialomiteigal.ro/ OLE777 slot jp Link gacor https://www.irieshack.com
{"id":16527,"date":"2024-07-04T09:49:45","date_gmt":"2024-07-04T12:49:45","guid":{"rendered":"https:\/\/nextexperience.com.br\/?post_type=ht_kb&p=16527"},"modified":"2024-07-04T17:29:40","modified_gmt":"2024-07-04T20:29:40","slug":"conversor-de-moedas","status":"publish","type":"ht_kb","link":"https:\/\/nextexperience.com.br\/knowledge-base\/conversor-de-moedas\/","title":{"rendered":"Conversor de Moedas"},"content":{"rendered":"
\n
\n

Acesso \u00e0 API<\/h1>\n<\/div>\n<\/div>\n
\n
\n

Requerimentos do Acesso:<\/strong><\/p>\n\n\n\n\n\n\n
\n
\n
Par\u00e2metro<\/div>\n<\/div>\n<\/th>\n
\n
\n
Detalhes<\/div>\n<\/div>\n<\/th>\n
\n
\n
Descri\u00e7\u00e3o<\/div>\n<\/div>\n<\/th>\n<\/tr>\n<\/thead>\n
\n
\n
appId<\/div>\n<\/div>\n<\/td>\n
\n
\n
requerido
\nstring<\/div>\n<\/div>\n<\/td>\n
\n
\n
Informa\u00e7\u00e3o obrigat\u00f3ria para todas as APIs.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n
\n
\n
projectApiId<\/div>\n<\/div>\n<\/td>\n
\n
\n
opcional
\nstring<\/div>\n<\/div>\n<\/td>\n
\n
\n
Caso tenha um projeto na Next ou deseja maior limite, esta informa\u00e7\u00e3o poder\u00e1 ser usada.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n
\n
\n

Endpoint: <\/b>M\u00e9todo POST<\/b><\/h2>\n
\n\t\t\t
\n
\n
\n
<\/div>\n
<\/div>\n
<\/div>\n <\/div>\n
\n \n Copiar<\/span>\n Copiado<\/span>\n Use a different Browser<\/span><\/a>\n <\/div>\n <\/div>\n
<\/p>\n
convert_currency<\/pre>\n

<\/code><\/pre>\n\t\t\t<\/div>\n <\/div>\n

Par\u00e2metros de requisi\u00e7\u00e3o:<\/strong><\/p>\n\n\n\n\n\n\n
\n
\n
Par\u00e2metro<\/div>\n<\/div>\n<\/th>\n
\n
\n
Detalhes<\/div>\n<\/div>\n<\/th>\n
\n
\n
Descri\u00e7\u00e3o<\/div>\n<\/div>\n<\/th>\n<\/tr>\n<\/thead>\n
\n
\n
set<\/div>\n<\/div>\n<\/td>\n
\n
\n
requerido
\nstring<\/div>\n<\/div>\n<\/td>\n
\n
\n
Informa\u00e7\u00e3o sobre a moeda que deseja consultar a partir de uma moeda referencial.
\nExemplo<\/strong>: eur-brl\u00a0 \u00a0—\u00a0 \u00a0Convers\u00e3o de Real Brasileiro para D\u00f3lar Americano<\/div>\n<\/div>\n<\/td>\n<\/tr>\n
\n
\n
date<\/div>\n<\/div>\n<\/td>\n
\n
\n
opcional
\nstring<\/div>\n<\/div>\n<\/td>\n
\n
\n
Retorna a cota\u00e7\u00e3o final de uma data especifica com at\u00e9 30 dias antes da data atual.
\nFormato<\/strong>: 20240704\u00a0 \u00a0—\u00a0 \u00a0(AAAAMMDD – AnoM\u00easDia)<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Exemplo<\/strong><\/h2>\n
\n\t\t\t
\n
\n
\n
<\/div>\n
<\/div>\n
<\/div>\n <\/div>\n
\n \n Copiar<\/span>\n Copiado<\/span>\n Use a different Browser<\/span><\/a>\n <\/div>\n <\/div>\n
<\/p>\n
curl -X POST \"https:\/\/tools.nextexperience.com.br\/api\/convert_currency\" \\\r\n-H \"appId: seu_app_id\" \\\r\n-d \"set=eur-brl\"<\/pre>\n

<\/code><\/pre>\n\t\t\t<\/div>\n <\/div>\n

Resposta:<\/strong><\/p>\n<\/div>\n

\n\t\t\t
\n
\n
\n
<\/div>\n
<\/div>\n
<\/div>\n <\/div>\n
\n \n Copiar<\/span>\n Copiado<\/span>\n Use a different Browser<\/span><\/a>\n <\/div>\n <\/div>\n
<\/p>\n
\n
{<\/div>\n
\u00a0\u00a0\u00a0\u00a0“name”:\u00a0“Euro\/Real\u00a0Brasileiro”,<\/div>\n
\u00a0\u00a0\u00a0\u00a0“buy”:\u00a0“5.9224”,<\/div>\n
\u00a0\u00a0\u00a0\u00a0“sell”:\u00a0“5.9304”,<\/div>\n
\u00a0\u00a0\u00a0\u00a0“varBuy”:\u00a0“-0.0787”,<\/div>\n
\u00a0\u00a0\u00a0\u00a0“pctChange”:\u00a0“-1.31”,<\/div>\n
\u00a0\u00a0\u00a0\u00a0“high”:\u00a0“6.1083”,<\/div>\n
\u00a0\u00a0\u00a0\u00a0“low”:\u00a0“5.9023”,<\/div>\n
\u00a0\u00a0\u00a0\u00a0“date”:\u00a0“2024-07-04\u00a014:45:03”,<\/div>\n
\u00a0\u00a0\u00a0\u00a0“ref”:\u00a0“5fVNcaFBr26mmz9bGHBeR5pC8YwdqYHO10mQ3ZgZ2c3NKPMlwO”<\/div>\n
}<\/div>\n<\/div>\n

<\/code><\/pre>\n\t\t\t<\/div>\n <\/div>\n

Defini\u00e7\u00e3o<\/strong>:<\/p>\n