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

Notifications

Announcements

No record found.

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
    237,961 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
    237,961 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans