Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Bom dia!
Como é possivel usar esta API passada por um fornecedor:
curl https://zeroresiduos.inlog.com.br:8090/dashboard/rest/exportarrelatorio -H "Content-Type: application/json" -X POST -d '{"Relatorio": "Produção Domiciliar", "Autenticacao": "chave", "NomeBanco": "dashboard_inlog", "Parametros": [{"CAMPO": "13,DATA_EXECUCAO", "OPERADOR": "igual", "VALOR1": "23/02/2024", "VALOR2": "23/02/2024"}, {"CAMPO": "4,NOME", "OPERADOR": "https://zeroresiduos.inlog.com.br:8090/dashboard/rest/exportarrelatorioigual", "VALOR1": "PGA", "VALOR2": "PGA"}, {"CAMPO": "6,DESCRICAO", "OPERADOR": "filtrar", "VALOR1": "DOMICILIAR,DOMICILIAR - RURAL - MECANIZADA", "VALOR2": "DOMICILIAR,DOMICILIAR - RURAL - MECANIZADA"}, {"CAMPO": "7,APAGADO", "OPERADOR": "igual", "VALOR1": "F", "VALOR2": "F"}]}' --insecure
Hola @NOVOTNI,
it's difficult to test but maybe it will work with a few tweaks on your part.
let
url = "https://zeroresiduos.inlog.com.br:8090/dashboard/rest/exportarrelatorio",
headers = [#"Content-Type"="application/json"],
body = Json.FromValue(
[
Relatorio = "Produção Domiciliar",
Autenticacao = "chave",
NomeBanco = "dashboard_inlog",
Parametros =
{
[
CAMPO = "13,DATA_EXECUCAO",
OPERADOR = "igual",
VALOR1 = "23/02/2024",
VALOR2 = "23/02/2024"
],
[
CAMPO = "4,NOME",
OPERADOR = "igual",
VALOR1 = "PGA",
VALOR2 = "PGA"
],
[
CAMPO = "6,DESCRICAO",
OPERADOR = "filtrar",
VALOR1 = "DOMICILIAR,DOMICILIAR - RURAL - MECANIZADA",
VALOR2 = "DOMICILIAR,DOMICILIAR - RURAL - MECANIZADA"
],
[
CAMPO = "7,APAGADO",
OPERADOR = "igual",
VALOR1 = "F",
VALOR2 = "F"
]
}
]
),
response = Web.Contents(url, [Headers=headers, Content=body, Timeout=#duration(0,0,30,0)])
in
response
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.