web
You’re offline. This is a read only version of the page.
close
Skip to main content
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 10

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)
  • Suggested answer
    Nitin Verma Profile Picture
    21,605 Moderator on at
    RE: PATCH Request Business Central Web Service

    Thanks for the update.

  • Suggested answer
    TESDEveloper Profile Picture
    10 on at
    RE: PATCH Request Business Central Web Service

    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.

  • TESDEveloper Profile Picture
    10 on at
    RE: PATCH Request Business Central Web Service

    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. 

  • Lars Lohndorf-Larsen Profile Picture
    on at
    RE: PATCH Request Business Central Web Service

    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.

  • Lars Lohndorf-Larsen Profile Picture
    on at
    RE: PATCH Request Business Central Web Service

    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).

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,869 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,484

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,242

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans