Get the Completion Status of a Report v2

post

/v2/report/status

Use the batch job number to get the completion status of the report.

Request

Supported Media Types
Header Parameters
Body ()
Input used to check the status or retrieve the output of a requested report.
Root Schema : PostProcessUBERequest
Type: object
Input used to check the status or retrieve the output of a requested report.
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.
  • The execution server of the report. The default server will be used if a value is not set.
  • The HTML (JAS) Server to use for login. If not specified, the default HTML Server configured for the AIS Server will be used.
  • The job number of the report.
  • For XMPL reports this indicates the language of the output to retreive. If blank will default to the users language.
  • Allowed Values: [ "BOTH", "JDE", "JDEDEBUG" ]
    If logs are requested, specify the type of logs you want.
  • Allowed Values: [ "FTP" ]
    Complete if the report output will be sent to a third-party location.
  • The JD Edwards EnterpriseOne password, which is required if other authentication methods are not being used.
  • The directory on a third-party FTP server where you want the output to be sent.
  • 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.
  • Specify the soft coding record to identify the third-party system.
  • 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.
  • Allowed Values: [ "PDF", "CSV", "OSA", "LOG" ]
    Specify the output to send to the third-party system.
Back to Top

Response

Supported Media Types

200 Response

Successful Execution
Body ()
Root Schema : UBEProcessingResponse
Type: object
Details of the status of the report.
Show Source
Nested Schema : xmlpOutputDefinitions
Type: array
A list of all outputs from an XMLP job.
Show Source
Nested Schema : XmlpOutputDefinition
Type: object
Show Source

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 report status request to determine the status of a submitted report. You can also pass executionServer to find the job on a specific server. The token value is from a prior call to the tokenrequest service to establish a session.

curl -X POST -H "Content-Type:application/json" http://ais_server_url/jderest/v2/report/status -d
{	 
   "token": "044TjRJRrdxJrpBeFs/CaMrJettewfPIz0Fru5FEP/LAgI=MDE5MDEzOTA5NDM1Nzk1ODQ0NjIzODc5OTEwLjEzOS4xMTAuMzgxNTA5NjQxNzAwMjAx",        
   "jobNumber":1160
}

Example Response

The following example shows the contents of the response body.

{
   "reportName": "R064011",
   "reportVersion": "XJDE0001",
   "jobNumber": 1160,
   "executionServer": "myEntServer",
   "jobStatus": "D",
   "objectType": "UBE",
   "user": "JDE",
   "environment": "JDV920",
   "submitDate": "20171102",
   "lastDate": "20171102",
   "submitTime": 170157,
   "lastTime": 170158,
   "oid": "R064011_XJDE0001",
   "queueName": "QBATCH"
}
Back to Top