Insights
Follow this documentation to see what are the endpoints you can call to get all about Insights.
List all Insights Profile#
This endpoint is used to get all previous profiles created for a specific customer. Profiles are groups of Insights attributes set up to show only some parts of Insights. Once you have the list of profiles, you can do a search by a specific profile id.
Method: POST
Endpoint: {{env}}/api/insights/Profile/filter
- Response
Response
| Parameter | Type | Description |
|---|---|---|
| CurrentPage | number | The current page |
| PageSize | number | The amount of rows returned in the current page |
| TotalCount | number | The total rows the filter returns |
| Items | List of profiles | |
| Id | guid | Profile id |
| Name | string | Name |
| CustomerId | guid | Customer Id |
| CreatedAt | datetime | When the profile was created |
| InsightProfileItems | List of profile items | |
| Id | guid | Profile item id |
| DataDictionaryId | guid | Data dictionary id |
| Attribute | string | * if available |
| Period | string | Period |
| InsightsType | string | Insights Type |
View the Profile of a User#
This endpoint is used to get a specific group of Insights attributes according to the previous profile created.
Method: POST
Endpoint: {{env}}/api/insights/GetInsightsProfile
- Payload
- Response
Response
| Parameter | Type | Description |
|---|---|---|
| Value | guid | The corresponding value |
| InsightsType | string | Insights type |
| Period | string | Inform the period, Use the table below for valid options |
| Title | string | Attribute title |
Period
| Period |
|---|
| CurrentMonth |
| OneMonthAgo |
| TwoMonthsAgo |
| ThreeMonthsAgo |
| FourMonthsAgo |
| FiveMonthsAgo |
| SixMonthsAgo |
| SevenMonthsAgo |
| EightMonthsAgo |
| NineMonthsAgo |
| TenMonthsAgo |
| ElevenMonthsAgo |
Get Insights#
This endpoint is used to get the full Insights from a user in a specific period of time.
Method: POST
Endpoint: {{env}}/api/insights/GetInsights
- Payload
- Response
InsightPeriod
| InsightPeriod |
|---|
| 30 |
| 60 |
| 90 |
| 180 |
| 360 |