This is a development release
Takes JSON input from an appsheet webhook and writes it to a table. Purpose: to store records of events with a generic structure to be able to be rendered or recalled on demand.
POST: /appsheet/receipter/:id
{
"UpdateMode": "",
"Application": "Application Name",
"TableName": "Table",
"UserName": "Ben",
"At": "12/6/2022 1:59:26 AM",
"Data": {
"ID": "2",
"App": "AppSheetAppName-1234567",
"Name": "",
"Value": "",
"User": "",
}
}
GET: /appsheet/receipter/:id?template=https://path.to.html.url/
Serve your custom templates here if you like.
GET: /appsheet/receipter/template/:templateName
ID | Parent_ID | Data | User | Module | Table | Recorded | createdAt | updatedAt |
---|---|---|---|---|---|---|---|---|
uuid | :id from route | {"msg":"json"} |
BBC | ModuleName | TableName | Recorded | created timestamp | updated timestamp |
- Add package and pass in sequelize and mailer
- POST / GET and away you go.
I'm sure there will be issues - for the moment, that is all.