Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
http://localhost:8080/jw/web/json/plugin/list?start=0&rows=5
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี HTTP GET / POST พารามิเตอร์
http://localhost:8080/jw/web/json/plugin/list?start=0&rows=5 ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
| ||
{ "total": 140, "start": 0, "data": [{ "id": "org.joget.plugin.enterprise.AjaxSubForm", "description": "AJAX Subform Element", "name": "AJAX Subform", "version": "5.0.0" }, { "id": "org.joget.plugin.enterprise.AdminUserviewPermission", "description": "", "name": "Is Admin", "version": "5.0.0" }, { "id": "org.joget.plugin.enterprise.AdvancedFormRowDataListBinder", "description": "Retrieves data rows from a form table.", "name": "Advanced Form Data Binder", "version": "5.0.0" }, { "id": "org.joget.plugin.enterprise.AdvancedGrid", "description": "Advanced Grid Element", "name": "Advanced Grid", "version": "5.0.0" }, { "id": "org.joget.plugin.enterprise.AnonymousUserviewPermission", "description": "", "name": "Is Anonymous", "version": "5.0.0" }] } |
...
http://localhost:8080/jw/web/json/plugin/listOsgi?start=0&rows=10
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี HTTP GET / POST พารามิเตอร์
ตัวอย่าง URL http://localhost:8080/jw/web/json/plugin/listOsgi?start=0&rows=10 ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
| ||
{ "total": 1, "start": 0, "data": { "id": "test.directory.TestDirectoryManager", "description": "Test Directory Manager", "name": "Test Directory Manager", "version": "1.0.0" } } |
...
http://localhost:8080/jw/web/property/json/getElements?classname=org.joget.plugin.base.DefaultApplicationPlugin
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี HTTP GET / POST พารามิเตอร์ classname - ชื่อคลาส plugin type abstract class or interface
http://localhost:8080/jw/web/property/json/getElements?classname=org.joget.plugin.base.DefaultApplicationPlugin ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
| ||
[{ "value": "", "label": "" }, { "value": "org.joget.apps.app.lib.DatabaseUpdateTool", "label": "Database Update Tool" }, { "value": "org.joget.apps.app.lib.EmailTool", "label": "Email Tool" }, { "value": "org.joget.apps.app.lib.JsonTool", "label": "Json Tool" }] |
...
http://localhost:8080/jw/web/property/json/getPropertyOptions?value=org.joget.apps.app.lib.BeanShellTool
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี
http://localhost:8080/jw/web/property/json/getPropertyOptions?value=org.joget.apps.app.lib.BeanShellTool ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
Code Block | ||
| ||
[{ title: 'Configure Bean Shell', properties: [{ name: 'script', label: 'Script', type: 'codeeditor', required: 'True', mode: 'java' }] }] |
...
http://localhost:8080/jw/web/property/json/crm/getDefaultProperties?value=org.joget.apps.app.lib.EmailTool
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี HTTP GET / POST พารามิเตอร์
http://localhost:8080/jw/web/property/json/crm/getDefaultProperties?value=org.joget.apps.app.lib.EmailTool ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
| ||
{ "host": "smtp.gmail.com", "port": "456", "security": "SSL", "username": "test@gmail.com", "password": "test", "from": "test@gmail.com", "toSpecific": "", "toParticipantId": "", "cc": "", "bcc": "", "subject": "", "message": "", "isHtml": "", "formDefId": "", "fields": [], "files": [] } |
...
http://localhost:8080/jw/web/property/json/crm/getPropertyOptions?value=org.joget.apps.app.lib.BeanShellTool
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี HTTP GET / POST พารามิเตอร์
http://localhost:8080/jw/web/property/json/crm/getPropertyOptions?value=org.joget.apps.app.lib.BeanShellTool ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
| ||
[{
title: 'Configure Bean Shell | ||
Code Block | ||
| ||
[{
title: 'Configure Bean Shell',
properties: [{
name: 'script',
label: 'Script',
type: 'codeeditor',
required: 'True',
mode: 'java'
}]
}] |
...
Sample URL
http://localhost:8080/jw/web/json/console/setting/message/list
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี พารามิเตอร์
บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี พารามิเตอร์
ตัวอย่าง URL ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
| ||
{"total":1,"data":{"message":"搜索","id":"402880824fb19a77014fb5025ed80002","locale":"zh_CN","key":"general.method.label.search"}} |
...
Sample URL
http://localhost:8080/jw/web/json/hash/options
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี ตัวอย่าง URL ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
| ||
["assignment.activityDefId", "assignment.activityId", "assignment.activityName", "assignment.assigneeId", "assignment.processDefId", "assignment.processId", "assignment.processName", "assignment.processRequesterId", "assignment.processVersion", "currentUser.active", "currentUser.email", "currentUser.firstName", "currentUser.lastName", "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", "request.characterEncoding", "request.contextPath", "request.header.NAME", "request.locale", "request.method", "request.pathInfo", "request.protocol", "request.queryString", "request.remoteAddr", "request.requestURI", "request.requestURL", "request.requestedSessionId", "request.scheme", "request.serverName", "request.serverPort", "request.servletPath", "requestParam.KEY", "user.USERNAME.active", "user.USERNAME.email", "user.USERNAME.firstName", "user.USERNAME.lastName", "user.USERNAME.timeZone", "variable.KEY"] |
...
Method
HTTP GET/POST
Parameters
...
Sample URL
http://localhost:8080/jw/web/json/workflow/testConnection?datasource=default&driver=com.mysql.jdbc.Driver&url=jdbc%3Amysql%3A%2F%2Flocalhost%3A3306%2Fjwdb%3FcharacterEncoding%3DUTF-8&user=root&password=
Sample Result
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี พารามิเตอร์
|
...
ตัวอย่างผลลัพธ์ |
Code Block | ||
---|---|---|
| ||
{"success":true,"datasource":"default"} |
...
Sample URL
http://localhost:8080/jw/web/json/data/form/load/crm/crm_account/001
Sample cURL Request
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี พารามิเตอร์
ตัวอย่าง URL ตัวอย่างคำขอ cURL |
Code Block | ||
---|---|---|
| ||
curl -v -d "j_username=admin&j_password=admin" "http://localhost:8080/jw/web/json/data/form/load/crm/crm_account/001?includeSubformData=true&includeReferenceElements=true&flatten=true" |
...
Description
Create or update a form record
User Role
Admin
...
form record
User Role
Admin
Method
HTTP POST
Parameters
Sample URL
http://localhost:8080/jw/web/json/data/form/store/crm/crm_account/001
Sample cURL Request
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี |
...
พารามิเตอร์ |
...
|
...
|
...
|
...
|
...
URL |
...
ตัวอย่างคำขอ cURL |
...
Code Block | ||
---|---|---|
| ||
curl -v -X POST -d "j_username=admin&j_password=admin&accountName=001%Updated&address=001%20Address" http://localhost:8080/jw/web/json/data/form/store/crm//crm_account/001 |
...
Sample URL
http://localhost:8080/jw/web/json/data/form/delete/crm/crm_account/001
Sample cURL Request
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี พารามิเตอร์
ตัวอย่างคำขอ cURL |
Code Block | ||
---|---|---|
| ||
curl -v -X POST -d "j_username=admin&j_password=admin" http://localhost:8080/jw/web/json/data/form/delete/crm//crm_account/001 |
...
Sample URL
http://localhost:8080/jw/web/json/data/list/crm/crm_account_list
Sample cURL Request
Thai |
---|
ลักษณะ บทบาทของผู้ใช้ ผู้ดูแลระบบ วิธี พารามิเตอร์
ตัวอย่างคำขอ cURL |
Code Block | ||
---|---|---|
| ||
curl -v -d "j_username=admin&j_password=admin" http://localhost:8080/jw/web/json/data/list/crm/crm_account_list?start=0&rows=20&d-5043735-fn_accountName=00 |
...
Info | ||
---|---|---|
| ||
The returned attribute "total" will give the the total number of records regardless of the filters applied unless the attribute "Consider filter value when get total size?" is checked in the datalist.
|
Code Block | ||
---|---|---|
| ||
{ "total": 5, "data": [{ "country": "", "accountName": "001 Updated", "id": "001", "state": "" }, { "country": "", "accountName": "002", "id": "002", "state": "" }, { "country": "", "accountName": "003", "id": "003", "state": "" }] } |