Skip to content
ATTENTION
You are viewing the documentation of the current development state (git-main / nightly).
The current latest stable documentation can be found here.

Traffic

Traffic.add

You cannot add traffic data

Traffic.get

to get specific traffic details use year, month and/or day parameter for Traffic.listing()

Traffic.update

You cannot update traffic data

Traffic.listing

list traffic information

Permission

admin customer

Parameter

FieldTypeDescription
yearintoptional, default empty
monthintoptional, default empty
dayintoptional, default empty
date_fromintoptional timestamp, default empty, if specified, $year, $month and $day will be ignored
date_untilintoptional timestamp, default empty, if specified, $year, $month and $day will be ignored
customer_trafficbooloptional, admin-only, whether to output ones own traffic or all of ones customers, default is 0(false)
customeridintoptional, admin-only, select traffic of a specific customer by id
loginnamestringoptional, admin-only, select traffic of a specific customer by loginname

Response

string as json-encoded array count|list

Traffic.listingCount

You cannot count the traffic data list

Traffic.delete

You cannot delete traffic data