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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to get Job ID from Recurring Integration Job using Rest API call

(0) ShareShare
ReportReport
Posted on by 5

I want to fetch job details from Dynamics 365 Finance and Operations for that I need Job Id I am unbale to find out way how to get Job Id from Dynamics 365 Finance and Operations using any Rest APIFinance-and-OperationsJobDetails.png

I have the same question (0)
  • Martin Dráb Profile Picture
    240,275 Most Valuable Professional on at

    Do you mean that you need something else than what the recurring integrations API offers through GetMessageStatus?

  • Dnyanesh Profile Picture
    5 on at

    I am using below enqueue Url to fetch erros "/data/DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.GetExecutionErrors  My requirement is I want to get the list of errors of that particular job so for that I need job id

  • AnithaEswaran Profile Picture
    2,032 on at

    Hi,

    Rest API creates 'Messages'

    pastedimage1654153568534v1.png

    pastedimage1654153588945v2.png

    'Execution Details' in the below form will be enabled when the 'Message Status' is set to either 'Processed' or 'Processed with Error' 

    pastedimage1654153609435v3.png

    With the details from message id, it is possible to fetch the job id by analyzing table relations in these forms. 

  • Martin Dráb Profile Picture
    240,275 Most Valuable Professional on at

    GetExecutionErrors requires an execution ID. And it seems that getting an execution ID really isn't supported by the API, as discussed here.

  • Suggested answer
    msft enthusiast Profile Picture
    6 on at
    In D365 F&O, there is an API DataManagementDefinitionsGroups-GetExecutionIdByMessageId. It takes MessageId as parameter and returns the JobId. Here is the syntax if you are using Postman.
     
     
    POST /data/DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.GetExecutionIdByMessageId
    BODY
    {
        "_messageId":"<messageId>"
    }
     
    If you are using Logic Apps Standard Edition, please search for "Fin & Ops Apps (Dynamics 365) and select "Execute action". In the dropdown for Action, please select DataManagementDefinitionsGroups-GetExecutionIdByMessageId
     

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

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 264 Most Valuable Professional

#3
Subra Profile Picture

Subra 243 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans