The data the Ticket Sales Application has to send to StreetSmart depends on what is expected by StreetSmart:
•If StreetSmart is a tickets reference for control of parking rights, then the Ticket Sales Application must send every ticket operation (new ticket, extension, stop) to StreetSmart
•If StreetSmart is reference for parking accounting, then orders must be sent to StreetSmart, with one of the following options:
oOption 1: one order for every ticket operation. every operation (new ticket, extension, stop) is sent immediately
oOption 2: one order at the end of the ticket. the order send after the ticket has expired or is stopped by the end-user
For the rest of this chapter, let’s consider that StreetSmart is a tickets reference and let’s focus on the Orders options.
As we recommend to send PosOrder after the delivery of parkingTicket, we recommend to set the URI of the ParkingTicket (created or modified) into the structure of the PosOrder describing the sold product. Of course, this is not always possible if delivery in offline mode is allowed but it should be the nominal case for products that cannot be delivered in offline mode. |