Documentation

GetPlayerStatisticVersions

Retrieves the information on the available versions of the specified statistic.

Request Details

GetPlayerStatisticVersionsRequest
Request Properties
StatisticName String

unique name of the statistic

POST https://{{TitleID}}.playfabapi.com/Client/GetPlayerStatisticVersions
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
{
  "StatisticName": "headshots"
}
        

Response Details

GetPlayerStatisticVersionsResult
Result Properties
StatisticVersions List<PlayerStatisticVersion>

version change history of the statistic

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "StatisticVersions": [
      {
        "StatisticName": "headshots",
        "Version": 2,
        "ActivationTime": "2015-12-05T10:02:01Z"
      }
    ]
  }
}

Authentication

SessionTicket

Possible Error Codes

Name Code
StatisticNotFound 1195