Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

web/json/console/app/(*:appId)/(~:version)/message/list

Description
Retrieve first process with details of every packages

...

Retrieves all created custom i18n message of an app

User Role

 

Admin

 

Method

 

HTTP GET/POST

...

Parameters

...

    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • appId - App Definition id
    • version - (Optional) App Definition version
    • filter - (Optional) id and message filter
    • locale - (Optional) language code for filter
    • sort - (Optional) column name to be sorted

    • desc

      checkWhiteList

      - (Optional) Boolean value

      to return the list based on process white list

...

    • to determine whether to sort by ascending or descending order (true equals to descending)

    • start - (Optional) where rows start from

    • rows - (Optional) number of rows per page

Sample URL

 

http://localhost:8080/jw/web/json/workflow/process/list/package

 

Sample Result

...

console/app/

...

crm/message/list

...

Sample Result

Description
Retrieve first process with details of every packages

 

User Role

 

Admin

 

Method

 

HTTP GET/POST

 

Parameters

 

    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • checkWhiteList - (Optional) Boolean value to return the list based on process white list

 

Sample URL

 

http:/localhost/jw/web/json/workflow/process/list/package

 

...

Code Block
languagejs
{
    "total": 1,
    "data": {
        "message": "查询",
        "id": "general.method.label.search_zh_CN",
        "locale": "zh_CN",
        "messageKey": "general.method.label.search"
    }
}

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

Description
Retrieves all userviews of an app

User Role

Admin

Method

HTTP GET/POST

Parameters

    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • appId - App Definition id
    • version - (Optional) App Definition version
    • filter - (Optional) name filter
    • sort - (Optional) column name to be sorted

    • desc - (Optional) Boolean value to determine whether to sort by ascending or descending order (true equals to descending)

    • start - (Optional) where rows start from

    • rows - (Optional) number of rows per page

Sample URL

http://localhost:8080/jw/web/json/console/app/crm/userview/list

Sample Result

Code Block
languagejs
{
    "total": 1,
    "data": {
        "id": "crm_userview_sales",
        "dateModified": "13-09-2015 02:55 AM",
        "description": "",
        "name": "CRM: Sales Force Automation",
        "dateCreated": "22-07-2015 11:24 PM"
    }
}

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

 

Description
Retrieve first process with details of every packages

...

Retrieves all userviews of an app in value-label pair

User Role

 

Admin

 

Method

 

HTTP GET/POST

 

Parameters

 

    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • checkWhiteList - (Optional) Boolean value to return the list based on process white list

 

Sample URL

 

Parameters

    • callback - (Optional) a function (in JavaScript) to call back after invoking this method
    • appId - App Definition id
    • version - (Optional) App Definition version
    • sort - (Optional) column name to be sorted

    • desc - (Optional) Boolean value to determine whether to sort by ascending or descending order (true equals to descending)

    • start - (Optional) where rows start from

    • rows - (Optional) number of rows per page

Sample URL

http://localhost:8080http:/localhost/jw/web/json/console/workflowapp/processcrm/listuserview/packageoptions

 

...

Sample Result

Code Block
languagejs
[{
    "value": "",
    "label": ""
}, {
    "value": "crm_userview_sales",
    "label": "CRM: Sales Force Automation"
}]

web/json/workflow/package/list

...