Response Fields
Field Name  | Type  | Description  | 
|---|
error  | string
  | The error message if the command execution failed.  | 
returnData  | string
  | The return data from the API request.  | 
contextData  | array<JSON Object>
  | The return data from the API request.  | 
Sample Data
        
        CODE
    
    {
    "error": "",
    "returnData": "Successful",
    "contextData": [
    {
        "ID": 30,
        "IncidentId": 25,
        "TypeId": 201,
        "Creator": 1,
        "LastModifiedBy": 1,
        "CreatedUtcTime": "2023-04-11T21:18:47.460",
        "CreatedTime": "2023-04-11T22:18:00",
        "LastModifiedUtcTime": "2023-04-13T22:19:04.513",
        "LastModifiedTime": "2023-04-13T23:19:00",
        "InvestigationDetail": [
            {
                "ID": 112,
                "InvestigationId": 30,
                "AddedBy": 1,
                "LastModifiedBy": 1,
                "RuntimeTaskId": -1,
                "Content": "<p>This is an IOA 22. </p>",
                "Data": "{\n    \"Name\":\"The fake invoice scam\",\n    \"Type\":\"Phishing email\",\n    \"DetectedUtcTime\":\"2023-04-12T12:00:00\",\n    \"RelationData\":[\n        {\n            \"Type\":\"Relationship\",\n            \"Direction\":\"BiDirectional\",\n            \"Label\":\"Attack\",\n            \"Properties\":{\n                \"property1\":\"value1\",\n                \"property2\":\"value2\"\n            },\n            \"Start\":{\n                \"Type\":\"Artifact\",\n                \"Subtype\":\"Username\",\n                \"Name\":\"Sample User A\",\n                \"Properties\":{\n                    \"property1\":\"value1\",\n                    \"property2\":\"value2\"\n                }\n            },\n            \"End\":{\n                \"Type\":\"Artifact\",\n               \"Subtype\":\"Username\",\n                \"Name\":\"Sample User B\",\n                \"Properties\":{\n                    \"property1\":\"value1\",\n                    \"property2\":\"value2\"\n                }\n            }\n        },\n        {\n            \"Type\":\"Relationship\",\n            \"Direction\":\"Reverse\",\n            \"Label\":\"Attack\",\n            \"Properties\":{\n                \"property1\":\"value1\",\n                \"property2\":\"value2\"\n            },\n            \"Start\":[\n                {\n                    \"Type\":\"Artifact\",\n                    \"Subtype\":\"Host Name\",\n                    \"Name\":\"Host Name A\",\n                    \"Properties\":{\n                        \"property1\":\"value1\",\n                        \"property2\":\"value2\"\n                    }\n                }\n            ],\n            \"End\":[\n                {\n                    \"Type\":\"Artifact\",\n                    \"Subtype\":\"Host Name\",\n                    \"Name\":\"Host Name B\",\n                    \"Properties\":{\n                        \"property1\":\"value1\",\n                        \"property2\":\"value2\"\n                    }\n                }\n            ]\n        }\n    ]\n}",
                "Type": 0,
                "CreatedUtcTime": "2023-04-13T22:19:04.513",
                "CreatedTime": "2023-04-13T23:19:00",
                "LastModifiedUtcTime": "2023-04-13T22:19:04.513",
                "LastModifiedTime": "2023-04-13T23:19:00",
                "IsDeleted": false,
                "IndicatorGuid": ""
            }
        ]
    }
  ]
}