We’re new to Wolfram but in a very short time using the Web Development Platform have been able to develop a solution that presents business stats from system events logged in a Data Drop databin. This databin collects events and “tags” the system from which it came by adding a system ID (sID) as one of the variables logged. Our development solution hard codes the sID in the initialization section. What we would like to do is to pass the sID into the code as a variable in the Cloud Deploy URL which in turn we can pull out of the URL and use to “dynamically” set sID. The APIFunction seems to head in the right direction but I’ve not been able to figure out how to encapsulate all our code (initialization > creation of datasets > computation of datasets > presentation of stats) in the APIFunction body. In short, we’re stuck so am hoping the Community can give some guidance.
THANKS!