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 :
Small and medium business | Business Central, N...
Unanswered

Postman API - Path Parameters

(0) ShareShare
ReportReport
Posted on by 5

Hi, 

So I can get my api to work using Postman

But trying to replicate it in NAV is where i'm getting a 404 error.

There is a Path Parameter I need to pass 

pastedimage1659436664644v1.png

Within NAV I tried assigning a value to a variable 'order_id' thus giving me a url of

pastedimage1659436802059v2.png

Even tried passing it to the header

pastedimage1659437014207v4.png

is there a HttpwebRequest I'm missing ?

Many thanks in advance for any replies

I have the same question (0)
  • KTA Profile Picture
    1,200 on at

    In Postman you're setting that in param section but in your code you've moved it to header section

  • Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    The first i notice is that your base url in the code must be incorrect.

    That should probably end after /orders, you should verify that with the API documentation

    The second thing is that i would set the headers after you have added the body.

    Setting the body sometimes adds some default headers that you don't want there.

  • PDiddy_ Profile Picture
    5 on at

    Thanks for reply ..

    Yes I agree but I'm cannot see how to pass the order_id using HttpWebRequest

  • PDiddy_ Profile Picture
    5 on at

    Hi the url correct

    mp-api-pre-prod.kingfisher.com/.../tracking

    I will move the order around as suggested..

  • Mahesh U Profile Picture
    433 on at

    Hi,

    Try adding the path variables at the end of URL

    Something like below

    mp-api-pre-prod.kingfisher.com/.../tracking

  • PDiddy_ Profile Picture
    5 on at

    Hi Mahesh,

    I got a returned 404 not found

    Service URL: mp-api-prepod.kingfisher.com/.../tracking

    (PS... Thanks for Reply)

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,717 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 995 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 628 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans