Veldspecificaties

46 items
Veld Beschrijving Type Verplicht Beperkingen
request.query.orgMasterId
orgMasterId
Tekenreeks Nee -
request.query.orgId
orgId
Tekenreeks Nee -
request.query.orgIdType
orgIdType
Keuzelijst Nee -
request.query.filterByOrgId
filterByOrgId
Boolean Nee -
request.query.schoolPeriodId
schoolPeriodId
Tekenreeks Nee -
request.query.studyOfferingId
studyOfferingId
Tekenreeks Nee -
request.query.subjectOfferingId
subjectOfferingId
Tekenreeks Nee -
response.200
response 200
Object Nee -
response.200.userMasterIdentifier
userMasterIdentifier

The primary identifier for the Student. For Students the ECK iD is used.

Tekenreeks Nee -
response.200.userIds
userIds

A secondary identifier for a User. This value is used whenever the primary identifier is not available. (either userMasterIdentifier or userIds is required)

Lijst[] Nee -
response.200.userIds[*]
userIds

A secondary identifier for a User. This value is used whenever the primary identifier is not available. (either userMasterIdentifier or userIds is required)

Object Nee -
response.200.userIds[*].userId
userId
Tekenreeks Ja -
response.200.userIds[*].userIdType
userIdType
Keuzelijst Ja toegestaan ["NEPPI","BPI","eduID","NEPRI","ASI"]
response.200.givenName
givenName
Tekenreeks Ja -
response.200.preferredFirstName
preferredFirstName
Tekenreeks Nee -
response.200.familyName
familyName
Tekenreeks Ja -
response.200.familyNamePrefix
familyNamePrefix
Tekenreeks Nee -
response.200.dateOfBirth
dateOfBirth

format: YYYY-MM-DD (according to RFC3339)

Datum Nee -
response.200.gender
gender

The gender of the Student. The following values are used: - female: gender is Female - male: gender is Male - other: gender that is known but which is not either Male or Female. - unspecified: unspecified as no data entry for this field has been made.

Keuzelijst Nee toegestaan ["female","male","other","unspecified"]
response.200.email
email

E-mail address hosted by school (e.g. L123456@school.nl).

Tekenreeks Nee -
response.200.language
language

The language preference of the Student. Format according to ISO639 Set 3 values for Language tags. On Wikipedia an example list can be found.

Tekenreeks Nee -
response.200.accessibility
accessibility
Lijst[] Nee -
response.200.accessibility[*]
accessibility
Object Nee -
response.200.accessibility[*].userId
userId
Tekenreeks Ja -
response.200.accessibility[*].userIdType
userIdType
Keuzelijst Ja toegestaan ["NEPPI","BPI","eduID","NEPRI","ASI"]
response.200.address
address

The home address of the Student.

Object Nee -
response.200.street
street
Tekenreeks Ja -
response.200.houseNumber
houseNumber

the house number

Geheel getal Ja -
response.200.houseNumberSuffix
houseNumberSuffix

additions to the house number, e.g. A or -104

Tekenreeks Nee -
response.200.zipCode
zipCode
Tekenreeks Ja -
response.200.city
city
Tekenreeks Ja -
response.200.countryCode
countryCode

According to Alpha-2 code from ISO 3166, e.g. NL

Tekenreeks Nee -
response.200.country
country
Tekenreeks Ja -
response.200.country
country
Tekenreeks Ja -
response.400
response 400

Functional status code and status message.

Object Nee -
response.400.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.400.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks Nee -
response.401
response 401

Functional status code and status message.

Object Nee -
response.401.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.401.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks Nee -
response.403
response 403

Functional status code and status message.

Object Nee -
response.403.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.403.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks Nee -
response.404
response 404

Functional status code and status message.

Object Nee -
response.404.status
status

See functional status codes within the Documentation.

Geheel getal Ja -
response.404.statusMessage
statusMessage

See functional status messages within the Documentation.

Tekenreeks Nee -

Verwachte statuscodes

5 items
Code Betekenis Uitkomst
200 OK Succes
400 Bad Request Fout
401 Unauthorized Fout
403 Forbidden Fout
404 Not Found Fout

Bronspecificatie (YAML)

Ruwe definitie uit het afsprakenstelsel.

  /students/school:
    parameters:
      - schema:
          type: string
        name: orgMasterId
        in: query
        required: false
        description: |
          The organisationMasterIdentifier of the school.
          This parameter is used when the primary identifier for a school (being the `OnderwijsaanbiederId`) is available.
      - schema:
          type: string
        name: orgId
        in: query
        required: false
        description: |
          The organisationIdentifier (secondary identifier) of the school.
          This parameter is used in combination with the orgIdType when the organisationMasterIdentifier is not available.
      - schema:
          type: string
          example: DD_ID
          enum:
            - OIE_CODE
            - BP_ID
            - DD_ID
            - AS_ID
            - V_ID
        name: orgIdType
        in: query
        required: false
        description: |
          The type of the organisationIdentifier.
          This parameter is used in combination with the orgId when the organisationMasterIdentifier is not available.

          The following values are supported:
          - `OIE_CODE`: OnderwijsInstellingserkenningcode
          - `BP_ID`: Basispoort-generated identifier for the school
          - `DD_ID`: DigiDeliveryId generated by the Central Registration of Edu-iX
          - `AS_ID`: LAS-generated identifier (LAS-Key) for the school
          - `V_ID`: VestigingsId – BRIN6-format identifier, including dummy locations
      - schema:
          type: boolean
        name: filterByOrgId
        in: query
        required: false
        description: |
          Controls whether the response is filtered to only include Students belonging to the
          specific organisation identified by `orgId` and `orgIdType`, or whether all Students
          of the associated Onderwijsaanbieder are returned.

          - `true`: Only Students belonging to the specified secondary identifier are returned.
          - `false`: All Students of the associated Onderwijsaanbieder are returned (to the extent authorisations have been configured).

          When omitted, a sector-specific default applies:
          - **PO (primary education):** defaults to `true` – response is filtered to the specified identifier.
          - **VO (secondary education):** defaults to `false` – response covers the full Onderwijsaanbieder scope.

          This parameter is only relevant in combination with `orgId` and `orgIdType`.
            When `orgMasterId` is used, this parameter must be absent or `false`.

          It is the responsibility of the consuming party to verify whether the Source supports
          filtering via this parameter before using it.
      - schema:
          type: string
        name: schoolPeriodId
        in: query
        required: false
        description: 'Optional filter to request all Student objects enrolled in a specified SchoolPeriod and its corresponding schoolPeriodId.'
      - schema:
          type: string
        name: studyOfferingId
        in: query
        required: false
        description: 'Optional filter to request all Student objects enrolled in a StudyOffering and its corresponding studyOfferingId.'
      - schema:
          type: string
        name: subjectOfferingId
        in: query
        required: false
        description: 'Optional filter to request Student objects enrolled in a SubjectOffering and its corresponding subjectOfferingId.'
    get:
      summary: Get Students for School
      x-tags:
        - Student
      tags:
        - Administratiesysteem onderwijsdeelnemer
      operationId: get-students-for-school
      description: 'Request all Student objects including basic information (identifiers and names) for a specified school.'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Student'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusResponse'
      security:
        - OAuth2:
            - eduv.student.basic
            - eduv.student.demographics
            - eduv.student.communication
            - eduv.student.accessibility
            - eduv.student.deliveryaddress