POST v2/apps/GetGaData

Get the Google Analytics data of the app

Request Information

URI Parameters

None.

Body Parameters

Collection of ANReportRequest
Name Type Description
ViewId string
SamplingLevel string
FiltersExpression string
IncludeEmptyRow boolean
DateRanges Collection of ANDateRange
Metrics Collection of ANMetrics

Request Formats

[
  {
    "viewId": "sample string 1",
    "samplingLevel": "sample string 2",
    "filtersExpression": "sample string 3",
    "includeEmptyRow": true,
    "dateRanges": [
      {
        "startDate": "sample string 1",
        "endDate": "sample string 2"
      },
      {
        "startDate": "sample string 1",
        "endDate": "sample string 2"
      }
    ],
    "metrics": [
      {
        "expression": "sample string 1",
        "alias": "sample string 2"
      },
      {
        "expression": "sample string 1",
        "alias": "sample string 2"
      }
    ]
  },
  {
    "viewId": "sample string 1",
    "samplingLevel": "sample string 2",
    "filtersExpression": "sample string 3",
    "includeEmptyRow": true,
    "dateRanges": [
      {
        "startDate": "sample string 1",
        "endDate": "sample string 2"
      },
      {
        "startDate": "sample string 1",
        "endDate": "sample string 2"
      }
    ],
    "metrics": [
      {
        "expression": "sample string 1",
        "alias": "sample string 2"
      },
      {
        "expression": "sample string 1",
        "alias": "sample string 2"
      }
    ]
  }
]
<ArrayOfGoogleAnalyticsTokener.ANReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NativLabs.TouchApp.Core.Tools">
  <GoogleAnalyticsTokener.ANReportRequest>
    <DateRanges>
      <GoogleAnalyticsTokener.ANDateRange>
        <EndDate>sample string 2</EndDate>
        <StartDate>sample string 1</StartDate>
      </GoogleAnalyticsTokener.ANDateRange>
      <GoogleAnalyticsTokener.ANDateRange>
        <EndDate>sample string 2</EndDate>
        <StartDate>sample string 1</StartDate>
      </GoogleAnalyticsTokener.ANDateRange>
    </DateRanges>
    <FiltersExpression>sample string 3</FiltersExpression>
    <IncludeEmptyRow>true</IncludeEmptyRow>
    <Metrics>
      <GoogleAnalyticsTokener.ANMetrics>
        <alias>sample string 2</alias>
        <expression>sample string 1</expression>
      </GoogleAnalyticsTokener.ANMetrics>
      <GoogleAnalyticsTokener.ANMetrics>
        <alias>sample string 2</alias>
        <expression>sample string 1</expression>
      </GoogleAnalyticsTokener.ANMetrics>
    </Metrics>
    <SamplingLevel>sample string 2</SamplingLevel>
    <ViewId>sample string 1</ViewId>
  </GoogleAnalyticsTokener.ANReportRequest>
  <GoogleAnalyticsTokener.ANReportRequest>
    <DateRanges>
      <GoogleAnalyticsTokener.ANDateRange>
        <EndDate>sample string 2</EndDate>
        <StartDate>sample string 1</StartDate>
      </GoogleAnalyticsTokener.ANDateRange>
      <GoogleAnalyticsTokener.ANDateRange>
        <EndDate>sample string 2</EndDate>
        <StartDate>sample string 1</StartDate>
      </GoogleAnalyticsTokener.ANDateRange>
    </DateRanges>
    <FiltersExpression>sample string 3</FiltersExpression>
    <IncludeEmptyRow>true</IncludeEmptyRow>
    <Metrics>
      <GoogleAnalyticsTokener.ANMetrics>
        <alias>sample string 2</alias>
        <expression>sample string 1</expression>
      </GoogleAnalyticsTokener.ANMetrics>
      <GoogleAnalyticsTokener.ANMetrics>
        <alias>sample string 2</alias>
        <expression>sample string 1</expression>
      </GoogleAnalyticsTokener.ANMetrics>
    </Metrics>
    <SamplingLevel>sample string 2</SamplingLevel>
    <ViewId>sample string 1</ViewId>
  </GoogleAnalyticsTokener.ANReportRequest>
</ArrayOfGoogleAnalyticsTokener.ANReportRequest>

Response Information

Resource Description

string

Response Formats

"sample string 1"
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>