Execute a Watchlist v1

post

/jderest/watchlist

Execute the specified Watchlist. The response includes record count as well as Watchlist definition metadata.

Request

Supported Media Types
Header Parameters
Body ()
The input to the Watchlist service.
Root Schema : WatchListRequest
Type: object
The input to the Watchlist 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 Request

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


curl -i -X POST -H "Content-Type:application/json" http://ais_server_url/jderest/watchlist/ -d
{   
    "token": "044QF2SLgaM6vZX081eq8KsVi6XcJiiFL5un5ACH+eBGUg=MDE5MDEyMTY4NzY4NjcwMjI2NzExNzcyNDEwLjE1OS45OS43MzE0NzkxNDU4NDM4ODU=",
    "watchlistObjectName":"OVW0801A_1606210001CUST"

}

        

Example Response

The following example shows the contents of the response body.

Threshold Type is only returned in releases where that field is supported.

{
   "watchListOBNM": "P01012",
   "name": "Ab All in Name",
   "formtitle": "Work With Addresses",
   "queryname": "All",
   "rowcount":    {
      "records": 10,
      "modifier": false,
      "gridrows": 11
   },
   "lastRunTime": 1479146149105,
   "description": "Has All in Name",
   "warningThreshold": 3,
   "criticalThreshold": 10,
   "queryObjectName": "QRY01012B_1602160001CUST",
   "maxRecords": 200,
   "formOID": "P01012_W01012B_ZJDE0001",
   "isCritical": true,
   "thresholdType": "ASC",    
   "deprecated": true
}
        
Back to Top