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

I want to get orders in nav 2017 for rest api using basic auth

(0) ShareShare
ReportReport
Posted on by 30

I want to get orders in NAV 2017 by REST API and using basic auth. this solution is not working for me https://forum.mibuso.com/discussion/65684/httpclient-basic-authentication.

If anyone knoe please help me

I have the same question (0)
  • Bilal Haider Profile Picture
    414 on at

    Please send error message or the issue that you are getting. Sharing code snippet can also help.

  • urooj ali Profile Picture
    30 on at

    nothing

  • Suggested answer
    Bilal Haider Profile Picture
    414 on at

    Hi,

    Please check have you enabled OData services on the NAV service.

    And you are getting BaseURL as parameter but you are using URLstring to create webrequest. Is that fine?

  • urooj ali Profile Picture
    30 on at

    OData Service is enabled. This code is neither working nor showing mw error. by debugging I check that authorization is failed

  • Suggested answer
    Bilal Haider Profile Picture
    414 on at

    May be the information of username, password that you are uaing for authoruzation is incorrect. Verify it.

  • Bilal Haider Profile Picture
    414 on at

    See the verified answer in this post

    community.dynamics.com/.../how-to-use-basic-authentication-to-access-web-service-in-d365bc-server-in-a-vm

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans