I have been trying out Appgyver and on the face of it, it looks really good.
Have it communicating with an Aware app via rest. Single record is perfect.
Problem is when returning a collection of records.
Aware returns the json with opening { } brackets and "response":
Like this......
Error: Error:
The result was not an array. Maybe the data you're looking for is inside one of the response object keys?
{
"response": [
{
"Code": "1",
"Data": "Mark",
"Title": "Weekly Meeting",
"CreatedDate": "11/10/2020",
"Active": "Yes",
"Description": "Weekly Meeting to review 4 week look ahead"
},
{
"Code": "2",
"Data": "Peter",
"Active": "No"
},
{
"Code": "3",
"Data": "George",
"Title": "Monthly Meeting",
"CreatedDate": "11/06/2020",
"Active": "Yes",
"Description": "Monthly Meeting to review 3 month look ahead"
}
]
}
status: -1
But Appgyver expects an Array like this....
Error: Error:
The result was not an array. Maybe the data you're looking for is inside one of the response object keys?
[
{
"Code": "1",
"Data": "Mark",
"Title": "Weekly Meeting",
"CreatedDate": "11/10/2020",
"Active": "Yes",
"Description": "Weekly Meeting to review 4 week look ahead"
},
{
"Code": "2",
"Data": "Peter",
"Active": "No"
},
{
"Code": "3",
"Data": "George",
"Title": "Monthly Meeting",
"CreatedDate": "11/06/2020",
"Active": "Yes",
"Description": "Monthly Meeting to review 3 month look ahead"
}
]
Does anyone know a way for Aware to return JUST the array?