Insights Data General APIs

The following APIs are available:  

Sites API

The Sites API returns site information for your organization.

 

Path:  `/sites`

Verb:  `GET`

 

Notes:

 All sites will be returned

 No Query Parameters.

 

The response body of the GET method is formatted in JSON:

Key Type Description
data array list of site records

 

The following table describes the data returned by the API:

Key Description
siteId Site ID

siteName

Site name

Responses

This API will retrieve multiple records per API call. Each record will contain all information of a single site. All sites are returned in a single API response.

Example request

**GET**

https://api.amp.active.com/ANETGateway/rest/anet-insightsapi/sites?api_key=xxx

Example response

```json

[

  {

    "siteId": 1,

    "siteName": "This Site"

  },

  {

    "siteId": 2,

    "siteName": "That Site"

  }]

```

 

Related topics

Getting Started Guide

Authentication

Retrieving data from ACTIVE Net Insights

Common parameters

Error handling