Hi Roger,
It appears that when coming through the web handler is must be JsonSerializable. Is this true?
If the invokable method's
response attribute in the RestMethod annotation contains the parameter name, then the class must implement JsonSerializable. This is because in this case the parameter values are used as part of the JSON body that's returned.
So given somthing like the below, the ItemParameter class must inherit from Consultingwerk.JsonSerializable.
@RestMethod (address="/UpdateItem", requestMethod="get",
parameterClassName="Osprey.Pos.Item.ItemParameter",
response="poItemParameter").
method public void UpdateItem(poItemParameter as Osprey.Pos.Item.ItemParameter ):
/* do work */
end method.
HTH,
-- peter