api.tipmoto.com » API documentation » Agendas » lists » lokacestats

Agenda lokacestats

List of placements where statistics are measured: the values of the location parameter and of the lokace element in the agenda stats (dealer statistics, ad statistics and the ad table).

Agenda features

Name Options
Supported methods GET
Support for detail levels ✘
Support for filtering ✘
Support for filtering by dealer ✘
Support for full-text search ✘
Support for pagination ✘
Support for sorting ✘
Support for external identifiers ✘
Support for schemas https://api.tipmoto.com/schemas/lists/lokacestats.{xsd|rng}

Agenda elements

Machine name Name Type Information rw P S ➀ ➁
value Placement number integer Placement number as it is in the lokace element and in the location parameter of the agenda stats          
lokaceText Placement label string Text label of the placement. It is a Czech value (data) and is not translated, not even with lang=en; the English meaning is in the XML comment above the element.          

rw = writable
P = required element
S = the element can be used for filtering and sorting
➀ = included in detail level id
➁ = included in detail level summary

Values

value lokaceText Meaning
0 Nerozlišeno (dopočítáno) History reconstructed from backups without distinguishing the placement; it ends on the day dopoctenoDo of the metric. Appears only in the breakdown=location breakdown. It cannot be used as the location filter (location=0 returns 400).
1 www.tipmoto.com Main website www.tipmoto.com
2 Firemní subdoména Dealer subdomain
3 Výpis na webu klienta Widget on the dealer's website (embedded list web.tipmoto.com)
4 MotoInzerce.cz MotoInzerce.cz

Values may be added; the client ignores an unknown placement.

Example

GET /lists/lokacestats.xml (shortened, output with lang=en):

<!--Agenda documentation at: https://api.tipmoto.com/docs/agendas/lists/lokacestats/
  Schemas (more about them at https://api.tipmoto.com/docs/ref/schemata/ ):
    https://api.tipmoto.com/schemas/lists/lokacestats.xsd
    https://api.tipmoto.com/schemas/lists/lokacestats.rng-->
<tipmoto>
  <!--List of placements where statistics are measured (parameter location and element lokace in the agenda stats)-->
  <lokacestats>
    <!--Placement number-->
    <!--0 = history reconstructed from backups without distinguishing the placement (ends at dopoctenoDo of the metric); it cannot be used as the location filter-->
    <value>0</value>
    <!--Text label of the placement: not distinguished (reconstructed history)-->
    <lokaceText>Nerozlišeno (dopočítáno)</lokaceText>
  </lokacestats>
  <lokacestats>
    <value>1</value>
    <!--Text label of the placement: main website www.tipmoto.com-->
    <lokaceText>www.tipmoto.com</lokaceText>
  </lokacestats>
  <!-- … 2, 3, 4 -->
</tipmoto>

The same list in JSON (GET /lists/lokacestats.json):

{"tipmoto":{"lokacestats":[{"value":"0","lokaceText":"Nerozlišeno (dopočítáno)"},{"value":"1","lokaceText":"www.tipmoto.com"},{"value":"2","lokaceText":"Firemní subdoména"},{"value":"3","lokaceText":"Výpis na webu klienta"},{"value":"4","lokaceText":"MotoInzerce.cz"}]}}
TipMoto.com Contact us