Aller au contenu principal
public

Poser un rappel sur une tâche

POST
/v1/tasks/{id}/reminders
Authorizationstringheaderobligatoire

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

idstringobligatoire
idempotency-keystringheader

Clé de reprise choisie par le client (8 à 255 caractères). Quand elle est fournie, une reprise portant la même clé et la même charge ne pose PAS un second rappel : elle rend la tâche, relue au moment de la reprise. La même clé sur une charge différente est refusée.

Corps

application/json
leadDaysinteger
Plage requise: 0 <= x <= 365
remindAtstring

Réponse

201application/json
anchorobject | nullobligatoire
completedAtstring | nullobligatoire
contactsobject[]default:[]
createdAtstringobligatoire
createdBystring | nullobligatoire
createdByNamestring | nullobligatoire
dueOnstring | nullobligatoire
Motif: ^\d{4}-\d{2}-\d{2}$
idstringobligatoire
Motif: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
isPrivatebooleanobligatoire
managerNamestring | nullobligatoire
managerUserIdstring | nullobligatoire
minebooleanobligatoire
notesobject | nullobligatoire
ownersobject[]default:[]
remindersobject[]default:[]
statusenum<string>obligatoire
Options disponibles: todo, in_progress, waiting, done, cancelled
subStatusobject | nullobligatoire
titlestringobligatoire
updatedAtstringobligatoire