You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

web/json/app/(:appId)/(~:appVersion)/plugin/(*:pluginName)/service

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.

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

http://localhost:8080/jw/web/json/app/*leaveApp*/*2*/*plugin/org.joget.apps.userview.lib.InboxMenu*/service?action=getProcesses

Sample Result

[
   {
      "value":"",
      "label":""
   },
   {
      "value":"leaveProcess",
      "label":"Leave Process (leaveProcess)"
   }
]

web/json/plugin/(*:pluginName)/service

URL

Method

Description

Parameters

Name

Mandatory

Description

pluginName

 

 

Sample Call

Sample Result

web/json/hash/options

URL

Method

Description

Parameters

Name

Mandatory

Description

className

 

 

start

 

 

rows

 

 

Sample Call

Sample Result

web/json/console/app/(*:appId)/(~:version)/datalist/options

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"
   }
]

web/json/console/app/(*:appId)/(~:version)/forms/options

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"
   }
]

web/json/console/app/(*:appId)/(~:version)/userview/options

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

web/property/json/getElements

URL

Method

Description

Parameters

Name

Mandatory

Description

className

 

 

Sample Call

Sample Result

web/property/json/getPropertyOptions

URL

Method

Description

Parameters

Name

Mandatory

Description

value

 

 

Sample Call

Sample Result

web/property/json/(*:appId)/(~:version)/getPropertyOptions

URL

Method

Description

Parameters

Name

Mandatory

Description

appId

 

Application ID

version

 

 

value

 

 

callback

 

 

Sample Call

Sample Result

web/property/json/(*:appId)/(~:version)/getDefaultProperties

URL

Method

Description

Available in Joget version 5

Parameters

Name

Mandatory

Description

appId

 

Application ID

version

 

 

value

 

 

callback

 

 

Sample Call

Sample Result

  • No labels