Hi everyone, I’m currently using the LeanIX REST API to retrieve Application fact sheets, and in our setup the applications are synced from ServiceNow to LeanIX, so each Application should have a corresponding ServiceNow record with a sys_id; however, when calling /services/pathfinder/v1/factSheets?type=Application, the response only contains LeanIX-specific attributes like id, name, and fields, but no ServiceNow sys_id, so I’m wondering whether it can be accessed through the REST API and what the recommended approach is to retrieve or expose this value if it is not returned by default.
Solved
LeanIX REST API – How to retrieve ServiceNow sys_id for Applications?
Best answer by Michael Huisinkveld
Hi
the default field used in LeanIX has the technical name of “serviceNowExternalId”. That field is exposed via APIs and you should be able to query it. If you are not able to retrieve it, please create a support ticket and let us know your workspace name so we can take a closer look.
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.