OData (Open Data Protocol) allows the creation and consumption of queryable and interoperable RESTful APIs in a simple and standard way. It is an OASIS standard that defines the best practice for building and consuming RESTful APIs. OData helps you focus on your business logic while building RESTful APIs without having to worry about the approaches to define request and response headers, status codes, HTTP methods, URL conventions, media types, payload formats and query options.

IBM App Connect Professional enables connectivity with OData endpoints like Salesforce Lightning. App Connect can also connect to apps (endpoints) that do not support OData, using hundreds of pre-built connectors, and expose those endpoints as OData interfaces.

For example, IBM App Connect Professional can expose critical data in existing backend systems as OData APIs into Salesforce in real time, without needing any data migration. Salesforce Lightning can make OData GET HTTP calls to retrieve live data as needed or make other OData calls to perform OData activities in App Connect.

Expose data as OData APIs for Salesforce Lightning with IBM App Connect (Click image to see full size.)

OData activities, to read or write OData, work in conjunction with HTTP/ReST activities in App Connect. That means the output of the HTTP activities is given as input to OData activity and then the output of the OData activity is passed back as input to the HTTP activities.

App Connect Studio showing orchestration with OData read and write nodes

3 comments on"OData APIs and connectivity using IBM App Connect"

  1. Can I know that I can use any odata service to connect to IBM Watson bot or its only for sales force

    • @chinmay,
      OData use is not limited to Salesforce. (I used Salesforce as the main example when first writing the information.)
      I’ve passed your question on to our OData architect for a more considered reply about the OData alternatives.
      Regards,
      Ian

    • Hi @chinmay

      You can use App Connect Professional Studio to process OData interactions from any ‘OData client’ that supports OData 4.0.

      From the point of view of the consuming Application, this means that App Connect will act as a ‘data source’.

      So, to answer your specific question: Can you use OData to connect to IBM Watson?
      This boils down to a question of whether the Watson services can act as consumers of OData 4.0.
      I will check into this to be certain, but I am not aware that this is currently possible.

      What certainly IS the case is that some of the Watson services can interact with REST APIs (e.g. Watson Conversation) – and App Connect also has the capability to expose a REST API.

      Finally, App Connect designer has built-in connectors to interact directly with several of the Watson services.

Join The Discussion

Your email address will not be published. Required fields are marked *