Cristhy

Web API queries in a web browser

Discussion created by Cristhy on May 31, 2020

What Authentication method you are using to connect to the PI Web API?
1. Browse your piwebapi URL
2. Select System URL. Inside select Configuration URL.
3. See the property "Authentication Methods". It has lists the available Authentication Methods. In my case, I have only Kerberos Authentication Method.

What is the Windows account used to connect to the PI Web API?
1. Browse your piwebapi URL
2. Select System URL. Inside select UserInfo URL.
3. See the property "Name". It has lists of windows accounting to being used to pi webapi.

What is the version of the PI Web API?
1. Browse your piwebapi URL
2. Select System URL. Inside select Version URL.
3. See version of product

What is the version of the AF Server?
1. Browse your piwebapi URL
2. Select AssetServer URL. Inside select self URL.
3. See the property "Serverversion". It has lists of version of AF Server.

How many databases are there in the AF Server?
1. Browse your piwebapi URL
2. Select AssetServer URL. Inside select link-databases URL.
3. You can see all databases. You must to count to know how many databases exists.


What is the Server ID of the PI Data Archive?
1. Browse your piwebapi URL
2. Select Dataservers URL. Inside select self URL.
3. You can see the properties Id and WebID

Using the point list link, find the Point ID and WebId of point 'CDT158'
1. Browse your piwebapi URL
2. Select Dataservers URL. Inside select Points and self URL.
3. See the property "Id". It's id of server.

Using the Interpolated data link for CDT158 determine what is the default start time, end time, and time interval for the interpolated data?
1. Browse your piwebapi URL
2. Select Dataservers URL. Inside select Points and InterpolatedData URL.
3. See default start time

Outcomes