Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A abocar
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • cct
  • abocar
  • Wiki
  • Vehicles

Vehicles · Changes

Page history
Update Vehicles authored Oct 07, 2021 by Andrea Pavlovic's avatar Andrea Pavlovic
Hide whitespace changes
Inline Side-by-side
Vehicles.md
View page @ 77bfa157
......@@ -15,8 +15,6 @@ Some entities are only available to certain client agendas (e.g. vehicle_note).
List all vehicles, filter by band "Renault", join internal notes, attached files and their type definitions:
```
#!json
# POST {{url}}/data/core/vehicle/query
{
"conds" : {"me.brand" : "Renault"},
......@@ -31,8 +29,6 @@ Note that this query will fail for clients without "admin" or "employee" agendas
core\__vehicle_file\__vehicle.id can be used to show a [download](https://bitbucket.org/ironapigenesis/ironapi-gw/wiki/Storing-Files) button for the file. The Link will looks something like this
```
#!
{{url}}/data/core/file/3/download/file
```
......@@ -43,8 +39,6 @@ To fulfil the requirement, that the data (vehicle_maintenance) stored should not
To do this within one transaction, a plugin is provided:
```
#!json
POST https://garage.abocar.at/plugins/vehicle_reown
{
"vehicle_id" : 2,
......@@ -59,7 +53,6 @@ POST https://garage.abocar.at/plugins/vehicle_reown
To find all entries for a vin which the user has access to (so, the admin sees all existing ones, the owner(s) only one each).
```
#!json
POST https://garage.abocar.at/data/core/vehicle/query
{
"conds" : {"vin":"vin_megane"}
......@@ -69,7 +62,7 @@ POST https://garage.abocar.at/data/core/vehicle/query
### Current Instance
```
#!json
!json
POST https://garage.abocar.at/data/core/vehicle/query
{
"conds" : {"vin":"vin_megane", "reowned_id" : null}
......
Clone repository
  • Customers
  • Home
  • Queries
  • Test_Setup
  • Vehicles
  • v2