Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
tktmastr
Helper I
Helper I

Adding a Field to API URL Request

Hi,

 

I'm not sure if I am asking this question correctly, but I am trying to pull a list of Events from a web API. That list of events contains an event ID that can be passed into another URL to retrieve a list of instances/dates. Is there a way I can pass through the Event IDs that are retrieved into the instances URL?

 

Displays List of Events: https://system.company.com/clientname/api/v3/events

 

    {
        "description""",
        "htmlDescription""<div id>\r\n\r\n</div>",
        "duration"0,
        "imageUrl""",
        "isOnSale"true,
        "name""2023 Test Event",
        "instanceDates""July 4-July 4",
        "thumbnailUrl""",
        "webEventId"null,
        "id": "20601ABGSVVQHCDMLPVSSHGJPQKDMCGQD",
        "firstInstanceDateTime""2023-07-04T19:30:00",
        "lastInstanceDateTime""2023-07-04T19:30:00"
    },

 

Displays List of Instances: https://system.company.com/clientname/api/v3/events/{id}/instances

 

Thanks for any assistance!

1 REPLY 1
lbendlin
Super User
Super User

You can JSON parse the return payload of the initial Web.Contents call and then access the individual parameters (and re-use them for subsequent Web.Contents calls.)  Beware of the Formula Firewall.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors