Setting domain scope in ServiceNow API calls

hrushi1
Tera Contributor

Hello,

 

I am trying to make an API call in an MSP instance in ServiceNow. While trying to retrieve some records like groups and domains I am getting only the records that are stored globally. Is there any way I can set the domain as global before making the API call? 

 

Thanks 

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi
the concept of domain-separation is not bypassed for API requests. That means you can only pull data the user you are using for the API request is allowed to see. There is no way to set any switch to "global" before requesting, as this would break the domain separation!!

Maik

View solution in original post

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi
the concept of domain-separation is not bypassed for API requests. That means you can only pull data the user you are using for the API request is allowed to see. There is no way to set any switch to "global" before requesting, as this would break the domain separation!!

Maik