Request Assignment objects for a specified Employee at a School.
/assignments/school/employee
Veldspecificaties
49 items| Veld | Beschrijving | Type | Verplicht | Beperkingen |
|---|---|---|---|---|
request.query.assignmentType |
assignmentType
|
Keuzelijst | Nee | - |
request.query.schoolPeriodId |
schoolPeriodId
|
Tekenreeks | Nee | - |
response. |
response
A reference to a School organisation. |
Object | Nee | - |
response..organisationMasterIdentifier |
organisationMasterIdentifier
The primary identifier for a School. For Schools the |
Tekenreeks | Nee | - |
response..organisationIds |
organisationIds
A secondary identifier for the School. This value is used whenever the primary identifier is not available. (either organisationMasterIdentifier or organisationIds is required) |
Lijst[] | Nee | - |
response..organisationIds[*] |
organisationIds
A secondary identifier for the School. This value is used whenever the primary identifier is not available. (either organisationMasterIdentifier or organisationIds is required) |
Object | Nee | - |
response..organisationIds[*].organisationId |
organisationId
|
Tekenreeks | Ja | - |
response..organisationIds[*].organisationIdType |
organisationIdType
|
Keuzelijst | Ja | toegestaan ["OIE_CODE","BP_ID","DD_ID","AS_ID","V_ID"] |
response. |
response
|
Object | Nee | - |
response..userMasterIdentifier |
userMasterIdentifier
The primary identifier for a User. For Students the ECK iD is used. For Employees this value is empty. There is no primary identifier for Employees. (either userMasterIdentifier or userIds is required) |
Tekenreeks | Nee | - |
response..userIds |
userIds
A secondary identifier for a User. This value is used whenever the primary identifier is not available. For Employees this value is mandatory. (either userMasterIdentifier or userIds is required) |
Lijst[] | Nee | - |
response..userIds[*] |
userIds
A secondary identifier for a User. This value is used whenever the primary identifier is not available. For Employees this value is mandatory. (either userMasterIdentifier or userIds is required) |
Object | Nee | - |
response..userIds[*].userId |
userId
|
Tekenreeks | Ja | - |
response..userIds[*].userIdType |
userIdType
|
Keuzelijst | Ja | toegestaan ["NEPPI","BPI","eduID","NEPRI","ASI","eckId"] |
response.200 |
response 200
The Assignment object for an employee to a Group or Student for a SchoolPeriod. |
Object | Nee | - |
response.200.assignmentId |
assignmentId
A unique identifier for this Assignment object. This is the identifier that Consumers will refer to when making API calls, or when needing to identify an object. |
Tekenreeks | Ja | - |
response.200.employee |
employee
The Employee to which this assignment object belongs. |
Object | Ja | UserReference |
response.200.employee.userMasterIdentifier |
userMasterIdentifier
The primary identifier for a User. For Students the ECK iD is used. For Employees this value is empty. There is no primary identifier for Employees. (either userMasterIdentifier or userIds is required) |
Tekenreeks | Nee | - |
response.200.employee.userIds |
userIds
A secondary identifier for a User. This value is used whenever the primary identifier is not available. For Employees this value is mandatory. (either userMasterIdentifier or userIds is required) |
Lijst[] | Nee | - |
response.200.employee.userIds[*] |
userIds
A secondary identifier for a User. This value is used whenever the primary identifier is not available. For Employees this value is mandatory. (either userMasterIdentifier or userIds is required) |
Object | Nee | - |
response.200.employee.userIds[*].userId |
userId
|
Tekenreeks | Ja | - |
response.200.employee.userIds[*].userIdType |
userIdType
|
Keuzelijst | Ja | toegestaan ["NEPPI","BPI","eduID","NEPRI","ASI","eckId"] |
response.200.assignmentType |
assignmentType
The type of assignment, being one of: - class-teacher: an assignment to a class. - teacher: an assignment to a lesson group for a subject. - coach: an assignment to an individual student. |
Keuzelijst | Ja | toegestaan ["class-teacher","teacher","coach"] |
response.200.group |
group
A reference to the groupId of the Group in case this assignment is of the assignmentType |
Tekenreeks | Nee | - |
response.200.subject |
subject
A reference to the subjectOfferingId of the SubjectOffering in case this assignment is of the assignmentType |
Tekenreeks | Nee | - |
response.200.student |
student
A reference to a Student in case this assignment is of the assignmentType |
Object | Nee | UserReference |
response.200.student.userMasterIdentifier |
userMasterIdentifier
The primary identifier for a User. For Students the ECK iD is used. For Employees this value is empty. There is no primary identifier for Employees. (either userMasterIdentifier or userIds is required) |
Tekenreeks | Nee | - |
response.200.student.userIds |
userIds
A secondary identifier for a User. This value is used whenever the primary identifier is not available. For Employees this value is mandatory. (either userMasterIdentifier or userIds is required) |
Lijst[] | Nee | - |
response.200.student.userIds[*] |
userIds
A secondary identifier for a User. This value is used whenever the primary identifier is not available. For Employees this value is mandatory. (either userMasterIdentifier or userIds is required) |
Object | Nee | - |
response.200.student.userIds[*].userId |
userId
|
Tekenreeks | Ja | - |
response.200.student.userIds[*].userIdType |
userIdType
|
Keuzelijst | Ja | toegestaan ["NEPPI","BPI","eduID","NEPRI","ASI","eckId"] |
response.200.schoolPeriod |
schoolPeriod
A reference to the schoolPeriodId of the SchoolPeriod where this assignment is part of. |
Tekenreeks | Ja | - |
response.200.beginDate |
beginDate
The start date on which the assignment becomes active (inclusive). Format: YYYY-MM-DD (according to RFC3339). |
Datum | Ja | - |
response.200.endDate |
endDate
The end date on which the assignment becomes inactive (exclusive). Format: YYYY-MM-DD (according to RFC3339). |
Datum | Nee | - |
response.200.status |
status
The status field gives an indication to Consumers about the status of an object. Consumers can delete objects that are flagged |
Keuzelijst | Ja | toegestaan ["class-teacher","teacher","coach"] |
response.200.dateCreated |
dateCreated
Indicates the date and time the object was first created. Format: According to openapi in ZULU time as specified in RFC 3339, section 5.6. |
Datum/tijd | Ja | - |
response.200.dateLastModified |
dateLastModified
Indicates the date and time the object was last modified. Format: According to openapi in ZULU time as specified in RFC 3339, section 5.6. |
Datum/tijd | 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.
/assignments/school/employee:
parameters:
- schema:
type: string
enum:
- class-teacher
- teacher
- coach
name: assignmentType
in: query
required: false
description: 'Optional filter to request all Assignment objects for a specified assignmentType.'
- schema:
type: string
name: schoolPeriodId
in: query
required: false
description: 'Optional filter to request all Assignment objects within a specified SchoolPeriod and its corresponding schoolPeriodId.'
post:
summary: Get Assignments for Employee at School
x-tags:
- Assignment
tags:
- Administratiesysteem onderwijsdeelnemer
operationId: get-assignments-for-employee-at-school
description: 'Request Assignment objects for a specified Employee at a School.'
requestBody:
content:
application/json:
schema:
type: object
properties:
school:
$ref: '#/components/schemas/SchoolReference'
employee:
$ref: '#/components/schemas/UserReference'
required:
- school
- employee
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Assignment'
'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.association