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

PATCH Request Business Central Web Service

(0) ShareShare
ReportReport
Posted on by 12

I am trying to perform a PATCH request in postman on a Business Central Cloud record. 

I have created the Web Service in Business Central, and published. I can perform a GET and view the record in postman. 

pastedimage1661445134426v1.png

I am trying to perform a PATCH to update any of the fields. The request looks like:

pastedimage1661445198594v2.png

My request body is set as:

{
    "Code1""Test"
}
The Primary Key of the "Outbound Transaction" is 12.
Please could anyone advise on anything I should be doing differently.
The page is a standard page, not an API page. 
Thank you. 
I have the same question (0)
  • Lars Lohndorf-Larsen Profile Picture
    on at

    Hi,

    I can't really see any problems there, so I tried it out here, also with Postman:

    PATCH api.businesscentral.dynamics.com/.../Customer_Card(No='20000')

    BODY

    {"Name": "Trey 2"}

    HEADERS

    Content-Type application/json

    If-Match *

    And this works fine. So to me it looks like you are doing everything correctly.

    My first idea was that you are missing the Content-Type header, but you are not.

    It's like maybe there is an invisible character in the Body? Try to re-type it (no copy and paste).

  • Lars Lohndorf-Larsen Profile Picture
    on at

    Only difference I can see, is that I specify the customer no like this:

    Customer_Card(No='20000')

    While you do it like this:

    Customer_Card(20000)

    But I would suspect that this would give a different error message if that was not correct.

  • TESDEveloper Profile Picture
    12 on at

    The issue has been resolved by adding the following to the headers:

    content-type: application/json;EEE754Compatible=true

    Our table has a Primary Key of ID which is an integer which seems to be the problem, and the need for the additional content-type. 

    This blog post identified the issue: https://forum.mibuso.com/discussion/75858/api-odata-batch-patch-requests-with-decimal-values

    Thank you. 

  • Suggested answer
    TESDEveloper Profile Picture
    12 on at

    The issue has been resolved by adding the following to the headers:

    content-type: application/json;EEE754Compatible=true

    Our table has a Primary Key of ID which is an integer which seems to be the problem, and the need for the additional content-type.

    This blog post identified the issue: forum.mibuso.com/.../api-odata-batch-patch-requests-with-decimal-values

    Thank you.

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Thanks for the update.

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,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans