#
Task
The task entity contains all information about a task. It is used as a return value in the Get Task and List Task endpoints.
#
Attributes
Name | Type | Description |
---|---|---|
id |
String | The task id |
timeframe |
Integer | The tasks timeframe. This value is used internally to schedule executions. |
data |
Object | The original http parameters that were / will be used to execute the tasks http request. |
status |
String | The tasks status. May be WAITING , DONE or ERROR . |
createdAt |
Integer | The timestamp the taks was created. |
completedAt |
Integer | The timestamp the taks was done executing. |
result |
Object | Http return data the task received upon execution from the remote server specified in data.url . |
result.header |
Object | Http return header the task received upon execution |
result.statusCode |
Integer | Http return status code the task received upon execution |
result.statusText |
String | Http return status test the task received upon execution |