API to get the list of entities and fields.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2024 09:07 AM
I have installed the `com.sn_customerservice` plugin. Is there an API to get the following?
- List of entities that the user can create/manage? E.g. Incidents, Contacts, Tasks, Accounts, etc.
- The layout/fields of the selected entity. E.g. fields within the "Incident" form and the field attribute (mandatory, length, type, etc.).
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2024 09:20 AM - edited ‎12-30-2024 09:21 AM
I looked at the links you shared, but couldn't get many details from them.
Below is the screenshot of a "Case" (sn_customerservice_case). A case has fields such as
- Asset (reference field)
- Product (reference field)
- Priority (dropdown field)
- Short Description (text field)
- ...... and all the other fields
Can I get these fields (along with their type) using the API? If so, can you point out which API and parameters to pass?