Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{toc}


h3. 
Table of Contents
web/json/app/(:appId)/(~:appVersion)/plugin/(*:pluginName)/service

...

URL

Method

Description

Parameters

Name

Description

appId

 

appVersion

 

pluginName

 

Sample Call

Sample Result



*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"},{"value"
:"emergencyContact","label":"Emergency Contact"}\]
{code}[
   {
      "value":"",
      "label":""
   },
   {
      "value":"submitLeaveForm",
      "label":"1-Submit Leave Form"
   },
   {
      "value":"approveLeaveForm",
      "label":"2-Approve Leave Form"
   },
   {
      "value":"leaveApprovedForm",
      "label":"3-Leave Approved Form"
   }
]{code}


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

...

URL

Method

Description

Parameters

Name

Description

pluginName

 

Sample Call

Sample Result



*URL*

*Method*

*Description*

*Parameters*
|| Name || Description ||
| pluginName | |
*Sample Call*

*Sample Result*


h3. web/json/hash/options

...

URL

Method

Description

Parameters

Name

Description

className

 

start

 

rows

 

Sample Call

Sample Result



*URL*

*Method*

*Description*

*Parameters*
|| Name || Description ||
| className | |
| start | |
| rows | |
*Sample Call*

*Sample Result*

h3. 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



*URL*

*Method*

*Description*

*Parameters*
|| Name || Description ||
| appId | |
| version \\ | |
| callback \\ | |
| name | |
| sort | |
| desc | |
| start | |
| rows | |
*Sample Call*

*Sample Result*

h3. 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



*URL*

*Method*

*Description*

*Parameters*
|| Name || Description ||
| appId | |
| version | |
| callback | |
| name | |
| sort | |
| desc | |
| start | |
| rows | |
*Sample Call*

*Sample Result*

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

...

URL

Method

Description

Info

Available in Joget version 5

Parameters

Name

Description

appId

 

version

 

callback

 

name

 

sort

 

desc

 

start

 

rows

 

Sample Call

Sample Result



*URL*

*Method*

*Description*
{info}Available in Joget version 5{info}

*Parameters*

|| Name || Description ||
| appId | |
| version | |
| callback | |
| name | |
| sort | |
| desc | |
| start | |
| rows | |
*Sample Call*

*Sample Result*

h3. web/property/json/getElements

...

URL

Method

Description

Parameters

Name

Description

className

 

Sample Call

Sample Result



*URL*

*Method*

*Description*

*Parameters*
|| Name || Description ||
| className | |
*Sample Call*

*Sample Result*


h3. web/property/json/getPropertyOptions

...

URL

Method

Description

Parameters

Name

Description

value

 

Sample Call

Sample Result



*URL*

*Method*

*Description*

*Parameters*
|| Name || Description ||
| value | |
*Sample Call*

*Sample Result*


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

...

URL

Method

Description

Parameters

Name

Description

appId

 

version

 

value

 

callback

 

Sample Call

Sample Result



*URL*

*Method*

*Description*

*Parameters*
|| Name || Description ||
| appId | |
| version | |
| value | |
| callback | |
*Sample Call*

*Sample Result*


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

...

URL

Method

Description

Info

Available in Joget version 5

Parameters

Name

Description

appId

 

version

 

value

 

callback

 

Sample Call

...



*URL*

*Method*

*Description*
{info}Available in Joget version 5{info}

*Parameters*
|| Name || Description ||
| appId | |
| version | |
| value | |
| callback | |
*Sample Call*

*Sample Result*