Returns a TaskResult resource based on id.
GEThttp://localhost:8080/identityiq/scim/v2/TaskResults/:taskResultId
The TaskResult resource with matching id is returned.
Attributes to include in the response can be specified with the attributes query parameter.
Attributes to exclude from the response can be specified with the excludedAttributes query parameter.
The schema related to TaskResult is:
- urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult
Request
Path Parameters
id of TaskResult resource.
Query Parameters
A comma-separated list of attributes to return in the response. This query parameter supersedes excludedAttributes, so providing the same attribute(s) to both will result in the attribute(s) being returned.
A comma-separated list of attributes to exclude from the response. Some attributes cannot be excluded.
Responses
- 200
Returns a single TaskResult resource based on the id.
- application/json
- Schema
- Example (auto)
Schema
Unique identifier of the TaskResult.
c0a8019c80761c398180856488d2051d
Name of the TaskResult.
Aggregate Composite Application
Type of the TaskResult.
AccountAggregation
Completion Status of the TaskResult.
Possible values: [Success
, Warning
, Error
, Terminated
, TempError
]
Success
Launcher of the TaskResult.
james.smith
Host of the TaskResult.
mandrake.testdomain.com
Progress of the TaskResult.
3/5 tasks completed.
Target Class of the TaskResult.
Permission
Target Name of the Task Result.
Adam.Kennedy
Flag to indicate this TaskResult is terminated.
false
Flag to indicate this TaskResult is partitioned.
true
The launched DateTime of the TaskResult.
2022-05-02T10:30:00.014-05:00
The completed DateTime of the TaskResult.
2022-05-02T10:30:00.035-05:00
The expiration DateTime of the TaskResult.
2022-05-03T16:40:34.271-05:00
The verification DateTime of the TaskResult.
2022-05-03T16:40:34.271-05:00
The percentage completed of this TaskResult.
30
The number of pending signoffs of this TaskResult.
0
Name of the TaskDefinition of the TaskResult.
Workflow Launcher
Name of the TaskSchedule of the TaskResult.
Perform Identity Request Maintenance
attributes undefined[]
List of messages of the TaskResult.
meta object
["urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult"]
{
"id": "c0a8019c80761c398180856488d2051d",
"name": "Aggregate Composite Application",
"type": "AccountAggregation",
"completionStatus": "Success",
"launcher": "james.smith",
"host": "mandrake.testdomain.com",
"progress": "3/5 tasks completed.",
"targetClass": "Permission",
"targetName": "Adam.Kennedy",
"terminated": false,
"partitioned": true,
"launched": "2022-05-02T10:30:00.014-05:00",
"completed": "2022-05-02T10:30:00.035-05:00",
"expiration": "2022-05-03T16:40:34.271-05:00",
"verified": "2022-05-03T16:40:34.271-05:00",
"percentageComplete": 30,
"pendingSignOffs": 0,
"taskDefinition": "Workflow Launcher",
"taskSchedule": "Perform Identity Request Maintenance",
"attributes": [
{
"key": "inactiveWorkItemsForwarded",
"value": "0"
}
],
"messages": [
[
"Partition 2 is pending."
]
],
"meta": {
"created": "2022-05-02T10:30:00.018-05:00",
"location": "http://localhost:8080/identityiq/scim/v2/TaskResults/c0a8019c80761c398180856488d2051d",
"lastModified": "2022-05-02T10:30:00.036-05:00",
"version": "W\"1651505400036\"",
"resourceType": "TaskResult"
},
"schemas": [
"urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult"
]
}
Authorization: http
name: basicAuthtype: httpscheme: basic
- go
- powershellSailPoint SDK
- pythonSailPoint SDK
- csharp
- curl
- dart
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- r
- ruby
- rust
- shell
- swift
- NATIVE
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:8080/identityiq/scim/v2/TaskResults/:taskResultId"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Accept", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}