Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
URL
web/json/app/(:appId)/(~:appVersion)/plugin/(*:pluginName)/service
Method
GET/POST
Description
This plugin serves as the generic access point to any plugin that implements PluginWebSupport in the context of a specific App and App version.
It will call the webService method in the specificied plugin. Thus, the number of parameters needed essentially depends on the plugin itself.
Parameters
Name |
Mandatory |
Description |
---|---|---|
appId |
Yes |
Application ID (e.g. leaveApp) |
appVersion |
Yes |
Application Version (e.g. 2) |
pluginName |
Yes |
Plugin Class Path (E.g. plugin/org.joget.apps.userview.lib.InboxMenu) |
Sample Call
Sample Resul
[ { "value":"", "label":"" }, { "value":"leaveProcess", "label":"Leave Process (leaveProcess)" } ]
URL
web/json/plugin/(*:pluginName)/service
Method
GET/POST
Description
This plugin serves as the generic access point to any plugin that implements PluginWebSupport without being in the context of a specific App and App version.
It will call the webService method in the specificied plugin. Thus, the number of parameters needed essentially depends on the plugin itself.
Parameters
Name |
Mandatory |
Description |
---|---|---|
pluginName |
Yes |
Plugin Class Path (E.g. plugin/org.joget.apps.userview.lib.InboxMenu) |
Sample Call
Sample Result
[ { "value":"admin", "label":"Admin Admin(admin)" }, { "value":"cat", "label":"Cat Grant(cat)" }, { "value":"clark", "label":"Clark Kent(clark)" }, { "value":"david", "label":"David Cain(david)" } ]
URL
web/json/hash/options
Method
GET
Description
This is the utility call used to list down all hash variables' availableSyntax for autocomplete purpose.
Parameters
Name |
Mandatory |
Description |
---|
Sample Call
http://localhost:8080/jw/web/json/hash/options
Sample Result
[ "assignment.activityDefId", "assignment.activityId", "assignment.activityName", "assignment.assigneeId", "assignment.processDefId", "assignment.processId", "assignment.processName", "assignment.processRequesterId", "assignment.processVersion", "currentUser.active", "currentUser.department.description", "currentUser.department.id", "currentUser.department.name", "currentUser.email", "currentUser.employee.code", "currentUser.employee.isHod", "currentUser.employee.jobTitle", "currentUser.firstName", "currentUser.grade.description", "currentUser.grade.id", "currentUser.grade.name", "currentUser.groups.id", "currentUser.groups.name", "currentUser.hod.active", "currentUser.hod.email", "currentUser.hod.firstName", "currentUser.hod.lastName", "currentUser.hod.timeZone", "currentUser.hod.username", "currentUser.lastName", "currentUser.organization.description", "currentUser.organization.id", "currentUser.organization.name", "currentUser.timeZone", "currentUser.username", "date.DAY+INTEGER.FORMAT", "date.DAY-INTEGER.FORMAT", "date.FORMAT", "date.MONTH+INTEGER.FORMAT", "date.MONTH-INTEGER.FORMAT", "date.YEAR+INTEGER.FORMAT", "date.YEAR-INTEGER.FORMAT", "envVariable.KEY", "form.TABLE.COLUMN", "form.TABLE.COLUMN[PRIMARY_KEY]", "i18n.KEY", "performer.ACTIVITY_DEF_ID.active", "performer.ACTIVITY_DEF_ID.email", "performer.ACTIVITY_DEF_ID.firstName", "performer.ACTIVITY_DEF_ID.id", "performer.ACTIVITY_DEF_ID.lastName", "performer.ACTIVITY_DEF_ID.timeZone", "performer.ACTIVITY_DEF_ID.username", "requestParam.KEY", "user.USERNAME.active", "user.USERNAME.department.description", "user.USERNAME.department.id", "user.USERNAME.department.name", "user.USERNAME.email", "user.USERNAME.employee.code", "user.USERNAME.employee.isHod", "user.USERNAME.employee.jobTitle", "user.USERNAME.firstName", "user.USERNAME.grade.description", "user.USERNAME.grade.id", "user.USERNAME.grade.name", "user.USERNAME.groups.id", "user.USERNAME.groups.name", "user.USERNAME.hod.active", "user.USERNAME.hod.email", "user.USERNAME.hod.firstName", "user.USERNAME.hod.lastName", "user.USERNAME.hod.timeZone", "user.USERNAME.hod.username", "user.USERNAME.lastName", "user.USERNAME.organization.description", "user.USERNAME.organization.id", "user.USERNAME.organization.name", "user.USERNAME.timeZone", "user.USERNAME.username", "variable.KEY" ]
URL
Method
Description
Parameters
Name |
Mandatory |
Description |
---|---|---|
appId |
Yes |
|
version |
Yes |
|
callback |
|
|
name |
|
|
sort |
|
|
desc |
|
|
start |
|
|
rows |
|
|
Sample Call
http://localhost:8080/jw/web/json/console/app/leaveApp/2/datalist/options
Sample Result
[ { "value":"", "label":"" }, { "value":"applicationList", "label":"Application List" }, { "value":"contactList", "label":"Contact List" }, { "value":"userApplicationList", "label":"User Application List" } ]
URL
Method
Description
List all forms in of a specific App and App version
Parameters
Name |
Mandatory |
Description |
---|---|---|
appId |
Yes |
Application ID |
version |
Yes |
Application Version |
callback |
|
|
name |
|
|
sort |
|
|
desc |
|
|
start |
|
|
rows |
|
|
Sample Call
http://localhost:8080/jw/web/json/console/app/leaveApp/2/forms/options
Sample Result
[ { "value":"", "label":"" }, { "value":"submitLeaveForm", "label":"1-Submit Leave Form" }, { "value":"approveLeaveForm", "label":"2-Approve Leave Form" }, { "value":"leaveApprovedForm", "label":"3-Leave Approved Form" } ]
URL
Method
Description
Available in Joget version 5
Parameters
Name |
Mandatory |
Description |
---|---|---|
appId |
Yes |
Application ID |
version |
Yes |
Application Version |
callback |
|
|
name |
|
|
sort |
|
|
desc |
|
|
start |
|
|
rows |
|
|
Sample Call
http://localhost:8080/jw/web/json/console/app/leaveApp/2/userview/options
Sample Result
URL
Method
Description
Parameters
Name |
Mandatory |
Description |
---|---|---|
className |
|
|
Sample Call
Sample Result
URL
Method
Description
Parameters
Name |
Mandatory |
Description |
---|---|---|
value |
|
|
Sample Call
Sample Result
URL
Method
Description
Parameters
Name |
Mandatory |
Description |
---|---|---|
appId |
|
Application ID |
version |
|
|
value |
|
|
callback |
|
|
Sample Call
Sample Result
URL
Method
Description
Available in Joget version 5
Parameters
Name |
Mandatory |
Description |
---|---|---|
appId |
|
Application ID |
version |
|
|
value |
|
|
callback |
|
|
Sample Call
Sample Result