Simple View Query v2

get

/jderest/v2/dataservice/view/{viewName}

Execute simple queries over EnterpriseOne business views.

Request

Path Parameters
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Execution

400 Response

Bad Request - Invalid JSON Input

403 Response

Authorization Failure

415 Response

Invalid Content-Type Header - Must use application/json

500 Response

Server Failed to Process Request
Body ()
Root Schema : ServiceErrorResponse
Type: object
Error Response
Show Source
Back to Top

Examples

Example Simple Get View Output

The following shows an example of a simple Get data request that enables you to quickly get data when no special logic is required. Pass the username and password or token in request parameters, or you can pass Basic Auth or JWT Auth headers for authorization. For caching, you must use a token.

curl -X GET -H "Authorization: Basic SkRFOkpERQ==" "http://ais_server_url/jderest/v2/dataservice/view/V0101E?$sort=F0101.AT1&$sort=-F0101.AN8&$filter=F0101.AN8 GE 6001&$limit=5&$field=F0101.ALPH&$field=F0101.AN8"

Example Response Simple Get Output

The following example shows the contents of the response body.


{
    "fs_DATABROWSE_V0101E": {
        "title": "Data Browser - V0101E [Address Book Update]",
        "data": {
            "gridData": {
                "id": 54,
                "fullGridId": "54",
                "columns": {
                    "F0101_AN8": "Address Number",
                    "F0101_ALPH": "Alpha Name",
                    "F0101_AT1": "Sch Typ"
                },
                "rowset": [
                    {
                        "F0101_AT1": "A",
                        "F0101_AN8": 10114,
                        "F0101_ALPH": "Hilsenbeck, Darrin"
                    },
                    {
                        "F0101_AT1": "A",
                        "F0101_AN8": 10113,
                        "F0101_ALPH": "Shipley, Terri"
                    },
                    {
                        "F0101_AT1": "A",
                        "F0101_AN8": 10112,
                        "F0101_ALPH": "Harris, Eric"
                    },
                    {
                        "F0101_AT1": "A",
                        "F0101_AN8": 10111,
                        "F0101_ALPH": "Smith, Robert"
                    },
                    {
                        "F0101_AT1": "A",
                        "F0101_AN8": 10110,
                        "F0101_ALPH": "Stover, Kendra"
                    }
                ],
                "summary": {
                    "records": 5,
                    "moreRecords": true
                }
            }
        },
        "errors": [],
        "warnings": []
    },
    "stackId": 1,
    "stateId": 1,
    "rid": "6fd21fb264f9d965",
    "currentApp": "DATABROWSE_V0101E",
    "timeStamp": "2017-02-09:20.36.02",
    "sysErrors": [],
    "totalMS": 633,
    "renderMS": 5
}
Back to Top