Get UDO Details v1

post

/jderest/udomanager/{operation}

Request details of Watchlist or query user defined objects (UDOs).

Request

Supported Media Types
Path Parameters
  • The UDO operation to perform, either get a single object or get all objects of that type.
    Allowed Values: [ "getallobjects", "getobjectbykey" ]
Header Parameters
Body ()
Input to the udomanager service.
Root Schema : UDORequest
Type: object
Input to the udomanager service.
Show Source
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

444 Response

Invalid Token
Body ()
Root Schema : ServiceErrorResponse
Type: object
Error Response
Show Source

500 Response

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

Examples

Example Watchlist Request

The following shows an example of request to get Watchlist details. The token passed in this example was received from a separate token request.


curl POST -H "Content-Type:application/json" http://ais_server_url/jderest/udomanager/getobjectbykey/ -d
{
    "token": "044QF2SLgaM6vZX081eq8KsVi6XcJiiFL5un5ACH+eBGUg=MDE5MDEyMTY4NzY4NjcwMjI2NzExNzcyNDEwLjE1OS45OS43MzE0NzkxNDU4NDM4ODU=",
    "udoType": "WATCHLIST",
    "omwObjectName": "OVW07210A_1608230001CUST"
}

        

Example Response

The following example shows the contents of the response body with Watchlist details.

{"activeObject": {
   "name": "ClearShowAll",
   "omwObjectName": "OVW07210A_1608230001CUST",
   "user": "JDE",
   "description": "PayCycle All",
   "prodCode": null,
   "tokenProjectName": null,
   "metaData":    {
      "queryObjectName": "QRY07210A_1608230001CUST",
      "warningThreshold": 2,
      "criticalThreshold": 10,
      "maxRecords": 200,
      "formOID": "P07210_W07210A_ZJDE0001",
      "refreshInterval": 60
   }
}}
        

Example Query Request

The following shows an example of request to get Query details. The token passed in this example was received from a separate token request.


curl POST -H "Content-Type:application/json" http://ais_server_url/jderest/udomanager/getobjectbykey/ -d
{
    "token": "044QF2SLgaM6vZX081eq8KsVi6XcJiiFL5un5ACH+eBGUg=MDE5MDEyMTY4NzY4NjcwMjI2NzExNzcyNDEwLjE1OS45OS43MzE0NzkxNDU4NDM4ODU=",
    "udoType": "QUERY",
    "omwObjectName": "QRY0801A_1608110001CUST"
}

        

Example Response

The following example shows the contents of the response body with Query details.

{"activeObject": {
   "name": "CO1",
   "omwObjectName": "QRY0801A_1608110001CUST",
   "user": "*PUBLIC",
   "description": "CO1",
   "tokenProjectName": null,
   "metaData":    {
      "bsvw": "V060116B",
      "andQuery": true,
      "autoClear": false,
      "autoFind": true,
      "conditions": [      {
         "leftServerId": "qbe0_1.24",
         "leftId": "qbe0_1.4",
         "ddAlias": "HMCO",
         "table": "F060116",
         "dataType": 1,
         "display": "Home Company (QBE)",
         "rightWidth": 97,
         "maxLength": 5,
         "operatorId": 0,
         "rightOperand": [         {
            "value": "00001",
            "svId": 0
         }]
      }]
   }
}}
        

Example All Objects Request

The following shows an example of a request to get all Watchlists. The token passed in this example was received from a separate token request.


curl POST -H "Content-Type:application/json" http://ais_server_url/jderest/udomanager/getallobjects/ -d
{
    "token": "044QF2SLgaM6vZX081eq8KsVi6XcJiiFL5un5ACH+eBGUg=MDE5MDEyMTY4NzY4NjcwMjI2NzExNzcyNDEwLjE1OS45OS43MzE0NzkxNDU4NDM4ODU=",
    "udoType": "WATCHLIST"
}

        

Example Response

The following example shows the contents of the response body for get all WATCHLIST objects.

{
    "managerTitle": "Watchlist Manager",
    "messages": {
        "primary": null,
        "secondary": null
    },
    "activeObject": {},
    "type": "udos",
    "error": null,
    "udoObjects": [
        {
            "group": "Personal",
            "items": [
                {
                    "name": "Company1",
                    "description": "                                                                                                                                                                                                        ",
                    "omwObjectName": "OVW0801A_1912200001CUST",
                    "user": "JDE",
                    "prodCode": null
                },
                {
                    "name": "Employees on Leave",
                    "description": "                                                                                                                                                                                                        ",
                    "omwObjectName": "OVW01012B_2003050001CUST",
                    "user": "JDE",
                    "prodCode": null
                }
            ]
        },
        {
            "group": "Pending Approval",
            "items": []
        },
        {
            "group": "Rework",
            "items": []
        },
        {
            "group": "Reserved",
            "items": []
        },
        {
            "group": "Shared",
            "items": [
                {
                    "name": "1095-Cs For Reporting Year",
                    "description": "1095-Cs For Reporting Year",
                    "omwObjectName": "OVW08119A_1609010002JDE",
                    "user": "*PUBLIC",
                    "prodCode": null
                },               
                {
                    "name": "ACA Eligibility TBD",
                    "description": "ACA Eligibility TBD",
                    "omwObjectName": "OVW081161A_1608170028JDE",
                    "user": "*PUBLIC",
                    "prodCode": null
                },
                {
                    "name": "ACA Eligible YTD",
                    "description": "                                                                                                                                                                                                        ",
                    "omwObjectName": "OVW081161A_1608170029JDE",
                    "user": "*PUBLIC",
                    "prodCode": null
                }
            ]
        }
    ]
}
        
Back to Top