FTP Report Output v2

post

/v2/external/ftp/report

Using the report job number, transfer the output of the report to an external FTP server.

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

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 output request to transfer the output of a completed report using FTP. The softCodingRecordKey is the key to the soft coding/connection record; it contains the details and credentials of the FTP site. 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/external/ftp/report -d
{	 
    "jobNumber": 1207,
	"softCodingRecordKey":"MYFTP",
    "executionServer": "myEntServer"
}

Example Response - Transfer Logs

The following example shows the contents of the response body.

{
   "reportName": "R064011",
   "reportVersion": "XJDE0001",
   "jobNumber": 1207,
   "executionServer": "myEntServer",
   "jobStatus": "D",
   "objectType": "UBE",
   "user": "JDE",
   "environment": "JDV920",
   "submitDate": "20171102",
   "lastDate": "20171102",
   "submitTime": 170157,
   "lastTime": 170158,
   "oid": "R064011_XJDE0001",
   "queueName": "QBATCH",
   "fileName": "/FTP_Reports/R064011_XJDE0001_1207_PDF.pdf"
}

Example Request - Transfer Logs

The following example shows the contents of the response body.

curl -X POST -H "Content-Type:application/json" http://ais_server_url/jderest/v2/external/ftp/report -d
{	 
    "jobNumber": 1207,
	"softCodingRecordKey":"MYFTP",
    "executionServer": "myEntServer"
    "viewType":"LOG",
    "logType":"BOTH"
}

Example Response - Transfer Logs

The following example shows the contents of the response body.

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