Get banners for the region of the current user

Url: https://api.playkey.net/rest/PlaykeyAPI.svc/banners/all/auth

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": 2078178126,
    "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
banners - List of banners
    banner - Banner info
    [
        code - Code of banner
        header - Header of banner
        subheader - Subheader of banner
        image_link - Image of banner
        format - Format of banner
        parameters - Parameters of banner
            custom_param - Custom parameter
            [
                name - Name of custom parameter
                value - Value of custom parameter
            ]
    ]

The following is an example response Json body:

{
    "error": {
        "code": 0,
        "message": "string"
    },
    "banners": [
        {
            "code": "string",
            "header": "string",
            "subheader": "string",
            "image_link": "string",
            "logo_link": null,
            "format": "string",
            "parameters": [
                {
                    "name": "string",
                    "value": "string"
                },
                {
                    "name": "string",
                    "value": "string"
                }
            ]
        },
        {
            "code": "string",
            "header": "string",
            "subheader": "string",
            "image_link": "string",
            "logo_link": null,
            "format": "string",
            "parameters": [
                {
                    "name": "string",
                    "value": "string"
                },
                {
                    "name": "string",
                    "value": "string"
                }
            ]
        }
    ]
}

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>
  <banners>
    <banner>
      <code>string</code>
      <header>string</header>
      <subheader>string</subheader>
      <image_link>string</image_link>
      <logo_link i:nil="true" />
      <format>string</format>
      <parameters>
        <custom_param>
          <name>string</name>
          <value>string</value>
        </custom_param>
        <custom_param>
          <name>string</name>
          <value>string</value>
        </custom_param>
      </parameters>
    </banner>
    <banner>
      <code>string</code>
      <header>string</header>
      <subheader>string</subheader>
      <image_link>string</image_link>
      <logo_link i:nil="true" />
      <format>string</format>
      <parameters>
        <custom_param>
          <name>string</name>
          <value>string</value>
        </custom_param>
        <custom_param>
          <name>string</name>
          <value>string</value>
        </custom_param>
      </parameters>
    </banner>
  </banners>
</result>