Placeholder returns current information.
Note: Most data are only available if you make a correct login, for example in the web application.
Example: Return first name of current user
Employee?$select=FirstName&$filter=PersonnelId eq CurrentPersonnelId
The following placeholders are available:
Name |
Description |
---|---|
CurrentPersonnelId |
Returns the current personnel ID. Only available if connected by personnel ID. |
CurrentSessionId |
Current Session ID Number. |
CurrentLocationId |
Current location iD which you can define in the connection string or define in the Login process of the WEB APP. |
CurrentProgramId |
Application name, for example "terminal", "terminal2". |
CurrentAppId |
App Name. In ODATA you define this with $AppId. In JavaScript you can use following syntax: $ProgramId='+appInfo.gid+'&$AppId='+appInfo.appID |
CurrentLanguageId |
Returns the current language. |
CurrentDate |
Returns current date with "0" time (client date). |
CurrentDateTime |
Return current date time (client date time). |