Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

API salesInvoiceLines endpoint not working anymore

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I have been using the BC365 API to create Sales Invoices and Sales Invoice Lines. The solution was working fine for six months, all of a sudden I am getting an error. The salesInvoices endpoint still works and I can still create invoices. But I cannot add Sales invoice lines to them. Neither GET nor PUT request work now. It is like the salesInvoiceLines is not accessible.

Any ideas?

Thanks.

Error message below:
No HTTP resource was found that matches the request URI 'api.businesscentral.dynamics.com/.../salesInvoiceLines

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    RE: API salesInvoiceLines endpoint not working anymore

    Hi, I briefly tested Get, and there seems to be no problem. I think it might still be your URL issue, but you've been working fine for six months, maybe it's an environmental issue. I'm not sure.

    My Test URL:

    https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox213/api/v2.0/companies(de688871-0a8b-ed11-aad5-000d3a23152c)/salesInvoices(b00a4383-7091-ed11-bff5-000d3ace65d1)/salesInvoiceLines

    pastedimage1677023588279v1.png

    Hopefully other experts can give you better advice.

    Thanks

    ZHU

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans