- tracker-api
- for-patient
- for-internal
- system
- dataflow
- for-patient
- for-internal
Filter Failed Tasks
Testing
tracker - local
http://localhost:8081/
tracker - local
http://localhost:8081/
POST
api/users/v1/trackers/{trackerId}/instances/{instanceId}/tasks/filter
Request
Path Params
trackerId
string
required
instanceId
string
required
Header Params
Authorization
string
optional
Body Params application/json
ids
array[string]
optional
types
array[string]
optional
statuses
array[string]
optional
updatedBy
array[string]
optional
createdBy
array[string]
optional
limit
integer
required
offset
integer
required
sort
string
required
Example
{
"ids": [
"string"
],
"types": [
"string"
],
"statuses": [
"string"
],
"updatedBy": [
"string"
],
"createdBy": [
"string"
],
"limit": 0,
"offset": 0,
"sort": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8081/api/users/v1/trackers//instances//tasks/filter' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": [
"string"
],
"types": [
"string"
],
"statuses": [
"string"
],
"updatedBy": [
"string"
],
"createdBy": [
"string"
],
"limit": 0,
"offset": 0,
"sort": "string"
}'
Responses
🟢200OK
application/json
Body
data
object
required
tasks
array [object {9}]
required
Example
{
"data": {
"tasks": [
{
"id": "string",
"type": "SYMPTOM_RECORDER",
"status": "UNREAD",
"input": {},
"output": {},
"createdAt": "2023-12-23 12:05:00",
"updatedAt": "2023-12-23 15:05:00",
"createdBy": "string",
"updatedBy": "string"
}
]
}
}
Modified at 2024-03-23 16:12:39