We provide API resources just by using the web extension and returning JSON to validated queries. For example a customer device might make a request like:
https://online.myDomain.ca/4DACTION/API/API_GetAssets?key=8B99FB68&criteria=new&pretty=yes <https://online.mydomain.ca/4DACTION/API/API_GetAssets?key=8B99FB68&criteria=new&pretty=yes> would receive something like: { "IosUpdateAvailable": "v0.5b2133", "Date": "2/29/20", "Time": "13:57:44", "Username": "Tom", "Query": { "key": "8B99FB68", "criteria": "new" "pretty": "yes" }, "Result": { "SetUTC": "2020-02-29T20:57:45.367Z", "Status": "Success", "Assets": [ { "esn": "0814IG3054E", "lat": 56.14575, "lon": -117.72689, "alt": 0, "speed": 0, "heading": 0, "utc": "2020-02-29T01:24:10Z", "localDT": "2/28/20 18:24:10", "UID": "A7250F54E0B34E679AF06E5A64B2101B", "modUTC": "2019-09-10T22:00:01.975Z", "Ident": "C-FHUY", } ] } } Easy and fast! Cheers, Tom Tom Buckler | Buckler Microelectronics Inc. 17008 - 90 Avenue NW | Suite 272 | Edmonton | AB | Canada | T5T 1L6 Cell: (780) 499-5525 > On Feb 27, 2020, at 4:49 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com > <mailto:4d_tech@lists.4d.com>> wrote: > > I've been asked a few times by prospective customers if we have an API for > our 4D app. My answer is that it can be accessed via ODBC. But that isn't > really what they want. > > I'd like to ask you guys what solutions you have implemented in this regard? > > Pat > > -- > ************************************************* > CatBase - Top Dog in Data Publishing > tel: +44 (0) 207 118 7889 > w: http://www.catbase.com <http://www.catbase.com/> > skype: pat.bensky > ************************************************* > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > <http://lists.4d.com/archives.html> > Options: https://lists.4d.com/mailman/options/4d_tech > <https://lists.4d.com/mailman/options/4d_tech> > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > <mailto:4d_tech-unsubscr...@lists.4d.com> > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************