Authenticate a user and return session and cache information
Change Note: dedicated logon endpoint, replaces generic exec3.jsp dispatch
Result of a logon attempt with session and cache information
| # | Field | Type | Description | Links |
|---|---|---|---|---|
| 0 | action | string | the action that was performed | |
| 1 | result | string | exit code: ok, relogon, no_such_user, wrong_password, token, token_too_old, blocked, tblocked, offline, empty | |
| 2 | cacheid | long | current cache invalidation id for detecting data changes | |
| 3 | pcgifversion | string | backend interface version (only if user has DISPLAY_VERSION permission) | |
| 4 | shopversion | string | shop and framework build version (only if user has DISPLAY_VERSION permission) | |
| 5 | session | string | session identifier (only if user has DISPLAY_VERSION permission) | |
| 6 | override_item_ids | int[] | item ids with customer-specific price overrides | |
| 7 | firstname | string | first name of the authenticated customer (empty if no authenticated customer) | |
| 8 | name | string | last name of the authenticated customer (empty if no authenticated customer) | |
| 9 | cid | int | customer id (0 if no authenticated customer) | 🔗 customer_id |
Data (1 record)
| action | result | cacheid | pcgifversion | shopversion | session | override_item_ids | firstname | name | cid |
|---|---|---|---|---|---|---|---|---|---|
| Logon | no_data | 122588 | [] | 0 →geo →log1 |