GetSecurityMappings
GET assetservers/{webId}/securitymappings

Retrieve security mappings based on the specified criteria. By default, all security mappings in the specified Asset Server are returned.

URL Parameters

Status Codes

200: A list of security mappings matching the specified condition.

Sample Response

{
  "Items": [
    {
      "WebId": "I1SMDqD5loBNH0erqeqJodtALAgu8UrMAZB0qWp9H7C4TAXQ",
      "Id": "ac14ef82-19c0-4a07-96a7-d1fb0b84c05d",
      "Name": "MySecurityMapping",
      "Description": "",
      "Path": "\\\\MyAssetServer\\SecurityMappings[MySecurityMapping]",
      "Account": "domain\\user",
      "SecurityIdentityWebId": "I1SIEDqD5loBNH0erqeqJodtALAYIKyyz2F5BGAxQAVXYRDBAGyPedZG1sUmxOOclp3Flwg",
      "Links": {
        "Self": "https://localhost.osisoft.int/piwebapi/securitymappings/I1SMDqD5loBNH0erqeqJodtALAgu8UrMAZB0qWp9H7C4TAXQ"
      }
    },
    {
      "WebId": "I1SMDqD5loBNH0erqeqJodtALAgu8UrMAZB0qWp9H7C4TAXQ",
      "Id": "ac14ef82-19c0-4a07-96a7-d1fb0b84c05d",
      "Name": "MySecurityMapping",
      "Description": "",
      "Path": "\\\\MyAssetServer\\SecurityMappings[MySecurityMapping]",
      "Account": "domain\\user",
      "SecurityIdentityWebId": "I1SIEDqD5loBNH0erqeqJodtALAYIKyyz2F5BGAxQAVXYRDBAGyPedZG1sUmxOOclp3Flwg",
      "Links": {
        "Self": "https://localhost.osisoft.int/piwebapi/securitymappings/I1SMDqD5loBNH0erqeqJodtALAgu8UrMAZB0qWp9H7C4TAXQ"
      }
    }
  ],
  "Links": {}
}
Enabling Operational Intelligence