Require API to get PrimaryNameAttribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 10:11 PM
Hi Team,
We need few information on API from ServiceNow.
Do we have any api that responds PrimaryNameAttribute and PrimaryIdAttribute for an entity.
for example : MSD has option to get the PrimaryNameAttribute through api.
Below is the sample request and response for MSD
"api/data/v9.2/EntityDefinitions(LogicalName='contact')?$select=LogicalCollectionName,PrimaryIdAttribute,LogicalName,DisplayName,PrimaryNameAttribute"
Response has below attributes
"LogicalCollectionName": "contacts",
"PrimaryIdAttribute": "contactid",
"LogicalName": "contact",
"PrimaryNameAttribute": "fullname",
"fullname" is the field name where we can map this field to get the value.
We need to know, if there is any similar api for ServiceNow, which returns PrimaryNameAttribute field name, so that we can use that name to get the value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 10:50 PM
A humble remainder and an immediate response is greatly appreciated