GET /config/flow_sources/custom_properties/calculated_property_delete_tasks/{task_id}

Retrieves the status of the flow calculated property delete task.

Retrieves the status of the flow calculated property delete task.

Table 1. GET /config/flow_sources/custom_properties/calculated_property_delete_tasks/{task_id} resource details
MIME Type

application/json

Table 2. GET /config/flow_sources/custom_properties/calculated_property_delete_tasks/{task_id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

task_id

path

Required

Number (Integer)

text/plain

Required - The ID of the calculated property delete task.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /config/flow_sources/custom_properties/calculated_property_delete_tasks/{task_id} response codes
HTTP Response Code Unique Code Description

200

The status of the flow calculated property delete task was retrieved.

404

1002

The requested task status can not be found.

422

1005

One or more parameters are invalid in the request.

500

1020

An error occurred during the attempt to retrieve the status of the deletion task.

Response Description

A Delete Task Status object and the location header set to the task status URL "/api/config/flow_sources/custom_properties/calculated_property_delete_tasks/{task_id}". A Delete Task Status object contains the following fields:
  • id - Long - The ID of the task.
  • message - String - The localized task message.
  • status - String - The current state of the task.
  • name - String - The name of the task.
  • created_by - String - The name of the user who started the task.
  • created - Long - The time in milliseconds since epoch since the task was created.
  • started - Long - The time in milliseconds since epoch since the task was started.
  • modified - Long - The time in milliseconds since epoch since the task was modified.
  • completed - Long - The time in milliseconds since epoch since the task was completed.

Response Sample


{
    "completed": 42,
    "created": 42,
    "created_by": "String",
    "id": 42,
    "message": "String",
    "modified": 42,
    "name": "String",
    "started": 42,
    "status": "String <one of: CANCELLED, CANCELING, CANCEL_REQUESTED, COMPLETED, CONFLICT, EXCEPTION, INITIALIZING, INTERRUPTED, PAUSED, PROCESSING, QUEUED, RESUMING>"
}