web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Odata action method and custom service

(1) ShareShare
ReportReport
Posted on by 56
Hi team,
 
as searched on google, came to know that Odata action method and custom service are almost similar. Both are allowed to ran business logic via API call.
 
Kindly let me know when I should decide to use Odata action method &
 
when I should decide to use Custom service.

Kindly elaborate please.
 
Thanks in advance!
  • Layan Jwei Profile Picture
    8,421 Super User 2026 Season 2 on at
    Hi,
     
    Check out this link
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     
  • @rp@n Profile Picture
    56 on at
    Thanks Layan for the response.
     
    Yes that link I have already checked but having doubts when to decide exactly to use either custom service or Odata action method.
     
    kindly explain pls.
     
    thanks!
  • Layan Jwei Profile Picture
    8,421 Super User 2026 Season 2 on at
    Hi,
     
    Tell us your scenario and maybe we can help.
     
    For example, If the logic you are doing is related to the entity, then using odataAction makes sense and it will save you time to create request and response classes.
  • @rp@n Profile Picture
    56 on at
    thanks Lyan for the update
     
    I do not have any scenarios. going through multiple blogs for Custom services and also one of the blog which you shared.
     
    As you said "If the logic you are doing is related to the entity, then using odataAction makes sense and it will save you time to create request and response classes."
     
    Almost understood. Kindly provide me two separate examples for both please then it will easy for me to decide.
     
    thanks!
  • Deepak Agarwal Profile Picture
    9,370 Super User 2026 Season 2 on at
    D365FO supports different ways to acheive an integration requirement, and there is no one answer which one is better. Its majorly depends on detailed requirement, budget, data load, frequency and source/target system limitations. 
  • @rp@n Profile Picture
    56 on at
    I agreed, looking for separate example for both (odata action method & custom service).
     
    can anyone pls provide.
     
    thanks in advance!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 320 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 210

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans