We start with sending a request to find any existing tickets.
Note: You may find older tickets. So be aware of the end time. Note that we use POST to send the search request. This is due to the _search parameter. |
POST {{domain}}/{{platform}}/parking/tickets/parkingTickets/_search { "@context": { "sp": "https://schema.parkeon.com/", "sss": "{{domain}}/{{platform}}/" }, "sp:park": { "@id": "sss:businesscustomer/parks/parks/123" }, "sp:licensePlate": { "sp:plate": "LXD565" } } |
In this request, we ask for a vehicle with licence plate "LXD656" and a ParkID "123"