URL

GET https://{api-url}/api/v2/tenants/{tenantId}/sites/{siteId}

Sample URLs

https://{api-url}/api/v2/tenants/client_69856/sites/31
{
       "id": 1139,
       "name": "TestSite",
       "clientId": 4,
       "mspId": 3,
       "description": "",
       "address": "",
       "city": "",
       "state": "",
       "country": "United States",
       "zip": "",
       "devices": [
                   {
       "uniqueId": "1875653f-c5b7-40dd-998e-54b6fb25b422",
       "hostName": "",
       "ipAddress": "",
       "type": "DEVICE",
       "aliasName": "",
       "resourceName": "DOT-D1-SCCM-01_Old TEST",
       "resourceType": "Windows"
                 },
                 {
       "uniqueId": "31321789-ef92-41cd-bc96-01cc7bd38e1e",
       "hostName": "",
       "ipAddress": "",
       "type": "DEVICE",
       "aliasName": "",
       "resourceName": "DOT-TEST-NET",
       "resourceType": "Server"
                }
              ],
       "resources": [
                    {
       "id": "1875653f-c5b7-40dd-998e-54b6fb25b422",
       "name": "DOT-D1-SCCM-01_Old TEST",
       "ipAddress": "",
       "type": "Windows",
       "metaData": {},
       "resourceType": "Windows",
       "hostName": "",
       "resourceName": "DOT-D1-SCCM-01_Old TEST",
       "aliasName": ""
                    },
                    {
       "id": "31321789-ef92-41cd-bc96-01cc7bd38e1e",
       "name": "DOT-TEST-NET",
       "ipAddress": "",
       "type": "Server",
       "metaData": {},
       "resourceType": "Server",
       "hostName": "",
       "resourceName": "DOT-TEST-NET",
       "aliasName": ""
                   }
               ],
       "filterCriteria": {
       "id": 1320,
       "uid": "POLICY-c8e77000-9401-406b-8a1a-914cc00283c5",
       "name": "policy",
       "matchType": "ALL",
       "rules": [
                {
       "id": 215,
       "key": "Name",
       "operator": "Contains",
       "value": "test",
       "resourceType": "DEVICE"
               }
               ]
                         }
}