web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

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,748 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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. OussamaSabbouh 2,068 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Dhiren Nagar 1,194 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. YUN ZHU 1,123 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans