Project

General

Profile

Task #17860

WSC: WFschemaGet()

Added by Sachin Divekar about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

WFschemaGet()

Request

{
    "slice": 6,
    "app": "retailBANK",
    "class": "custonboarding"
}

all three parameters are mandatory. This combination will identify a unique schema in the realm of the user.

Processing

The calling user must have schema or ruleset capability for the app to which this schema belongs and must belong to the same realm as the schema record. If the caller has root or report capability, then she may apply this call to any schema in her realm.

Response

{
    "slice": 6,
    "app": "retailBANK",
    "class": "custonboarding",
    "patternschema": "some JSON block",
    "actionschema": "some JSON block",
    "createdat": "some timestamp",
    "createdby": "some user",
    "editedat": "some timestamp",
    "editedby": "some user"
}

where these fields are picked up straight from the schema table. Possible errors include the usual ones.

Also available in: Atom PDF