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. File Ingestion and Replication REST API
  7. Streaming Ingestion and Replication REST API
  8. Model Serve REST API
  9. RunAJob utility
  10. ParamSetCli utility
  11. REST API codes
  12. 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!