Agenda archive/moto
Contains the archive of motorcycle ads.
Due to historical updates of the lists, archived ads may not always refer to list values.
Sub-agendas overview
| Name | Machine name | WRITE |
|---|---|---|
| Photos | photo |
NO |
| Price history | ceny |
NO |
Statistics (requires only the statsperm permission, not the permission at the 'archive' level) |
stats |
NO |
Agenda features
| Name | Options |
|---|---|
| Supported methods | GET |
| Support for detail levels | ✔ |
| Support for filtering | ✔ |
| Support for full-text search | ✘ |
| Support for pagination | ✔ |
| Support for sorting | ✔ |
| Support for external identifiers | ✔ note – it does not return the detail of 1 ad, but a list at summary level (some dealers historically reuse internal IDs) |
Support for schemas |
https://api.tipmoto.com/schemas/archive/moto.{xsd|rng} |
Agenda elements
| Machine name | Name | Type | Information | rw | P | S | ➀ | ➁ |
|---|---|---|---|---|---|---|---|---|
id |
Ad ID in the agenda moto |
integer |
✔ | ✔ | ✔ | |||
idApi |
external ad ID | string 64 |
✔ | ✔ | ✔ | |||
vlozeniCas |
Date the ad was inserted | datetime |
Format YYYY-MM-DD HH:MM:SS |
✔ | ✔ | ✔ | ||
smazaniCas |
Date the ad was deleted | datetime |
Format YYYY-MM-DD HH:MM:SS |
✔ | ✔ | ✔ | ||
manufacturer |
Manufacturer | string 64 |
The manufacturer can be from the agenda manufacturer |
✔ | ✔ | |||
manufacturer@id |
Manufacturer ID | integer |
✔ | ✔ | ||||
nazev |
Motorcycle / quad name | string 64 |
✔ | ✔ | ||||
model |
Motorcycle / quad model | string 64 |
The model can be imported as text The model is from the agenda model |
✔ | ✔ | |||
model@id |
Model ID | integer |
On import the ID takes precedence. | ✔ | ✔ | |||
zarazenimoto |
Category | string 64 |
✔ | ✔ | ||||
zarazenimoto@id |
Category ID | integer |
✔ | ✔ | ||||
nove |
New | select |
Possible values:
|
✔ | ✔ | |||
objem |
Engine capacity | string 16 |
✔ | |||||
vykon |
Power in kW | decimal 4,1 |
✔ | |||||
vyrobeno |
Year of manufacture | string 16 |
Normally a 4-digit number (year), but historically a string | ✔ | ||||
doProvozu |
Year of first registration | string 16 |
Normally a 4-digit number (year), but historically a string | ✔ | ||||
cena |
Price | integer |
Value 0 = price negotiable |
✔ | ||||
cena@historie |
Price history | href |
Link to the price history (sub-agenda ceny) |
|||||
cenaMena |
Currency | string 8 |
In practice it takes these values:
|
✔ | ||||
najeto |
Mileage value | string 16 |
Gives the mileage as a number, but historically text is allowed. | ✔ | ||||
najetoMira |
Mileage unit | string 8 |
In practice it takes these values:
|
✔ | ||||
tp |
Registration certificate (TP) | select |
Possible values:
|
✔ | ||||
stk |
Roadworthiness test (STK) | select |
Possible values:
|
✔ | ||||
vin |
VIN | string 32 |
✔ | |||||
poznamkaInterni |
Internal note | string 64 |
||||||
photo/id |
Photo ID | integer |
Refers to the sub-agenda photo | |||||
photo/url |
Photo URL | string 255 |
URL is available via the API only | |||||
photo/width |
Photo width px | integer |
||||||
photo/height |
Photo height px | integer |
||||||
photo/stamp |
Photo change stamp | char 128 |
In export it contains the datetime of the last change in the archive. |
|||||
stats@ref |
Detailed statistics | href |
Link to the detailed statistics of the deleted ad by day (sub-agenda stats). They require the statsperm permission (without it they return 402); the permission at the 'archive' level is not needed. |
|||||
stats/zobrazeni |
Number of ad views | integer |
||||||
stats/odpovedi |
Number of replies via the ad's form | integer |
||||||
stats/urlKliknuti |
Number of clicks on the product URL | integer |
||||||
pdf |
Whether the ad has a PDF | select |
Possible values:
|
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
