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

Sending JSON script with parameters to D365 F&Ops data entity gives error "No HTTP resource was found that matches the request URI "

(0) ShareShare
ReportReport
Posted on by 17

I have created a new data entity and add  the following method on it. Now we would like to test this  with a JSON script in Postman

2577.pastedimage1606901154718v2.png

The idea is to send a JSON script to this method from Postman (which should do a update in D365). As you can see the method has parameters, and that seems a problem for Postman. If I create a D365 entity method without parameters, it works fine, but I need parameters. The following message (in Postman) occurs:

 

 

I already try out the following scripts (Post requests), but none of them were successful. Does anyone of yours any clue if it is possible to add parameters?

1. POST /{url}/data/entityname(dataAreaId='usmf',ProjId='000002')/Microsoft.Dynamics.DataEntities.Test

Body:

{

"dataAreaId" : "usmf",

"ProjID" : "000002"

}

2. POST /{url}/data/entityname/Microsoft.Dynamics.DataEntities.Test(dataAreaId='usmf',ProjId='000002')

Body:

{

"dataAreaId" : "usmf",

"ProjID" : "000002"

}

3. POST /{url}/data/entityname/Microsoft.Dynamics.DataEntities.Test

Body:

{

"dataAreaId" : "usmf",

"ProjID" : "000002"

}

4. POST /{url}/data/entityname/Microsoft.Dynamics.DataEntities.Test

+ insert parameters in the 'Params' section.

8741.pastedimage1606902572999v4.png

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,429 on at

    Hi DynaErp,

    What is your exact requirement here? If you have a data entity, it will perform an insert/update based on the values passed and the Entity key defined.

  • Verified answer
    Martin Dráb Profile Picture
    239,602 Most Valuable Professional on at

    The third case looks correct to me. What error do you get there?

    By the play, always use Insert > Insert Code (in the rich-formatting view) to paste source code and make sure you add your question to the right forum (I already moved this one).

  • DynaErp Profile Picture
    17 on at

    Hi Martin,

    I got following error :

    "Message": "No HTTP resource was found that matches the request URI ' xxxxxxx.cloudax.dyanmics.com/data/xxxxxxx No route data was found for this request."

  • Suggested answer
    DynaErp Profile Picture
    17 on at

    All,

    the issue is solved:

    Indeed Martin option 3) is the right one, but there was also another thing:

    The signature of the entity method is as follows, with require using projId instead of ProjId as used in the JSON syntax.

    pastedimage1606906509463v1.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 771

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 629 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 496

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans