Skip to main content

Notifications

Announcements

No record found.

Business Central forum

Entity does not support insert

Posted on by 145

I am using following API url to post the data in BC from postman- 

https://api.businesscentral.dynamics.com/v1.0/XXXXX/Sandbox/ODataV4/Company('CRONUS%20DE')/Kontakte

masked the XXXXX which was company guid

For GET call I am able to get List of all contact available in environment.

but for POST its throwing error- 

{

"error": {
"code": "BadRequest_MethodNotAllowed",
"message": "Entity does not support insert."

}

}

any help will be appreciated 

  • Unity Profile Picture
    Unity 10 on at
    RE: Entity does not support insert

    @Stefano

    Thanks for your prompt response!

    I am newbie in BC processing, can you share any useful link on how to set up the properties you mentioned?

    I want to post data to timesheet, Is that possible?

    api.businesscentral.dynamics.com/.../Time_Sheet_List


  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Entity does not support insert

    Or better: create a new page with the fields you need and use that page (more performant).

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Entity does not support insert

    If the page you have exposed as web service is Editable = false by default, you cannot insert records.

    You need to create a pageextension object and set editable = true property.

  • Unity Profile Picture
    Unity 10 on at
    RE: Entity does not support insert

    Can you please give more info in this where to set this property?

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Entity does not support insert

    Simply set editable = true property in the exposed page.

  • EniNavDeveloper Profile Picture
    EniNavDeveloper 5 on at
    RE: Entity does not support insert

    Hello.

    Maybe it's too late, but how did you solve this problem?

    Best regards

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Entity does not support insert

    hello ambesh,  How did you solve the problem? I have exactly the same error.

    Thank you

  • Ambesh Singh Profile Picture
    Ambesh Singh 145 on at
    RE: Entity does not support insert

    Thanks Stefano for quick response, my problem has been resolved.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Entity does not support insert

    Is this the Contact card or List Page publishes as web service? Is Insert enabled in that page?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans