To get the vehicle rights, the Ticket Sales Application has to call GET /parkingRights (cf. Ref.01) , providing at least the vehicle plate and the requested location to park on.
StreetSmart will then compute the vehicle rights, considering any existing contracts and tickets of the vehicle, and some potential parking policies like free-time management or forced rotation.
In response to the request, StreetSmart will provide ongoing tickets (if any) and contracts of the vehicle on the whole park. It also provides the default contracts for the vehicle for the provided location.
Returned valid tickets only concern the ongoing ones, not future ones. |
In order for the ticket sales application to be able to determine the tickets and contracts that are valid at the expected parking location, StreetSmart provides a list of areas. |
StreetSmart also includes a list of parking offers in the response. These offers correspond to parking products (new tickets, ticket extension, ticket stop) that can be offered to the end-user. These offers depend on many parameters like the date to park, the requested parking location, the vehicle contracts, and forced rotation.
The Ticket Sales Application shall display a name for each available offer. We recommend using: •The translatable attribute name (*) of the Parking Contract if defined. •A combination of the attribute name of the parking Contract and parking Audience •Or if the Ticket Sales Application prefers offering a choice of parking Audiences |