Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Change host of URI (REST)

Seiya123
Tera Contributor

Hello,

 

I  want to get data form Product instance to Power BI using REST API.

I created URI at Development instance and change host from Product instance to Development instance.

But I can't get data from Product instance to Power BI.

 

In Development instance I can get data, So I don't understand why can't get data from Product instance to Power BI.

 

Are there any special restrictions in Product instance?

 

Thank you for your assistance!

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Seiya123 ,

API you created for dev looks good.

You will need to create a API for Prod instance as well.

 

View solution in original post

3 REPLIES 3

Community Alums
Not applicable

Hi @Seiya123 ,

Can you share the URL/API you created for both Dev and Prod please.

And how did you create the API?URL?

 

 

Hi @Community Alums,
Thank you for your reply!

the URL I created is as follows.
For security reasons,I'm hiding some of it.

Create URL:https://{Development URL}/api/now/table/{table name}?sysparm_limit=1

I created the URL from REST API Explorer.


Is it not enough to simply replace {Development URL} with a Product URL?

Community Alums
Not applicable

Hi @Seiya123 ,

API you created for dev looks good.

You will need to create a API for Prod instance as well.