Start-of-Trip

Start of Trip

The start of trip defines all steps and requests to the API Gateway, that are performed to start creating a virtual (offline) basket. From the customer's perspective, it summarizes everything that happens between opening a Self-Scanning client application and displaying an empty basket where the customer can start scanning item barcodes.

The start of trip can be divided into four steps:

Steps Description
Configurations As one step during the start of trip, the SSC client application can download specific configurations. This can include basket rules (e.g. item restrictions) but also rules for interpreting item barcodes. Whether both steps are necessary depends on the client and the requirements. It is recommended to download at least the normal SSC properties to get the latest configurations for the basket handling. GK provides a dedicated module, Barcode Processor, which can be used to interpret item barcodes. Once this module is used, it is recommended to download the barcode processor rules additionally during the start of trip.

Additional configuration downloads are also possible and depend on the requirements and configuration. Details on downloading the configuration can be found in the APIs chapter.

Download store & customer information During the start of trip, it is necessary and useful to get all details about the selected business unit (shop) and the customer performing the Self-Scanning trip. Downloading the business unit details includes properties required for the registration process (e.g. the currency used and the currency symbol) as well as for the end-of-trip step (especially the businessUnitGroupId). Therefore, it is recommended to implement this step.

The downloaded customer information also contains the flag indicating whether the customer is eligible for in-app payment, as used in the end of trip. Besides that, additional customer data, such as names, can be used to improve the customer experience in the Self-Scanning client application, but this is optional.

Details on downloading store and customer information can be found in the APIs chapter.

Master data download This required step downloads all item master data for the specific shop from the backend server. Using the serverDataState API, the client can check whether a new full master data download (fullSyncFile) or only an incremental update (lastChangedEntityID) should be performed.

A full download could also be performed at each start of trip, but it consumes more data and time than an incremental update.

Details on downloading master data can be found in the APIs chapter.

Authentication This step authorizes the Self-Scanning clients against the backend applications. This step is necessary for all BYOD clients that access the API Gateway via public internet. Details on authentication can be found in the APIs chapter.