Hi @team
i am having an IS layer contains some API's i have consumed there i need to use it in my Traditional web app UI without any aggregate i need to do CRUD operations on API How to do that ?
anyone share any sample OML please
thanks and regards
@karthick B
Hi Karthick
If you need to create records on the domains of those APIs, you need to consume the methods that allow you to do so.
Regards,
PZ
I published an article with a step-by-step guide on how to implement integration services in OutSystems: Best practice: Integration Services in OutSystems (medium.com)
For the article I integrated the what3words API as a sample. You can find the complete what3words Connector in the forge including a demo application.
Hope this helps for your project and would be pleased to receive some likes and this answer being marked as solution.
Kind regards, Sebastian
hi @karthick B in API's if you want to perform CURD operation you need to consume It with different method like post ,put ,patch ,get and delete by this method you can perform CRUD operation.
Hi Karthick,
You can only perform CRUD operations if the REST API you consume exposes them. There is not a single way to do them for all REST APIs, since REST APIs can also expose data in different ways that are not compatible with CRUD.
In general, like Aanchal wrote, you'll have a path like:
https://domain.com/restapi/resource/12345
to access a specific resource, and use HTTP verbs like GET, PUT, PATCH and DELETE to perform CRUD operations on that resource. But that is far from universal.