---
schema_version: "1"
id: 2ce2b85c0bf8920b4081d01aee171e913e61e7d4d6e610779c60615935500b3b
title: TaskResult
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/taskresult.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/taskresult.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f2473f6fa2147c91f4408572a6e37511a5c58cd2fb1482239fd4499e226f0f5c
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# TaskResult

Contains the result information of a task from the Returns object.

## Properties

| Name                  | Data Type | Description                                                                                                  |
| --------------------- | --------- | ------------------------------------------------------------------------------------------------------------ |
| `ErrorCode`           | Int       | Identifies the error of an API request via a numeric code.                                                   |
| `ID`                  | String    | Read-only identifier for an object. Some objects use the ObjectID property as a unique ID.                   |
| `InteractionObjectID` | String    | Returns associated ID for activities within the asynchronous process of the overall conversation or program. |
| `OrdinalID`           | Int       | Defines position of object within an array of information.                                                   |
| `StatusCode`          | String    | Status of async API request.                                                                                 |
| `StatusMessage`       | String    | Describes the status of an API call.                                                                         |
