delete_tasks
Delete one or more tasks on a field.
Input fields
ID)
Sentera ID of the field that contains tasks to delete.
[ID!]!)
Sentera IDs of the tasks to delete. Limit to a maximum of 1000.
Return fields
User)
The user that is assigned to this task.
ISO8601DateTime)
Date and time of when the task was canceled, in ISO 8601 format.
ISO8601DateTime)
Date and time of when the task was completed, in ISO 8601 format.
User)
The user that completed this task.
[Contact!]!)
The contacts for a given flight task.
ISO8601DateTime!)
The date and time that this task was created.
User!)
The user that that requested this task.
ISO8601DateTime)
Please use targeted_at instead.
Date and time of when the task needs to be performed, in ISO 8601 format.
Field)
The field associated with this task.
[FieldActivity!]!)
All the activities on this field that were the result of this task.
| Argument | Type | Description |
|---|---|---|
activity_type |
ActivityType
|
Filter the results by activity type. |
String!)
The name of this task.
String)
Optional notes offering details about the task.
Organization)
The organization in which this task was created.
ID)
A system-generated key identifying the organization to which this task belongs.
FeatureSet)
A feature set with the geometry that should be used to perform this task.
TaskProvider!)
The provider of flight services for this task. A value of SELF means that the customer is providing the flight services themselves.
ISO8601DateTime)
Date and time of when the task was scheduled to be performed, in ISO 8601 format.
ID!)
A system-generated key identifying a specific instance of a task.
ISO8601DateTime)
Date and time of when the task was started, in ISO 8601 format.
TaskStatus!)
The status of this task.
Survey)
A survey that is the result of performing this task.
ISO8601DateTime)
Date and time of when the task was targeted to be performed, in ISO 8601 format.
TaskType!)
The concrete object Task has been converted into an interface.
The type of task to be performed.
User)
The user that last modified this task.
Examples
Delete tasks
Deletes a list of specified tasks for a given field. Any invalid IDs (wrong format, wrong field, etc...) will be ignored.
Try this example in GraphiQLmutation DeleteTasks {
delete_tasks(
field_sentera_id: "9rw1zd4_AS_t85tAcme_CV_deve_ac8dc2952_211228_100407",
sentera_ids: [
"mki3e6a_TA_SHORT1_CV_test_18ae300d0_200210_143838",
"mki3a6e_TA_SHORT1_CV_test_18ae300d0_200210_143838",
"mdi2t3w_TA_SHORT1_CV_test_18ae300d0_200210_143838"
]
) {
sentera_id
name
}
}
{
"data": {
"delete_tasks": [
{
"sentera_id": "mki3e6a_TA_SHORT1_CV_test_18ae300d0_200210_143838",
"name": "Task 1"
},
{
"sentera_id": "mki3a6e_TA_SHORT1_CV_test_18ae300d0_200210_143838",
"name": "Task 2"
},
{
"sentera_id": "mdi2t3w_TA_SHORT1_CV_test_18ae300d0_200210_143838",
"name": "Task 3"
}
]
}
}