Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Web API Reference

AssetServer List

AssetServer List

Retrieve a list of all Asset Servers known to this service.

Request

GET assetservers

URL Parameters

  • selectedFields

    List of fields to be returned in the response, separated by semicolons (;). If this parameter is not specified, all available fields will be returned. See Selected Fields for more information.

  • webIdType

    Optional parameter. Used to specify the type of WebID. Useful for URL brevity and other special cases. Default is the value of the configuration item "WebIDType". See WebID Type for more information.

Status Codes

200: A list of servers.

Sample Response Body

{
  "Items": [
    {
      "WebId": "I1RSDqD5loBNH0erqeqJodtALA",
      "Id": "96f9a00e-4d80-471f-aba9-ea89a1db402c",
      "Name": "MyAssetServer",
      "Description": "Sample Description",
      "Path": "\\\\MyAssetServer",
      "IsConnected": true,
      "ServerVersion": "2.5.0.5039",
      "ServerTime": "2014-07-22T14:00:00Z",
      "ExtendedProperties": {},
      "Links": {
        "Self": "https://localhost.osisoft.int/piwebapi/assetservers/I1RSDqD5loBNH0erqeqJodtALA"
      }
    },
    {
      "WebId": "I1RSDqD5loBNH0erqeqJodtALA",
      "Id": "96f9a00e-4d80-471f-aba9-ea89a1db402c",
      "Name": "MyAssetServer",
      "Description": "Sample Description",
      "Path": "\\\\MyAssetServer",
      "IsConnected": true,
      "ServerVersion": "2.5.0.5039",
      "ServerTime": "2014-07-22T14:00:00Z",
      "ExtendedProperties": {},
      "Links": {
        "Self": "https://localhost.osisoft.int/piwebapi/assetservers/I1RSDqD5loBNH0erqeqJodtALA"
      }
    }
  ],
  "Links": {}
}
In This Topic
TitleResults for “How to create a CRG?”Also Available in