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

Trying to create customers using ODATAV4 Endpoints

(1) ShareShare
ReportReport
Posted on by 17
I am trying to create customers usinf ODATAV4 and here is the web service URL I am having
 
 
And from my code I am hitting the URL using POST method and trying to create customer data
 
 
 
Post JSON :{id : UUID , displayName : 'Test'}
 
but I am getting error as like below
 
{
/error/: {
/code/: /BadRequest/,
/message/: /The property 'displayName' does not exist on type 'NAV.Customers'. Make sure to only use property names that are defined by the type. CorrelationId: d6440cdd-3d5a-49dc-9cba-ffe595c2c35b./
}
}
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 77,981 Super User 2025 Season 1 on at
    Trying to create customers using ODATAV4 Endpoints
    Hi, as shown below, there is no displayName field, only Name field. Please try it first.
     
    Hope this helps.
    Thanks.
    ZHU
  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,159 Super User 2025 Season 1 on at
    Trying to create customers using ODATAV4 Endpoints
    1. You published page 22 which list type and does not support insertion so please use page 21
    2. You can use GET first to check what fields are available and use then. You can try Name instead of displayName
  • gdrenteria Profile Picture
    gdrenteria 14,557 Most Valuable Professional on at

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans