Hi,
I have a POST request to create a customer with special characters in its name using API. I created an API page of customer and published it.
When I am sending a POST request with special characters, its not creating it correctly. I am testing with Postman and below are my results.
How can this be done? Do I need to add any header value?
You can ignore to define the caption of field here.
I am using standard customer table behind the API but what I noticed, In my API page it was mentioned as name not Name.
I think its case sensitive but for now it works.
Its strange. Are you using standard Customer table behind the API?
Hi Nitin Verma
Its a strange thing for me but the problem got solved by putting the field name in LOWERCASE letters.
previously my Json body was
{ "Name": "CANON ESPAÑA Nº1 5 €" }
After changing it to the LOWERCASE it works fine.
Thanks
Yes, I am doing with standard one, if you are using custom one, you need to check what is wrong your side.
Thanks.
Hi Nitin Verma
I can see its working at your end. Have you used the standard customer api page? I am testing it with a custom created api page.
Could that be the issue?
In My side its working fine.
Also its seems me wrong the url you are working
the correct url is - api.businesscentral.dynamics.com/.../customers
Hi.
Its CANON ESPAÑA Nº1 5 €.
I am using it with Customer API as a name of Customer
Give me your special characters in Txt format, let me try my side.
Thanks
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156