Getting a list of keys for games

Url: https://api.playkey.net/rest/PlaykeyAPI.svc/user/games/keys

HTTP Method: POST

The following is an description request Json body:

lang - Display language
api_version - API version (default equal 1)
ga_clientId - Google Analytics ID
token - Authentication token

The following is an example request Json body:

{
    "lang": "lang",
    "api_version": 593548665,
    "ga_clientId": "gaclientid",
    "token": "token"
}

Description of how to response:

error - Error information
    code - Error code. Error 0 - no error
    message - Error message. Empty if none
keys - Getting a list of keys for games
     - Key for game
    [
        code - Game code
        key - The license key for the game
        distr_url - URI for download game
        type - Game type (game or preorder)
        game_title - Game title
        game_platforms - Supported gaming platforms. Property is obsolete: Use game_platform.
            Empty - 
            [
            ]
        game_platform - Supported gaming platform
        platform_code - Platform code
        is_game_active - Is game active
    ]

The following is an example response Json body:

{
    "error": {
        "code": 0,
        "message": "string"
    },
    "keys": [
        {
            "code": "string",
            "key": "string",
            "date": "01-01-0001 00:00:00",
            "distr_url": "string",
            "type": "string",
            "game_title": "string",
            "game_platforms": [
                "",
                ""
            ],
            "game_platform": "string",
            "platform_code": "string",
            "is_game_active": true
        },
        {
            "code": "string",
            "key": "string",
            "date": "01-01-0001 00:00:00",
            "distr_url": "string",
            "type": "string",
            "game_title": "string",
            "game_platforms": [
                "",
                ""
            ],
            "game_platform": "string",
            "platform_code": "string",
            "is_game_active": true
        }
    ]
}

The following is an example response Xml body:

<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <error>
    <code>0</code>
    <message>string</message>
  </error>
  <keys>
    <GameKeyResult>
      <code>string</code>
      <key>string</key>
      <date>01-01-0001 00:00:00</date>
      <distr_url>string</distr_url>
      <type>string</type>
      <game_title>string</game_title>
      <game_platforms xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <a:string />
        <a:string />
      </game_platforms>
      <game_platform>string</game_platform>
      <platform_code>string</platform_code>
      <is_game_active>true</is_game_active>
    </GameKeyResult>
    <GameKeyResult>
      <code>string</code>
      <key>string</key>
      <date>01-01-0001 00:00:00</date>
      <distr_url>string</distr_url>
      <type>string</type>
      <game_title>string</game_title>
      <game_platforms xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <a:string />
        <a:string />
      </game_platforms>
      <game_platform>string</game_platform>
      <platform_code>string</platform_code>
      <is_game_active>true</is_game_active>
    </GameKeyResult>
  </keys>
</result>