HAPI FAQ – Identity Management API (users, roles, organizations, committees)
Where is the Identity Management API documented?
-
OpenAPI YAML:
-
OpenAPI: IEC API Portal – https://api-portal.iec.ch/ (developer account required)
What do the main endpoints return?
|
Endpoint |
Returns |
|---|---|
|
|
First 100 entries (use pagination) |
|
|
One record |
|
|
All roles of the entity |
Common use cases
|
Need |
Call |
|---|---|
|
All committees |
|
|
URN of a committee |
|
|
Members of a committee |
|
|
NC memberships of a TC |
|
|
URN of a user |
|
|
Roles of a user |
|
|
URNs of all experts of an NC |
|
|
Data of all experts of an NC |
|
|
All mirror committees of an NC |
|
|
All CENELEC committees |
|
Why must I call /roles twice?
Roles are directional (from → to). To get all relations of an entity, query both fromUrn and toUrn.
What are the main role keys between committees?
|
Key |
Meaning |
|---|---|
|
|
A is member of B |
|
|
P-member / O-member |
|
|
A holds the secretariat of B |
|
|
A is (co-)parent of B (co-parent: JWG/JMT/JPT) |
|
|
Liaisons |
|
|
B is a TC/SC selected by affiliate A |
|
|
A is the NC standardization organization of B |
|
|
Regional / international partner |
Person-to-committee keys include CHAIR, SECRETARY, CONVENOR, PROJECT_LEADER, EXPERT, MEMBER, OBSERVER, DEPENDENCY, plus NC-specific keys prefixed by the NC (e.g. UTE_, NEN_, SAC_, JISC_). Full list: see the technical documentation.
What are committee types?
type in /committees, e.g. TECHNICAL_COMMITTEE, SUBCOMMITTEE, WORKING_GROUP, PROJECT_TEAM, MAINTENANCE_TEAM, JOINT_WORKING_GROUP, SYSTEM_COMMITTEE, CENELEC types (CLC_*), NC mirror types (e.g. CEI_*, NEK_*), and NC member categories (NC_FULLMEMBER, NC_ASSOCIATEMEMBER, NC_AFFILIATE_COUNTRY).
What status values exist?
-
Committees / organizations:
ACTIVE,DISBANDED -
Persons:
ACTIVE,INACTIVE
⚠️ Status values are not harmonized with ISO.
What data can my application see?
Access depends on data ownership:
|
Entity |
Owner |
|---|---|
|
Person |
NC of the main dependency (IEC for international organizations) |
|
Committee |
IEC for IEC TC/SC, CENELEC for CENELEC TCs, the NC for mirror committees |
|
Organization |
IEC for NCs and international/regional/global companies; the NC for country companies |
|
Role |
Two owners: owner of |
Rules:
-
IEC has access to everything.
-
An owner has full access to its own data.
-
IEC-owned data (committees, roles in IEC committees) is visible to everyone.
-
CENELEC members see CENELEC-owned data; CENELEC sees its members' data.
-
ISO sees IEC-owned data only.
-
NC mirror committees of another NC are hidden.
-
Default: unauthorized.
Which person fields are public or restricted?
-
Public: URN, status, names, salutation, title, initials, type, preferred language, owner, sortKey, timestamps.
-
Restricted (owner only): notification email, postal address, phone, userName, personal email.
Seeing a role does not grant access to the restricted data of the person in it.