CMDBuild Forum

API operation: callFunction

Hi,

I'm trying to call your SOAP API to get data from a PostgreSQL function used in Dashboard. When I tried to implement my own function I noticed that on of listed data types mentioned in Administrator Manual doesn't work: timestamp. This gives the following error: java.sql.Timestamp cannot be cast to org.joda.time.DateTime

Anyway, I detected another problem, when I call the built-in function: cmf_active_cards_for_class
Response only contains the first row of that query.

 

Best regards,

Pedro

Thank you for your report, we'll check and fix the issue as soon as possible.
 
Best regards.
 
-- Davide Pavan
 
Previously Pedro wrote:

Hi,

I'm trying to call your SOAP API to get data from a PostgreSQL function used in Dashboard. When I tried to implement my own function I noticed that on of listed data types mentioned in Administrator Manual doesn't work: timestamp. This gives the following error: java.sql.Timestamp cannot be cast to org.joda.time.DateTime

Anyway, I detected another problem, when I call the built-in function: cmf_active_cards_for_class
Response only contains the first row of that query.

 

Best regards,

Pedro