v1

latestOpenAPI 3.0.32026-08-0651519.2 KB
complaint

Send a complaint with correction

There are several complaint types allowed, see complaint model. Correction depends on complaint type -- wrongPrice - the correct price as float. wrongPetrolLocation - correct location as LAT,LON (2 floats). Omitted for wrongStatus. For all others - corrected value

post/complaint

Request body

apikeystring required

API key of the submitter

idstring required

UUID of station for which a complaint is sent

type'wrongPetrolStationName' | 'wrongStatusOpen' | 'wrongStatusClosed' | 'wrongPriceE5' | 'wrongPriceE10' | 'wrongPriceDiesel' | 'wrongPetrolStationBrand' | 'wrongPetrolStationStreet' | 'wrongPetrolStationHouseNumber' | 'wrongPetrolStationPostcode' | 'wrongPetrolStationPlace' | 'wrongPetrolStationLocation' required

Type of complaint

correctionstring

wrongPrice - the correct price as float. wrongPetrolLocation - correct location as LAT,LON (2 floats). Omitted for wrongStatus. For all others - corrected value

Example request

{
  "apikey": "cffa4fb8-7a16-cd85-7946-263722530f15",
  "id": "cb1f0588-d517-40f0-8ce3-3edadebea40d",
  "type": "wrongStatusOpen"
}

Response

OK