Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. IDMC REST API
  3. REST API resource quick references
  4. Platform REST API version 2 resources
  5. Platform REST API version 3 resources
  6. Data Integration REST API
  7. Cloud Data Integration for PowerCenter (CDI-PC) REST API
  8. Data Ingestion and Replication REST API
  9. Customer Managed REST API
  10. RunAJob utility
  11. ParamSetCli utility
  12. REST API codes

REST API Reference

REST API Reference

Getting the job log

Getting the job log

Use this resource to download the session log file of a job in a Customer Managed runtime environment.

GET Request

To download the log, use the following API call:
GET https://<agent-host>:9443/rm/mftsaas/api/v1/offline/job/<jobNumber>/logs RM-USER-TOKEN: <rm-token>
To download the job log with curl, use the following command:
curl -k https://<agent-host>:9443/rm/mftsaas/api/v1/offline/job/<jobNumber>/logs \ -H "RM-USER-TOKEN: <rm-token>" \ -o job_1728712345678.log
The following table describes the URL parameter:
Field
Type
Required
Description
jobNumber
Number
Yes
Job number that the run resource returns.

Get response

Returns the log file if the request is successful. Returns an error if errors occur.
The response is a file download that has no JSON body. The following table describes the errors:
HTTP status
Response
Description
404
{"error":"<message>","jobId":"<n>"}
No job with this number exists, or its log file is not available.
500
{"error":"Internal server error"}
Internal error.

0 COMMENTS

We’d like to hear from you!