Forum Discussion
tktmastr
3 years agoHelper 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
- lbendlinSuper 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.