A new ticket corresponds to a new ParkingTicket resource on StreetSmart. It has a validity period, specified by a start-date and an end-date.
To send a new ticket to StreetSmart, the ticket sales Application has to use: POST /parkingTickets request, containing a ParkingTicketProduct (cf. Ref.01 for mandatory and optional request attributes. |
The new ticket product can be built from the ParkingOffers that are provided by StreetSmart.
Offers are retrieved from StreetSmart using GET /parkingRights or GET /parkingOffers responses.