Skip to main content

Notifications

Community site session details

Community site session details

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

Dynamics 365 BC - Adding attachments in Purchase Invoice

(0) ShareShare
ReportReport
Posted on by 18

Hi Community Experts,

I am seeing a problem in Dynamics 365 BC upload attachment.

We were using ODATA web service with object type -Page and object id as -5511.

Below is the example URL

https://api.businesscentral.dynamics.com/v2.0/TenantId/Sandbox/ODataV4/Company('CRONUS%20USA%2C%20Inc.')/Attachments

But now looks like this web service does not exists in Dynamics 365 BC online.

I am able to find the web service with id 2121, but after integration it is showing error as 'The remote server returned an error: (405) Method Not Allowed.' 

Could you please help to resolve this?

 

  • Miscrosoft Dynamcis GP Profile Picture
    18 on at
    RE: Dynamics 365 BC - Adding attachments in Purchase Invoice

    Hi,

    Thanks for the reply.

    I have used web service Object Type as “Page” and Object Id as “20039 attachments” and now it is working fine.

  • Suggested answer
    DAnny3211 Profile Picture
    9,276 Moderator on at
    RE: Dynamics 365 BC - Adding attachments in Purchase Invoice

    Hi

    look this

    joshanglesea.wordpress.com/.../

    JAngle

    DAniele

  • Martin Dráb Profile Picture
    232,942 Most Valuable Professional on at
    RE: Dynamics 365 BC - Adding attachments in Purchase Invoice

    Moved from Dynamics 365 Finance Forum.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,161 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,942 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans