Détail d'une tâche
GET/tasks/:id
Détail d'une tâche
Request
Path Parameters
id integerrequired
Identifiant {@from path}
Responses
- 200
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- InterventionTypeRespond
- ApiarySimpleRespond
- BeehiveSimpleRespond
id integer
Identifiant
taskType
object
nullable
Type de tâche
oneOf
id integer
Identifiant
name stringnullable
Nom
apiary
object
nullable
Rucher
oneOf
id integer
Identifiant
name stringnullable
Nom
beehive
object
nullable
Ruche
oneOf
id integer
Identifiant
reference stringnullable
Référence
comments stringnullable
Commentaires
category string
Catégorie
validated boolean
Validée
quantity integernullable
Quantité
color stringnullable
Couleur
dateTask stringnullable
Date de la tâche
dateAdd stringnullable
Date de création
{
"id": 15,
"taskType": {},
"apiary": {},
"beehive": {},
"comments": "string",
"category": "standard",
"validated": true,
"quantity": 0,
"color": "string",
"dateTask": "string",
"dateAdd": "string"
}
Tâche inconnue
Loading...