Récupère la liste de tous les postes (positions) d'une entreprise.
Informations retournées:
- Liste des postes avec utilisateur, type et droits
- Inclut les postes actifs et inactifs
Utilisation:
- Administration des accès utilisateurs
- Gestion des droits et permissions
GET
/company/{uid}/positions
curl \
--request GET 'https://wuro.pro/api/v3.2/company/{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"
}
]
}