Skip to main content

Notifications

Announcements

No record found.

Customer Service forum

Api to Describe the fields of incident in dynamics.

Posted on by 25

Hey! 

I am using `https://[org url]/api/data/v9.0/incidents` . - to get all the fields of the case in dynamics. 

But this just list the fields, it doesn't tell, what type of fields they are, if they are multi picklist, boolean or string. 

So i want to return all the fields of the case, with there type and any other information if provided. 

Can someone please help me with the api?

Thanks. :)

Categories:
  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: Api to Describe the fields of incident in dynamics.

    Please refer below url:

    Please replace <CRMURL> with org url.

    https://<CRMURL>/api/data/v9.0/EntityDefinitions(LogicalName='account')/Attributes/

    pastedimage1570028519077v1.png

    Here is the place where you will get all metadata info.

  • RajarajanS Profile Picture
    RajarajanS on at
    RE: Api to Describe the fields of incident in dynamics.

    Hello,

    You can try using the following call:

    "https://[org url]/api/data/v9.0/EntityDefinitions(LogicalName='incident')?$select=LogicalName&$expand=Attributes"

    This call should be able to return you all the attributes and their types as well.

    Also you can refer to the articles:

    docs.microsoft.com/.../use-web-api-metadata

    docs.microsoft.com/.../query-metadata-web-api

    Hope this helps

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums

    Regards,

    Raj

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: Api to Describe the fields of incident in dynamics.

    Himani,

    In your case you want to retrieve fields and information related information. I would suggest you to retrieve metadata.

    Please refer below url for reference:

    stackoverflow.com/.../retrieving-entity-metadata-using-web-api

    www.inogic.com/.../

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans