Récupère la liste des postes (positions) d'un utilisateur dans les différentes entreprises.
Informations retournées:
- Liste des entreprises où l'utilisateur a un poste
- Type de poste dans chaque entreprise
- Droits associés à chaque poste
Utilisation:
- Affichage du profil utilisateur multi-entreprises
- Vérification des accès utilisateur
GET
/user/{uid}/positions
curl \
--request GET 'https://wuro.pro/api/v3.2/user/{uid}/positions' \
--header "X-APP-ID: $API_KEY" \
--header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
"positions": [
{
"_id": "string",
"company": "string",
"user": "string",
"userEmail": "hello@example.com",
"first_name": "string",
"last_name": "string",
"avatar": "string",
"state": "active",
"type": "string",
"rights": [
{
"checked": true,
"group": "string",
"name": "string"
}
],
"teams": [
{
"team": "string",
"rightType": "string",
"default": true
}
],
"entry_date": "2025-05-04T09:42:00Z",
"release_date": "2025-05-04T09:42:00Z",
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z"
}
]
}