Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. Mass Ingestion Files REST API
  7. Mass Ingestion Streaming REST API
  8. RunAJob utility
  9. ParamSetCli utility
  10. REST API codes
  11. REST API resource quick references

REST API Reference

REST API Reference

Spark task results for a code task

Spark task results for a
code task

Use the jobs resource to access the Spark task results for the
code task
.

GET request

To access the Spark task results of a
code task
, use the
code task
job ID. The
code task
job ID is included in the response when you start a
code task
. For more information, see Start.
Use the following URI to access
code task
Spark task results:
GET <server URL>/logservice/api/v1/jobs/<Code task job ID>/callback

GET response

Returns the
code task
Spark task details for the requested job ID.
Returns the error object if errors occurred.

GET request example

Use this sample as a reference to access
code task
Spark task results.
GET <server URL>/logservice/api/v1/jobs/<Code task job ID>/callback Content-Type: application/json Accept: application/json IDS-SESSION-ID:{{IDS_SESSION_ID}}

GET response example

A successful GET response returns the
code task
Spark task results, similar to the following example:
{ "jobId": "73LJ52V0tiNjC2HFb2YggK", "callbackBody": "{\"taskId\": \"73LJ52V0tiNjC2HFb2YggK\", \"executionId\": \"73LJ52V0tiNjC2HFb2YggK\", \"sessionLogUrl\": \"logservice/api/v1/jobs/73LJ52V0tiNjC2HFb2YggK/logs\", \"executionState\": \"RUNNING\"}" }

0 COMMENTS

We’d like to hear from you!