GET api/competitions/{competitionID}/ppstatistics

Gets the power play statistics for a competition in IBIS

Request Information

URI Parameters

NameDescriptionTypeAdditional information
competitionID

The ID of the competition to fetch the power play statistics for

integer

Required

Body Parameters

None.

Response Information

Resource Description

A PPStatistics object containing a list of PPStatisticsRow objects sorted by PPStatisticsRow .TeamName in ascending order

PPStatistics
NameDescriptionTypeAdditional information
PPStatisticsRows

Contains the PPStatisticRow objects for this PPStatistics object

Collection of PPStatisticsRow

None.

Response Formats

application/json, text/json

Sample:
{
  "PPStatisticsRows": [
    {
      "ClubID": 1,
      "ClubName": "sample string 2",
      "TeamID": 3,
      "TeamName": "sample string 4",
      "NumberOfPPs": 5,
      "NumberOfBPs": 6,
      "GoalsScoredPP1": 7,
      "GoalsScoredPP2": 8,
      "GoalsScoredBP1": 9,
      "GoalsScoredBP2": 10,
      "GoalsAgainstPP1": 11,
      "GoalsAgainstPP2": 12,
      "GoalsAgainstBP1": 13,
      "GoalsAgainstBP2": 14
    },
    {
      "ClubID": 1,
      "ClubName": "sample string 2",
      "TeamID": 3,
      "TeamName": "sample string 4",
      "NumberOfPPs": 5,
      "NumberOfBPs": 6,
      "GoalsScoredPP1": 7,
      "GoalsScoredPP2": 8,
      "GoalsScoredBP1": 9,
      "GoalsScoredBP2": 10,
      "GoalsAgainstPP1": 11,
      "GoalsAgainstPP2": 12,
      "GoalsAgainstBP1": 13,
      "GoalsAgainstBP2": 14
    }
  ]
}

application/xml, text/xml

Sample:
<PPStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IbisApi.Models">
  <PPStatisticsRows>
    <PPStatisticsRow>
      <ClubID>1</ClubID>
      <ClubName>sample string 2</ClubName>
      <GoalsAgainstBP1>13</GoalsAgainstBP1>
      <GoalsAgainstBP2>14</GoalsAgainstBP2>
      <GoalsAgainstPP1>11</GoalsAgainstPP1>
      <GoalsAgainstPP2>12</GoalsAgainstPP2>
      <GoalsScoredBP1>9</GoalsScoredBP1>
      <GoalsScoredBP2>10</GoalsScoredBP2>
      <GoalsScoredPP1>7</GoalsScoredPP1>
      <GoalsScoredPP2>8</GoalsScoredPP2>
      <NumberOfBPs>6</NumberOfBPs>
      <NumberOfPPs>5</NumberOfPPs>
      <TeamID>3</TeamID>
      <TeamName>sample string 4</TeamName>
    </PPStatisticsRow>
    <PPStatisticsRow>
      <ClubID>1</ClubID>
      <ClubName>sample string 2</ClubName>
      <GoalsAgainstBP1>13</GoalsAgainstBP1>
      <GoalsAgainstBP2>14</GoalsAgainstBP2>
      <GoalsAgainstPP1>11</GoalsAgainstPP1>
      <GoalsAgainstPP2>12</GoalsAgainstPP2>
      <GoalsScoredBP1>9</GoalsScoredBP1>
      <GoalsScoredBP2>10</GoalsScoredBP2>
      <GoalsScoredPP1>7</GoalsScoredPP1>
      <GoalsScoredPP2>8</GoalsScoredPP2>
      <NumberOfBPs>6</NumberOfBPs>
      <NumberOfPPs>5</NumberOfPPs>
      <TeamID>3</TeamID>
      <TeamName>sample string 4</TeamName>
    </PPStatisticsRow>
  </PPStatisticsRows>
</PPStatistics>