service action , server action and api

Hi 

how can i know whether i need to create a service action, server action or rest api its little bit confusing for me can anyone clear me , thank you in advance 

Solution

Hello Praveen

here I am attaching the image from the ODC maybe it can solve your confusions 


thank you 

Solution