Data Integration
- Data Integration
- All Products
/api/v2/job
Field
| Type
| Required
| Description
|
---|---|---|---|
taskId
| String
| Required if taskName or taskFederatedId is not included.
| Task or linear taskflow ID. Use taskId or taskName in the URI. You
can include this task ID when the task is located in the Default
folder. |
taskFederatedId
| String
| Required if the task is not located in the Default folder.
| Global unique identifier for the task, which includes the folder path to
the task. |
taskName
| String
| Required if taskId or taskFederatedId is not included.
| Task or linear taskflow name. Use taskId or taskName in the URI.
|
taskType
| String
| Yes
| The type of task. For
Data Integration , use one of the following codes:
|
callbackURL
| String
| -
| A valid, publicly available URL. The service posts the job status to the callbackURL.
|
Field
| Type
| Description
|
---|---|---|
taskId
| String
| Task or linear taskflow ID.
|
taskFederatedId
| String
| Global unique identifier for the task, which includes the folder path to the task.
|
taskName
| String
| Task or linear taskflow name.
|
taskType
| String
| The type of task. Returns one of the following codes for
Data Integration :
|
runId
| Long
| ID of the job.
|
callbackURL
| String
| Status of the job.
|
POST <serverUrl>/api/v2/job HTTP/1.0 Content-Type: application/json Accept: application/json icSessionId: <icSessionId> { "taskId": "0034J90000000M", "taskType": "Workflow", "callbackURL": "https://MyIICSJobStatus.com", }
POST <serverUrl>/api/v2/job HTTP/1.0 Content-Type: application/json Accept: application/json icSessionId: <icSessionId> { "@type": "job", "taskId": "0100000Z000009", "taskType": "MTT", "runtime": { "@type": "mtTaskRuntime" } }
/api/v2/job/stop
Field
| Type
| Required
| Description
|
---|---|---|---|
taskId
| String
| Required if taskName not included.
| Task or linear taskflow ID. Use taskId or taskName in the URI.
|
taskFederatedId
| String
| Required if the task is not located in the Default folder.
| Global unique identifier for the task, which includes the folder path to the task.
|
taskName
| String
| Required if taskId not included.
| Task or linear taskflow name. Use taskId or taskName in the URI.
|
taskType
| String
| Yes
| The type of task. For
Data Integration , use one of the following codes:
|
POST <serverUrl>/api/v2/job/stop HTTP/1.0 Content-Type: application/json Accept: application/json icSessionId: <icSessionId> { "@type": "job", "taskId": "0034J90000000M", "taskType": "Workflow" }
/api/v2/job/stop?cleanStop=true
Field
| Type
| Required
| Description
|
---|---|---|---|
taskId
| String
| Required if taskName not included.
| Task or linear taskflow ID. Use taskId or taskName in the URI.
|
taskFederatedId
| String
| Required if the task is not located in the Default folder.
| Global unique identifier for the task, which includes the folder path to the task.
|
taskName
| String
| Required if taskId not included.
| Task or linear taskflow name. Use taskId or taskName in the URI.
|
taskType
| String
| Yes
| The type of task. For
Data Integration , use one of the following codes:
|
POST <serverUrl>/api/v2/job/stop?cleanStop=1 { "@type": "job", "taskName": "MappingTask1", "taskType": "MTT" }
{ @type:"callbackUrlResponse" endTime: "2013-02-27T18:57:52.000Z", objectId: "0034J90000000M", objectName: "taskName", runId: 5, status: "COMPLETED" // or “FAILED” }