Get Result

Get Result

Get the result for a given check run

Request
URI
GET
https://{api_host}/v1/system/check-sets/{runId}
COPY
Path Parameters
string
runId
Required

UUID of the task


Responses
200

Ok

Returns AssessmentOutput of type(s) application/json
{
    "physicalPresentedData": {
        "id": "string",
        "type": "string",
        "name": "string",
        "properties": {
            "properties": {}
        },
        "childEntities": [
            "EntityRest Object"
        ],
        "description": "string",
        "sourceAddress": "string",
        "classifications": [
            {
                "type": "string",
                "value": "string",
                "description": "string",
                "source": "string"
            }
        ]
    },
    "presentedArtifactsMap": {
        "presentedArtifactsMap": {}
    },
    "validationResult": {
        "errorCode": "string",
        "errorType": "string",
        "arguments": [
            "string"
        ],
        "context": {
            "context": "string"
        },
        "message": "string",
        "remediationMessage": "string",
        "causes": [
            {
                "type": "string",
                "message": "string"
            }
        ],
        "nestedErrors": [
            "Error Object"
        ],
        "referenceToken": "string"
    },
    "status": "string",
    "inputValidationErrors": [
        {
            "errorCode": "string",
            "errorType": "string",
            "arguments": [
                "string"
            ],
            "context": {
                "context": "string"
            },
            "message": "string",
            "remediationMessage": "string",
            "causes": [
                {
                    "type": "string",
                    "message": "string"
                }
            ],
            "nestedErrors": [
                "Error Object"
            ],
            "referenceToken": "string"
        }
    ],
    "discoveryProgress": {
        "progressMessages": [
            "string"
        ],
        "percentageComplete": 0
    },
    "relatedAssessmentId": "string",
    "timestamp": "string",
    "completionTimestamp": "string"
}
object
physicalPresentedData
Optional

Entity model representing the physical data output of the assessment workflow.

object
presentedArtifactsMap
Optional

Extra assessment artefacts produced by the workflow

object
validationResult
Optional

Error response containing a minor error code, a localized error message, a localized remediation message and optionally a reference token to correlate the error with the logs

string
status
Optional

Execution status

Possible values are : IN_PROGRESS, COMPLETED_WITH_SUCCESS, COMPLETED_WITH_FAILURE,
array of object
inputValidationErrors
Optional

Set of the input validation errors

object
discoveryProgress
Optional

Information about the assessment run progress.

string
relatedAssessmentId
Optional

Related assessment run id

string
timestamp
Optional

Assessment task creation timestamp

string
completionTimestamp
Optional

Assessment task completion timestamp


400

Bad Request

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


404

Invalid task for this UUID

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


500

InternalServerError

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/v1/system/check-sets/{runId}