Forum Discussion

AndreGanzarolli's avatar
AndreGanzarolli
Regular Visitor
3 years ago
Solved

Connect to API with many fileds

Hello, in my newer job I faced with this API to connect: [please, I need a help] 

-------------------------------------------------------------------- Part of JSON -----------------------------

},
{
    "name": "BI PV CC",
    "request": {
        "auth": {
            "type": "basic",
            "basic": [
                {
                    "key": "password",
                    "value": "password2022#",
                    "type": "string"
                },
                {
                    "key": "username",
                    "value": "Example_user",
                    "type": "string"
                }
            ]
        },
        "method": "GET",
        "header": [
            {
                "key": "software-key",
                "value": "12345678-225f-4bcd-8850-123456789",
                "type": "text"
            }
        ],
        "url": {
            "protocol": "http",
            "host": [
                "software",
                "clientcompany",
                "com",
                "br"
            ],
            "path": [
                "apiclient",
                "bi",
                "salesOrders"
            ],
            "query": [
                {
                    "key": "dataEmissaoInicio",
                    "value": "2022-11-25"
                },
                {
                    "key": "dataEmissaoFim",
                    "value": "2022-11-28"
                }
            ]
        }
    },
    "response": []
},
 
------------------------ END ------------------
The other part sent me that json with all those fields, that I simply dont know how get the responde (it´s also a json) on the power query. Can anyone give-me a light please?
 
I´m very thakful for your help
 

1 Reply