Post and put implementation
Question

Hi All, can you help me by implementing PUT and POST method to edit table data from API when exposing the rest API .Please help  to implement with post,put and edit 

Hi  Vineeth Kumar,

you can visit this link :

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Expose_REST_APIs/Expose_a_REST_API

or I'm attaching oml file with implement method  method  

Post , Put, Delete, Get 

check attach oml file



API_Expose.oml

I have created a table using forms and want to update data in that table through API request how to do so

Hi  Vineeth Kumar,

for this first you consume API Put method 

after that when you need to update any record then you need get method to show record by ID .

After edit details  call API put method on update button .

As your requirement I create whole CRUD operation using API  , attaching test URL and also oml file please check it .

Test URL :

https://personal-x1ixzlcz.outsystemscloud.com/TestApi/Customer


API_CRUD.oml

Hi  Vineeth Kumar,

for this first you consume API Put method 

after that when you need to update any record then you need get method to show record by ID .

After edit details  call API put method on update button .

As your requirement I create whole CRUD operation using API  , attaching test URL and also oml file please check it .

Test URL :

https://personal-x1ixzlcz.outsystemscloud.com/TestApi/Customer


API_CRUD.oml

Hi  Vineeth Kumar,

you can visit this link :

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Expose_REST_APIs/Expose_a_REST_API

or I'm attaching oml file with implement method  method  

Post , Put, Delete, Get 

check attach oml file



API_Expose.oml

I have created a table using forms and want to update data in that table through API request how to do so

Hi  Vineeth Kumar,

for this first you consume API Put method 

after that when you need to update any record then you need get method to show record by ID .

After edit details  call API put method on update button .

As your requirement I create whole CRUD operation using API  , attaching test URL and also oml file please check it .

Test URL :

https://personal-x1ixzlcz.outsystemscloud.com/TestApi/Customer


API_CRUD.oml

Hello @Vineeth Kumar 

Please check bellow guided path for better understanding of API's

 https://www.outsystems.com/training/courses/116/integrating-with-web-services/?LearningPathId=2

Hope it will be helpful !

Regards,

Anuli .


Hi Anuli,

Why aren't the videos playing

Hello Vineeth ,

Please check your network because video playing very well. There is only one video rest is practical exercise . You have to download a ZIP file of the Exercise Materials .It contains all the resources needed for those Lesson, including the Exercise Guide PDF. 

Thank you ,

Anuli. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.