Tâches
Listez et récupérez les tâches associées à vos contacts.
GET
/api/contact_tasks
Retrieves the collection of ContactTask resources.
Exemple de requête
curl -X GET "https://www.letsligo.com/api/contact_tasks" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_TOKEN"
Paramètres de la requête
| Nom | Type | Description | Requis |
|---|---|---|---|
| page | integer | The collection page number | Non |
Exemple de réponse
{
"@context": "/api/contexts/ContactTask",
"@id": "/api/contact_tasks",
"@type": "hydra:Collection",
"hydra:member": [
{
"@id": "/api/contact_tasks/323e4567-e89b-12d3-a456-426614174000",
"@type": "ContactTask",
"title": "Appeler pour suivi",
"type": "call",
"dueDate": "2025-03-20T10:00:00+00:00",
"completed": false,
"contact": "/api/contacts/123e4567-e89b-12d3-a456-426614174000"
}
],
"hydra:totalItems": 1
}
Attributs de la réponse
| Nom | Type | Description |
|---|---|---|
| member[].contact | string (iri-reference) | Référence IRI du contact associé. |
| member[].title | string | Titre de la tâche (obligatoire). |
| member[].type | string: call | email | meeting | follow_up | proposal | quote | other | Type de tâche : call, email, meeting, follow_up, proposal, quote ou other. |
| member[].taskKind | string: manual | validate_linkedin_profile_change | linkedin_recontact_wizard | linkedin_new_relation_onboarding | |
| member[].payload | object, nullable | |
| member[].description | string | Description ou notes optionnelles de la tâche. |
| member[].dueDate | string (date-time) | Date et heure d'échéance (ISO 8601, obligatoire). |
| member[].completed | boolean | Indique si la tâche a été réalisée. |
| member[].completedAt | string (date-time) | Date et heure de réalisation de la tâche (lecture seule). |
GET
/api/contact_tasks/{id}
Retrieves a ContactTask resource.
Exemple de requête
curl -X GET "https://www.letsligo.com/api/contact_tasks/323e4567-e89b-12d3-a456-426614174000" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_TOKEN"
Paramètres de la requête
| Nom | Type | Description | Requis |
|---|---|---|---|
| id | string | ContactTask identifier | Oui |
Exemple de réponse
{
"@context": "/api/contexts/ContactTask",
"@id": "/api/contact_tasks/323e4567-e89b-12d3-a456-426614174000",
"@type": "ContactTask",
"title": "Appeler pour suivi",
"type": "call",
"description": "Relance après meeting salon",
"dueDate": "2025-03-20T10:00:00+00:00",
"completed": false,
"contact": "/api/contacts/123e4567-e89b-12d3-a456-426614174000"
}
Attributs de la réponse
| Nom | Type | Description |
|---|---|---|
| contact | string (iri-reference) | Référence IRI du contact associé. |
| title | string | Titre de la tâche (obligatoire). |
| type | string: call | email | meeting | follow_up | proposal | quote | other | Type de tâche : call, email, meeting, follow_up, proposal, quote ou other. |
| taskKind | string: manual | validate_linkedin_profile_change | linkedin_recontact_wizard | linkedin_new_relation_onboarding | |
| payload | object, nullable | |
| description | string | Description ou notes optionnelles de la tâche. |
| dueDate | string (date-time) | Date et heure d'échéance (ISO 8601, obligatoire). |
| completed | boolean | Indique si la tâche a été réalisée. |
| completedAt | string (date-time) | Date et heure de réalisation de la tâche (lecture seule). |