Are there any rest API's which can be used to get domain separation information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 09:40 AM
Are there any rest API's which can be used to get domain separation information?
I am working on enterprise search solution which crawls content and then appropriate ACL's are stamped on item.
So, I am interested in knowing if rest API's are available for the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 10:03 AM
Hi @RoliTripa ,
You can use the table API to query records related to domain seperation, use the REST API to make a GET request to the appropriate table, you might want to query the "sys_domain" or "sys_domain_path" table with specifying query parameters in API request to filter results.
Make sure to authenticate your API request using OAuth/Basic Authentication. Parse the JSON response from API to extract the domain separation info you need.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @Hardik2109 are you aware of any documentation that shows how to retrieve data in a domain separated instance filtering on a specific domain? If I were to retrieve data from the Problem table, would this request work: GET https://<instance>.service-now.com/api/now/table/problem
?sysparm_query=sys_domain=<DOMAIN_SYS_ID>
Thanks.
