-
Notifications
You must be signed in to change notification settings - Fork 1
home
This product is deployed to the http://incidents.routetodigitallive.com. It will allow users to interrogate a CSV file using ReST. The data can be accessed via the /incidents path and the header row of the CSV file defines the fields than can be interrogated. It is assumed that the header row exists and does not contain special characters.
http://incidents.routetodigitallive.com/incidents
incidents.routetodigitallive.com/incidents/[Incident id] incident id - /INC[0-9]+^
incidents.routetodigitallive.com/incidents?[field]=[criteria regex] ... field - The field parameter allows the caller to get a subset of the results based on a regex query. The field parameter can take one of the values from the header row of the spreadsheet.
to get the 1st page of incidents in html incidents.routetodigitallive.com/incidents
all incidents with “mobile” in the summary incidents.routetodigitallive.com/incidents?Summary=mobile
all incidents with “mobile” in the summary, raised by “Geoff” in XML format incidents.routetodigitallive.com/incidents?Summary=mobile&First Name=Geoff