WebCars

Element

AnnonceLogs

Forms

TipcarsLogs

IframeViewCounter

TechnicalCertificateRequest

AdvertisingCars

Leads

Ip

OfferedCars

MobileDeLogs

ViewCounter

Aos

Eshop

SautoLogs

Cc

Marketing

MaternaSmsStatus

Callcentrum

WebLeads

LeadsFb

CarVideos

/v1/view-counter/<serverNumber>[/<date>]
GET
secured

Description

Get view counter log

Format

json (application/json)

Methods

GET

Mask parameters

<serverNumber>
  • requirement: \d+
  • type: int
  • description: Server number - 1, 2
<date>
  • requirement: \d+
  • type: int
  • description: Date 20230101 - default yesterday

Response codes

200 (Success)
401 (Invalid authentication)
404 (Log not found)

Example response

{
    "status": "ok",
    "message": "OK",
    "data": [
        {
            "ip": "158.194.110.46",
            "date": "14\/Dec\/2023:00:00:22 +0100",
            "request": "\/1.png?hash=x1qpl1702508422e3a5761e9b5d5d24f9471abb846b2710&WebID=451279044 HTTP\/1.1",
            "httpCode": "20",
            "referer": "https:\/\/www.autoesa.cz\/",
            "userAgent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/15.5 Safari\/605.1.15"
        }
    ]
}