Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!