Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Api Could not find a property named BC Cloud

Posted on by 74
Hi 
I'm trying to query an api using ?$expand but I'm having this error in Postman
 
"Could not find a property named 'Modelos' on type 'NAV.ApiCarBrand'.  CorrelationId:  41ee2565-5e08-4fcd-b648-18fbebb11b02."
 
I have use this code:
 part(Modelos; "API Car Model")
            {
                //
                ApplicationArea = all;
                //Multiplicity = ZeroOrOne;
                Caption = 'Car Models';
                EntityName = 'Modelos';
                EntitySetName = 'Modelos';
                SubPageLink = "Brand Id" = Field(SystemId);
            }
 
I decided to use the samen name in  (part, Entityname, and entitysetname) and my Get is 
 
But always is the same error. I understant that the name that I use in PART(Modelos)  is the name that I have to use in "expand"
 
Could someone tell me what I'm doing wrong
 
 
 
 
 
  • YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    Api Could not find a property named BC Cloud
    It looks like you are using Odata, not API. As far as I know, Odata does not support $expand.
    Please create a custom API to solve this problem.
     
    PS: Dynamics 365 Business Central Online: Endpoints for the APIs (V1.0, V2.0, Beta, custom, automation……)
     
    Thanks.
    ZHU
  • gdrenteria Profile Picture
    gdrenteria 12,181 Most Valuable Professional on at
    Api Could not find a property named BC Cloud

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans