diff --git a/api/debug/johns.cfm b/api/debug/johns.cfm new file mode 100644 index 0000000..fd5ddea --- /dev/null +++ b/api/debug/johns.cfm @@ -0,0 +1,42 @@ + + + + + + SELECT ID, Name, BeaconShardID, BeaconMajor + FROM Businesses + WHERE Name LIKE '%john%beverages%' OR Name LIKE '%john\'s beverages%' + + + + #serializeJSON({ "OK": false, "ERROR": "No business found" })# + + + + + SELECT ID, Name, BeaconMinor, IsActive + FROM ServicePoints + WHERE BusinessID = + ORDER BY SortOrder, Name + + + + + + + +#serializeJSON({ + "OK": true, + "Business": { + "ID": qBiz.ID, + "Name": qBiz.Name, + "BeaconShardID": val(qBiz.BeaconShardID), + "BeaconMajor": val(qBiz.BeaconMajor) + }, + "ServicePoints": spList +})#