Get a list of Objects by Object type v2

post

/v2/utils/getObjectList/{objectType}

Get a list of Objects by Object type and a filter value.

Request

Supported Media Types
Path Parameters
  • The Object Type to return a list of. Can be Pipe delimited for multiple types.
    Allowed Values: [ "APPL", "TBLE", "BSVW", "BSFN", "DSTR", "GT", "UBE" ]
Header Parameters
Body ()
Request Object for Filter Services.
Root Schema : FilterRequestV2
Type: object
Request Object for Filter Services.
Show Source
  • An identifier for the device making the service call. If not provided, the requesting IP address is used.
  • Specify the environment to use for login. If not specified, the default environment configured for the AIS Server will be used.
  • A value to use as a filter.
  • The HTML (JAS) Server to use for login. If not specified, the default HTML Server configured for the AIS Server will be used.
  • The JD Edwards EnterpriseOne password, which is required if other authentication methods are not being used.
  • Used for logging in with psToken. Primarily used by the HTML Server to establish a session with the AIS Server.
  • The role to use for login. If not specified, the default role configured for the AIS Server will be used.
  • The AIS token, which is required if other authentication methods are not being used.
  • JD Edwards EnterpriseOne username, which is required if other authentication methods are not being used.
Back to Top

Response

Supported Media Types

200 Response

Successful Execution
Body ()
Root Schema : ObjectListResponse
Type: object
A list of objects from an Object List request.
Show Source
Nested Schema : objectListResponse
Type: array
The list of objects returned.
Show Source
Nested Schema : ObjectListResponseItem
Type: object
A single return item from a Object List request.
Show Source

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 Request

Use the object list service to get a list of object librarian (OMW) objects. The type of object is included in the API path (path parameter). You may also use a pipe (|) delimited list of types in the path parameter (for example: BSFN|UBE). The token value is from a prior call to the token request service to establish a session.

curl -i -X POST -H "Content-Type:application/json" http://ais_server_url/jderest/utils/getObjectList/BSFN -d
{
  "token" : "044JHa5ZJWbI8PeLalEJFL8pU3VEWKJ17kotDHvwf5mFqc=MDE5MDA4OTE4MDAyNzQ2ODg2NDM2NTUxMk15RGV2aWNlMTQ3ODY0MjUyNjYzMw==",
  "filter" : "Retrieve Company"
}

Example Response

The following example shows the contents of the response body.

{
    "objectListResponse": [
        {
            "objectType": "BSFN",
            "objectName": "B0000047",
            "description": "Retrieve Company Address",
            "systemCode": "00"
        },
        {
            "objectType": "BSFN",
            "objectName": "B0000067",
            "description": "Retrieve Company Business Unit Type",
            "systemCode": "00"
        },
        {
            "objectType": "BSFN",
            "objectName": "B0000128",
            "description": "Retrieve Company Currency Code",
            "systemCode": "00"
        },
        {
            "objectType": "BSFN",
            "objectName": "B0000130",
            "description": "Retrieve Company From Business Unit",
            "systemCode": "09"
        },
        {
            "objectType": "BSFN",
            "objectName": "B03B0042",
            "description": "Retrieve Company Constants - Aging",
            "systemCode": "00"
        },
        {
            "objectType": "BSFN",
            "objectName": "B0900009",
            "description": "Retrieve Companys Begin Date",
            "systemCode": "09"
        },
        {
            "objectType": "BSFN",
            "objectName": "B0900023",
            "description": "F0911 - FS - Retrieve Company Master Data",
            "systemCode": "09"
        },
        {
            "objectType": "BSFN",
            "objectName": "B0900242",
            "description": "Retrieve Companys Current Date",
            "systemCode": "09"
        },
        {
            "objectType": "BSFN",
            "objectName": "N0000563",
            "description": "F0010 Retrieve Company Constant Record",
            "systemCode": "00"
        },
        {
            "objectType": "BSFN",
            "objectName": "N0500240",
            "description": "F0006 Time Entry - Retrieve Company",
            "systemCode": "05T"
        }
    ]
}
Back to Top