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

Compare with Current View Page History

« Previous Version 15 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

appVersion

Yes

Application Version

pluginName

Yes

Plugin Class Path

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/plugin/(*:pluginName)/service

URL

Method

Description

Parameters

Name

Description

pluginName

 

Sample Call

Sample Result

web/json/hash/options

URL

Method

Description

Parameters

Name

Description

className

 

start

 

rows

 

Sample Call

Sample Result

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

URL

Method

Description

Parameters

Name

Description

appId

 

version

 

callback

 

name

 

sort

 

desc

 

start

 

rows

 

Sample Call

Sample Result

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

URL

Method

Description

Parameters

Name

Description

appId

 

version

 

callback

 

name

 

sort

 

desc

 

start

 

rows

 

Sample Call

Sample Result

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

URL

Method

Description

Available in Joget version 5

Parameters

Name

Description

appId

 

version

 

callback

 

name

 

sort

 

desc

 

start

 

rows

 

Sample Call

Sample Result

web/property/json/getElements

URL

Method

Description

Parameters

Name

Description

className

 

Sample Call

Sample Result

web/property/json/getPropertyOptions

URL

Method

Description

Parameters

Name

Description

value

 

Sample Call

Sample Result

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

URL

Method

Description

Parameters

Name

Description

appId

 

version

 

value

 

callback

 

Sample Call

Sample Result

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

URL

Method

Description

Available in Joget version 5

Parameters

Name

Description

appId

 

version

 

value

 

callback

 

Sample Call

Sample Result

  • No labels