Smart Entry

Smart Entry

0.10.0OAS 3.0

The Smart Entry project is used to control (allow/disallow) access for potential customers.
It receives access requests, meaning someone it at the main entrance at a physical store.
Based on TBD business logic we can determine whether the access will be granted or not.
As this project also has access to the door control for the respective stores it can then
also open the main door or display a suitable disallow message.

API Base URL
  • Server 1:https://api-qual.migros.ch

    URL of upstream service

Security
ApiKeyAuth (apiKey)

An API key is a token that you provide when making API calls. Include the token in a header parameter called X-Api-Key.

Example: X-Api-Key: 123

Additional Information
Contact MGB-UDP-Business-Services (arg_mgb-udp-business-services@mgb.ch)

Request store access with a Cumulus barcode

Validates the barcode format and requests that the configured store door is opened.

post
https://api-qual.migros.ch/migros/customer/smart-entry/v1/auth/barcode

Body

application/json

BarcodeAuthRequest

barcodestringrequired

13-digit Cumulus barcode beginning with 2098 or 2099

Example:2098123456789

doorIdstringrequired

Configured door identifier

>= 1 characters

Example:1

storeIdstringrequired

Store identifier

>= 1 characters

Example:A16BCZ

trackingIdstring(uuid)required

Request identifier forwarded unchanged to the door controller

Example:04a2bebf-42c7-46b3-afb3-7ec0a4866703

Response

Door request accepted

post/migros/customer/smart-entry/v1/auth/barcode

Body

{ "barcode": "2098123456789", "doorId": "1", "storeId": "A16BCZ", "trackingId": "04a2bebf-42c7-46b3-afb3-7ec0a4866703" }
 

BarcodeAuthRequest

object
barcodestringrequired

13-digit Cumulus barcode beginning with 2098 or 2099

Example:2098123456789

doorIdstringrequired

Configured door identifier

>= 1 characters

Example:1

storeIdstringrequired

Store identifier

>= 1 characters

Example:A16BCZ

trackingIdstring(uuid)required

Request identifier forwarded unchanged to the door controller

Example:04a2bebf-42c7-46b3-afb3-7ec0a4866703

Example