POST api/AdminService/GetErrorsByCountry

Documentation for 'GetErrorsByCountry'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "FromDate": "2026-08-20T10:13:17.3524708+00:00",
  "ToDate": "2026-08-20T10:13:17.3524708+00:00",
  "Days": 1
}

application/xml, text/xml

Sample:
<CountryErrorFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Logs">
  <Days>1</Days>
  <FromDate>2026-08-20T10:13:17.3524708+00:00</FromDate>
  <ToDate>2026-08-20T10:13:17.3524708+00:00</ToDate>
</CountryErrorFilter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'CountryErrorFilter'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "Countries": [
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "TotalErrors": 3,
        "Last24h": 4,
        "Last7d": 5,
        "DistinctTypes": 6,
        "DistinctPages": 7,
        "LastErrorTime": "2026-08-20T10:13:17.3524708+00:00",
        "TopErrorType": "sample string 8",
        "TopErrorCount": 9
      },
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "TotalErrors": 3,
        "Last24h": 4,
        "Last7d": 5,
        "DistinctTypes": 6,
        "DistinctPages": 7,
        "LastErrorTime": "2026-08-20T10:13:17.3524708+00:00",
        "TopErrorType": "sample string 8",
        "TopErrorCount": 9
      },
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "TotalErrors": 3,
        "Last24h": 4,
        "Last7d": 5,
        "DistinctTypes": 6,
        "DistinctPages": 7,
        "LastErrorTime": "2026-08-20T10:13:17.3524708+00:00",
        "TopErrorType": "sample string 8",
        "TopErrorCount": 9
      }
    ],
    "ByType": [
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "ErrorType": "sample string 3",
        "Occurrences": 4,
        "LastSeen": "2026-08-20T10:13:17.3524708+00:00"
      },
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "ErrorType": "sample string 3",
        "Occurrences": 4,
        "LastSeen": "2026-08-20T10:13:17.3524708+00:00"
      },
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "ErrorType": "sample string 3",
        "Occurrences": 4,
        "LastSeen": "2026-08-20T10:13:17.3524708+00:00"
      }
    ],
    "ByDay": [
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "Day": "2026-08-20T10:13:17.3524708+00:00",
        "Occurrences": 4
      },
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "Day": "2026-08-20T10:13:17.3524708+00:00",
        "Occurrences": 4
      },
      {
        "AppID": 64,
        "AppName": "sample string 2",
        "Day": "2026-08-20T10:13:17.3524708+00:00",
        "Occurrences": 4
      }
    ],
    "Filter": {
      "FromDate": "2026-08-20T10:13:17.3524708+00:00",
      "ToDate": "2026-08-20T10:13:17.3524708+00:00",
      "Days": 1
    }
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfCountryErrorResponse6FUYLq0Q xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Logs">
    <d2p1:ByDay>
      <d2p1:CountryErrorDayStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:Day>2026-08-20T10:13:17.3524708+00:00</d2p1:Day>
        <d2p1:Occurrences>4</d2p1:Occurrences>
      </d2p1:CountryErrorDayStat>
      <d2p1:CountryErrorDayStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:Day>2026-08-20T10:13:17.3524708+00:00</d2p1:Day>
        <d2p1:Occurrences>4</d2p1:Occurrences>
      </d2p1:CountryErrorDayStat>
      <d2p1:CountryErrorDayStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:Day>2026-08-20T10:13:17.3524708+00:00</d2p1:Day>
        <d2p1:Occurrences>4</d2p1:Occurrences>
      </d2p1:CountryErrorDayStat>
    </d2p1:ByDay>
    <d2p1:ByType>
      <d2p1:CountryErrorTypeStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:ErrorType>sample string 3</d2p1:ErrorType>
        <d2p1:LastSeen>2026-08-20T10:13:17.3524708+00:00</d2p1:LastSeen>
        <d2p1:Occurrences>4</d2p1:Occurrences>
      </d2p1:CountryErrorTypeStat>
      <d2p1:CountryErrorTypeStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:ErrorType>sample string 3</d2p1:ErrorType>
        <d2p1:LastSeen>2026-08-20T10:13:17.3524708+00:00</d2p1:LastSeen>
        <d2p1:Occurrences>4</d2p1:Occurrences>
      </d2p1:CountryErrorTypeStat>
      <d2p1:CountryErrorTypeStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:ErrorType>sample string 3</d2p1:ErrorType>
        <d2p1:LastSeen>2026-08-20T10:13:17.3524708+00:00</d2p1:LastSeen>
        <d2p1:Occurrences>4</d2p1:Occurrences>
      </d2p1:CountryErrorTypeStat>
    </d2p1:ByType>
    <d2p1:Countries>
      <d2p1:CountryErrorStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:DistinctPages>7</d2p1:DistinctPages>
        <d2p1:DistinctTypes>6</d2p1:DistinctTypes>
        <d2p1:Last24h>4</d2p1:Last24h>
        <d2p1:Last7d>5</d2p1:Last7d>
        <d2p1:LastErrorTime>2026-08-20T10:13:17.3524708+00:00</d2p1:LastErrorTime>
        <d2p1:TopErrorCount>9</d2p1:TopErrorCount>
        <d2p1:TopErrorType>sample string 8</d2p1:TopErrorType>
        <d2p1:TotalErrors>3</d2p1:TotalErrors>
      </d2p1:CountryErrorStat>
      <d2p1:CountryErrorStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:DistinctPages>7</d2p1:DistinctPages>
        <d2p1:DistinctTypes>6</d2p1:DistinctTypes>
        <d2p1:Last24h>4</d2p1:Last24h>
        <d2p1:Last7d>5</d2p1:Last7d>
        <d2p1:LastErrorTime>2026-08-20T10:13:17.3524708+00:00</d2p1:LastErrorTime>
        <d2p1:TopErrorCount>9</d2p1:TopErrorCount>
        <d2p1:TopErrorType>sample string 8</d2p1:TopErrorType>
        <d2p1:TotalErrors>3</d2p1:TotalErrors>
      </d2p1:CountryErrorStat>
      <d2p1:CountryErrorStat>
        <d2p1:AppID>64</d2p1:AppID>
        <d2p1:AppName>sample string 2</d2p1:AppName>
        <d2p1:DistinctPages>7</d2p1:DistinctPages>
        <d2p1:DistinctTypes>6</d2p1:DistinctTypes>
        <d2p1:Last24h>4</d2p1:Last24h>
        <d2p1:Last7d>5</d2p1:Last7d>
        <d2p1:LastErrorTime>2026-08-20T10:13:17.3524708+00:00</d2p1:LastErrorTime>
        <d2p1:TopErrorCount>9</d2p1:TopErrorCount>
        <d2p1:TopErrorType>sample string 8</d2p1:TopErrorType>
        <d2p1:TotalErrors>3</d2p1:TotalErrors>
      </d2p1:CountryErrorStat>
    </d2p1:Countries>
    <d2p1:Filter>
      <d2p1:Days>1</d2p1:Days>
      <d2p1:FromDate>2026-08-20T10:13:17.3524708+00:00</d2p1:FromDate>
      <d2p1:ToDate>2026-08-20T10:13:17.3524708+00:00</d2p1:ToDate>
    </d2p1:Filter>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfCountryErrorResponse6FUYLq0Q>