Remplir un tag candidat
Vous pouvez remplir un tag candidat grâce à l'API.
Requête
Cette méthode permet de remplir un tag candidat :
POST /company/{companyID}/applicant/{applicantID}/trait
Paramètres
| Paramètre | In | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|---|
| companyID | path | string | Identifiant de l'entreprise | 0GjqBwprWAdArDl4 | |
| applicantID | path | string | id du candidat | ADYjo9mGxZdkR0ry | |
| tag | payload | string | id du tag | 5gQayv9L1Qp6LXE4 | |
| value | payload | string | Valeur du tag | Bac +3 |
Exemple de requête
Requête cURL
curl -X POST 'https://api.flatchr.io/company/0GjqBwprWAdArDl4/applicant/ADYjo9mGxZdkR0ry/trait'
-H "Authorization: Bearer {token}"
-H 'Content-Type: application/json'
-d '{"tag":"5gQayv9L1Qp6LXE4","value":"Bac +3"}'
Réponse
| Name | Type | Description |
|---|---|---|
| id | string | Identifiant |
| tag_id | string | Identifiant du tag |
| value | string | Valeur du tag |
Exemple de réponse
{
"id":"w67MknKVOldJ1203",
"tag_id":"5gQayv9L1Qp6LXE4",
"value":"Bac +3"
}