Placeholder return current information.
Note: Most of data only available, if you make a correct login, example in web application
Example: Return first name from 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). |