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, ...
Answered

Retrieve data using custom web service from D365fo

(0) ShareShare
ReportReport
Posted on by 30

Hi All,

I tried to retrieve some data in D365fo using custom web service, i checked the url using postman and got this return value (using GET method)

{
    "Parameters": [],
    "Return": {
        "Name""return",
        "Type""ListValueContract"
    }
}
and got the data using POST method.
{
    "$id""1",
    "ListProject": [
        {
            "$id""2",
            "ProjectId""P001",
            "ProjectDesc""Non Project",
            "ProjectDataArea""bb",
            "ErpId"5637146101
        }
}
How could i return the listproject data using GET instead of POST?
Thanks
Masha
I have the same question (0)
  • Verified answer
    Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Masha,

    I would say it's not possible to call web service in F&O with "Get" method.

    But it's should be doable with Logic apps (Trigger logic apps by Get request, make a call to D365 with POST and return response from web service)

  • it.dev Profile Picture
    30 on at

    Hi Sergei,

    I see, so we need to trigger it by get request and then call it again with post method. Thanks for your information sergei.

    Thanks

    Masha

  • Verified answer
    Martin Dráb Profile Picture
    240,020 Most Valuable Professional on at

    GET will give you description of the service operation; it won't execute it.

    If you must use GET, you'll need a middle-tier service that accepts a GET request and makes a POST request to F&O. Azure API Management might be a good choice.

    By the way, use Insert > Insert Code (in the rich formatting view) to paste source code. In this particular case, you can also benefit from the fact that it supports JSON language. It even highlights a syntax error in the second snippet.

    GET

    {
        "Parameters": [],
        "Return": {
            "Name": "return",
            "Type": "ListValueContract"
        }
    }

    POST

    {
        "$id": "1",
        "ListProject": [
            {
                "$id": "2",
                "ProjectId": "P001",
                "ProjectDesc": "Non Project",
                "ProjectDataArea": "bb",
                "ErpId": 5637146101
            }
    }
    

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 June 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... 410 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 390

#3
Martin Dráb Profile Picture

Martin Dráb 262 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans