Difference between revisions of "Command reference"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Understanding commands ==
Commands are specified in the '''command''' parameter when calling the '''main''' servlet


  https://acme.com/TempusServa/main?command=index
The core commands are
* index
* list
* edit
* new
View commands can also be used in [[Integration/Content_source]]
== Command reference ==
ARTICLE IS DRAFT / UNDER DEVELOPMENT
ARTICLE IS DRAFT / UNDER DEVELOPMENT


== Navigation ==
=== Navigation ===
{|
{|
!command
!command
!function
!function
!parameters
!required
!optional
|-
|-
|<none>
|<none>
|Default command
|Default command
|
|
|
|-
|-
|index
|index
|Nested accordion list of all solutions
|Nested accordion list of all solutions
|
|
|
|-
|-
Line 19: Line 35:
|Display default dashboard
|Display default dashboard
|
|
|Dashboard
|}
|}


== Single item ==
=== Single item ===
Command overview
* show
* edit
* new
* save
* export
 
 
== Single item ==
{|
{|
!command
!command
!function
!function
!parameters
!required
!optional
|-
|-
|show
|show
|Open record in display mode
|Open record in display mode
|SagID DataID
|
|
|-
|-
|edit
|edit
|Open record in edit mode
|Open record in edit mode
|SagID DataID
|
|
|-
|-
|new
|new
|Create new record in edit mode
|Create new record in edit mode
|SagID DataID
|
|
|-
|-
|save
|save
|Post changes to data
|Post changes to data
|SagID DataID
|
|
|-
|-
|export
|export
|Display default dashboard
|Display default dashboard
|SagID DataID
|
|
|}
|}


== Single item related data ==
=== Single item related data ===
Command overview
{|
* measure
!command
* status
!function
* access
!required
* revision
!optional
* timeline
|-
|measure
|Summary of time usage on this item
|SagID DataID
|
|-
|status
|Timeline of status changes
|SagID DataID
|
|-
|access
|List of access to this item
|SagID DataID
|
|-
|revision
|List of all data revisions
|SagID DataID
|
|-
|timeline
|Summary changes, status &amp; actions
|SagID DataID
|
|}
 
=== Items list nested data ===
{|
!command
!function
!required
!optional
|-
|task
|List of all tasks
|SagID
|QUERY_PageOffset
|-
|file
|List of all files
|SagID
|QUERY_PageOffset
|-
|name
|List of all contacts
|SagID
|QUERY_PageOffset
|-
|mail
|List of all emails
|SagID
|QUERY_PageOffset
|}


== Items list nested data ==
=== Lists / reports ===
Command overview
* task
* file
* name
* mail


== Lists / reports ==
{|
Command overview
!command
* list
!function
* xtab
!required
* grid
!optional
* sums
|-
* dist
|list
* calm
|List records
* gant
|SagID
* maps
|QUERY_PageOffset
* heat
|-
|xtab
|Pivot table
|SagID
|
|-
|grid
|Two dimensional grid
|SagID
|
|-
|dist
|Distributions of all categories
|SagID
|
|-
|calm
|Month calendar view
|SagID
|
|-
|gant
|GANT chart
|SagID
|
|-
|maps
|Large map of all positions
|SagID
|
|-
|heat
|Columnar heatmap
|SagID
|
|-
|sums
|
|SagID
|
|}
 
=== Statistics ===
{|
!command
!function
!required
!optional
|-
|stav
|Analyze variable (count/sum)
|SagID
|
|-
|stat
|Chi or T2 test of groups
|SagID
|
|-
|stas
|Regression analysis
|SagID
|
|-
|staa
|Anova test of 1 or 2 groups
|SagID
|
|-
|stap
|Pareto diagram from variable
|SagID
|
|-
|star
|Interactive runchart
|SagID
|
|-
|stac
|Interval grouping
|SagID
|
|-
|staf
|Fisher exact tests
|SagID
|
|}
 
=== System ===
{|
!command
!function
!required
!optional
|-
|sync
|Synchronizes DB tables with model
|SagID
|
|}
 
== Other services ==
 
=== scan ===
The scan servlet will take input from HTTP calls, usually triggered from an QR or NFC scan.
 
The use is either
# Make an Object call, then an Action call (within 1 minute).
# Make an Action call, then an Object call (within 1 minute).
# Make a combined call with both Object and Action.
 
Required parameters is a Object, Action or both.
 
Object
* entity [string] (Entity system name)
* object [int] (DataID)
 
Action
* field [string]
* value [string]
 
Options
* result


== Statistics ==
=== barcode ===
Command overview
Required
* stat
* data
* stav
* stas
* staa
* stap
* star
* stac
* staf


== System ==
Optional
Command overview
* type
* sync
* appid
* width
* height
* resolution

Latest revision as of 11:38, 8 February 2024

Understanding commands

Commands are specified in the command parameter when calling the main servlet

  https://acme.com/TempusServa/main?command=index

The core commands are

  • index
  • list
  • edit
  • new

View commands can also be used in Integration/Content_source

Command reference

ARTICLE IS DRAFT / UNDER DEVELOPMENT

Navigation

command function required optional
<none> Default command
index Nested accordion list of all solutions
board Display default dashboard Dashboard

Single item

command function required optional
show Open record in display mode SagID DataID
edit Open record in edit mode SagID DataID
new Create new record in edit mode SagID DataID
save Post changes to data SagID DataID
export Display default dashboard SagID DataID

Single item related data

command function required optional
measure Summary of time usage on this item SagID DataID
status Timeline of status changes SagID DataID
access List of access to this item SagID DataID
revision List of all data revisions SagID DataID
timeline Summary changes, status & actions SagID DataID

Items list nested data

command function required optional
task List of all tasks SagID QUERY_PageOffset
file List of all files SagID QUERY_PageOffset
name List of all contacts SagID QUERY_PageOffset
mail List of all emails SagID QUERY_PageOffset

Lists / reports

command function required optional
list List records SagID QUERY_PageOffset
xtab Pivot table SagID
grid Two dimensional grid SagID
dist Distributions of all categories SagID
calm Month calendar view SagID
gant GANT chart SagID
maps Large map of all positions SagID
heat Columnar heatmap SagID
sums SagID

Statistics

command function required optional
stav Analyze variable (count/sum) SagID
stat Chi or T2 test of groups SagID
stas Regression analysis SagID
staa Anova test of 1 or 2 groups SagID
stap Pareto diagram from variable SagID
star Interactive runchart SagID
stac Interval grouping SagID
staf Fisher exact tests SagID

System

command function required optional
sync Synchronizes DB tables with model SagID

Other services

scan

The scan servlet will take input from HTTP calls, usually triggered from an QR or NFC scan.

The use is either

  1. Make an Object call, then an Action call (within 1 minute).
  2. Make an Action call, then an Object call (within 1 minute).
  3. Make a combined call with both Object and Action.

Required parameters is a Object, Action or both.

Object

  • entity [string] (Entity system name)
  • object [int] (DataID)

Action

  • field [string]
  • value [string]

Options

  • result

barcode

Required

  • data

Optional

  • type
  • appid
  • width
  • height
  • resolution