Mendix connect with spotfire - RestAPI or Odata service?

0
Hi, We need to use mendix data in spotfire. Could someone please help me on what to choose to connect mendix with spotfire? Can we use Rest API or odataservice and why?  Thanks in advance.
asked
2 answers
0

Hi Lokesh, if your application data that needs to be used in Spotfire, if it is only limited to minimal entities(tables) then it is better to publish those as OData services and use the OData URL in the sportfire platform to consume it but if data is spread across multiple multiple entities and associated to each other it would wise to use to RestAPI's.

answered
0

Hi Lokesh, OData APIs can expose associations between entities, and support filtering, sorting and pagination, so even for complex domain models OData can be a good way to expose it via an API. Also remember that OData is REST: it just standardises what functionality the REST endpoints should provide. OData APIs also provide a swagger/openapi contract out of the box.

answered