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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.