We've been testing out AppGyver trialling replacing an existing native app. It has a great user interface and active forum and is showing promise as a way of leveraging AwareIM's REST facilities. One issue we have is how AwareIM constructs a REST response when it returns a SINGLE item where MULTIPLE items are possible. The same AwareIM REST service has a different response structure if a SINGLE result is given.
SINGLE result return:
{
Positions: "Sales Representative",
NumberFullName: "Cathy Smith",
Category: "Non Member Administrator",
TxnStatus: "Does not pay"
}
MUTLIPLE results return (not the addtion of response : [ ])
{
response: [
{
Positions: "Representative",
NumberFullName: "John Smith",
Category: "School",
TxnStatus: "Financial"
},
{
Positions: "Assoc Representative",
NumberFullName: "Joe Blow",
Category: "School",
TxnStatus: "Financial"
}
]
}
Ideally the SINGLE result would also return response : [ ].
We've setup login in AppGyver to handle the different responses but it's messy (have to make multiple REST requests).
We've only tested this in 8.4 (not 8.5)