Actualizar tarea
PATCH
https://api.bydomu.com/v1/tasks/{id}Esta referência é gerada a partir do código da API, por isso as descrições estão em espanhol. Nomes, parâmetros e exemplos são iguais em qualquer idioma.
Actualiza solo los campos enviados. Cerrar una tarea es enviar status: "COMPLETED".
Permissão pedida
tasks:write
Cabeçalho obrigatório
X-API-Key · chave secreta
Nível de acesso
Nível 3 · com revisão do suporte
Parâmetros de rota
1 · obrigatóriosidstring · obrigatórioID de la tarea
Cabeçalhos
1 · todos opcionaisIdempotency-Keystring · opcionalClave única de la operación (8-128 caracteres de
[a-zA-Z0-9._:-]). Un reintento con la misma clave y el mismo cuerpo devuelve la respuesta original sin repetir la operación. Vive 24 horas.8–128 charsCorpo (JSON)
17 · todos opcionaistitlestring · opcional2–200 chars
descriptionstring · opcional≤ 2000 chars · nullable
typestring · opcionalCALL · EMAIL · WHATSAPP · VISIT · MEETING · SEND_PROPOSAL · SEND_CONTRACT · FOLLOW_UP · SCHEDULE_SHOWING · COLLECT_DOCUMENTS · OTHER
statusstring · opcionalPENDING · IN_PROGRESS · COMPLETED · CANCELLED · OVERDUE
prioritystring · opcionalLOW · MEDIUM · HIGH · URGENT
dueDatestring · opcionalnullable
Ver os outros 11 parâmetros
dueAtstring · opcionalnullable
dueOnstring · opcionalnullable
hasDueTimeboolean · opcionalremindMinutesBeforeinteger · opcional0–10080 · nullable
assigneeIdstring · opcionalnullable
dealIdstring · opcionalnullable
contactIdstring · opcionalnullable
propertyIdstring · opcionalnullable
recurrencestring · opcionalDAILY · WEEKLY · MONTHLY · WEEKDAYS · nullable
recurrenceUntilstring · opcionalnullable
attachmentsobject[] · opcionalResposta 200
Task · 18 camposdataid · title · description · type · status · priority · dueDate · completedAt · archivedAt · attachments · dealId · contactId · assigneeId · createdById · createdAt · updatedAt · assignee · createdBy
idstringtitlestringdescriptionstringtypestringCALL, EMAIL, WHATSAPP, VISIT, MEETING, SEND_PROPOSALstatusstringPENDING, IN_PROGRESS, COMPLETED, CANCELLED, OVERDUEprioritystringLOW, MEDIUM, HIGH, URGENTdueDatestringcompletedAtstringarchivedAtstringattachmentsanyAdjuntos: `[{ url, name, size? }]`dealIdstringcontactIdstringassigneeIdstringcreatedByIdstringcreatedAtstringupdatedAtstringassigneeid · firstName · lastName
idstringfirstNamestringlastNamestringcreatedByid · firstName · lastName
idstringfirstNamestringlastNamestringErros possíveis
com a forma{ "error": { "code", "message" } }- 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- 401UNAUTHORIZED
- 402PAYMENT_REQUIRED
- 403FORBIDDEN
- 404NOT_FOUND
- 409DUPLICATE
- 429RATE_LIMITED
- 500INTERNAL_ERROR