Edu-V portaal (beheer)
Gerrit Bergsma
Beheer
Gebruikers
Deelnemers
Onderhoud
Privacy
Testcases
KVTPOSTASSIGNMENTSSCHOOLEMPLOYEEMISSINGREQUIREDBODYFIELDEMPLOYEE
Bewerken
Testcase bewerken
Werk testcasevelden, endpointkoppeling en JSON-definities bij.
Terug naar lijst
Stabiele testcase-id
Code
Name
Categorie
Sector
Doelrol
Alle rollen
Verzender
Ontvanger
Afnemer
Bron
Doelversie
Groep
Tags
TestType
KVT
IOT
Severity
Info
Laag
Middel
Hoog
Kritiek
Endpoint
Geen endpoint gekoppeld
Association API (PullSynchronous) · GET /assignments/school
Association API (PullSynchronous) · GET /assignments/school/{id}
Association API (PullSynchronous) · GET /enrollments/school
Association API (PullSynchronous) · GET /enrollments/school/{id}
Association API (PullSynchronous) · GET /groups/school
Association API (PullSynchronous) · GET /groups/school/{id}
Association API (PullSynchronous) · GET /schoolperiods/school
Association API (PullSynchronous) · GET /schoolperiods/school/{id}
Association API (PushSynchronous) · POST /assignments/school/employee
Association API (PushSynchronous) · POST /enrollments/school/student
Education API · GET /organisations
Education API · GET /studyofferings/school
Education API · GET /studyofferings/school/{id}
Education API · GET /subjectofferings/school
Education API · GET /subjectofferings/school/{id}
Employees API (PullSynchronous) · GET /employees/school
Employees API (PushSynchronous) · POST /employees
Students API (PullSynchronous) · GET /students/school
Students API (PushSynchronous) · POST /students
Description
Auto-generated negative KVT case for POST /assignments/school/employee: missing required body field 'employee'.
Regressietest
Handmatige testcase
Action JSON
{"method":"POST","path":"/assignments/school/employee","url":"{{supplier.baseUrl}}/assignments/school/employee","headers":{"Accept":"application/json","Content-Type":"application/json"},"query":{"assignmentType":"{{query.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.assignmentType}}","schoolPeriodId":"{{query.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.schoolPeriodId}}"},"requestFieldSpecifications":[{"fieldPath":"request.query.assignmentType","name":"assignmentType","dataType":"Enum","isRequired":false,"isArray":false,"description":"Optional filter to request all Assignment objects for a specified assignmentType.","allowedValues":["class-teacher","teacher","coach"]},{"fieldPath":"request.query.schoolPeriodId","name":"schoolPeriodId","dataType":"String","isRequired":false,"isArray":false,"description":"Optional filter to request all Assignment objects within a specified SchoolPeriod and its corresponding schoolPeriodId."},{"fieldPath":"request.body","name":"body","dataType":"Object","isRequired":false,"isArray":false,"description":null},{"fieldPath":"request.body.school","name":"school","dataType":"Object","isRequired":true,"isArray":false,"description":"A reference to a School organisation."},{"fieldPath":"request.body.school.organisationMasterIdentifier","name":"organisationMasterIdentifier","dataType":"String","isRequired":false,"isArray":false,"description":"The primary identifier for a School. For Schools the \u0060OnderwijsaanbiederId\u0060 is used.\n(either organisationMasterIdentifier or organisationIds is required)\n"},{"fieldPath":"request.body.school.organisationIds","name":"organisationIds","dataType":"Array","isRequired":false,"isArray":true,"description":"A secondary identifier for the School. This value is used whenever the primary identifier is not available.\n(either organisationMasterIdentifier or organisationIds is required)\n"},{"fieldPath":"request.body.school.organisationIds[*]","name":"organisationIds","dataType":"Object","isRequired":false,"isArray":false,"description":"A secondary identifier for the School. This value is used whenever the primary identifier is not available.\n(either organisationMasterIdentifier or organisationIds is required)\n"},{"fieldPath":"request.body.school.organisationIds[*].organisationId","name":"organisationId","dataType":"String","isRequired":true,"isArray":false,"description":null},{"fieldPath":"request.body.school.organisationIds[*].organisationIdType","name":"organisationIdType","dataType":"Enum","isRequired":true,"isArray":false,"description":null,"allowedValues":["OIE_CODE","BP_ID","DD_ID","AS_ID","V_ID"]},{"fieldPath":"request.body.employee","name":"employee","dataType":"Object","isRequired":true,"isArray":false,"description":null},{"fieldPath":"request.body.employee.userMasterIdentifier","name":"userMasterIdentifier","dataType":"String","isRequired":false,"isArray":false,"description":"The primary identifier for a User.\nFor Students the ECK iD is used.\nFor Employees this value is empty. There is no primary identifier for Employees.\n(either userMasterIdentifier or userIds is required)\n"},{"fieldPath":"request.body.employee.userIds","name":"userIds","dataType":"Array","isRequired":false,"isArray":true,"description":"A secondary identifier for a User. This value is used whenever the primary identifier is not available.\nFor Employees this value is mandatory.\n(either userMasterIdentifier or userIds is required)\n"},{"fieldPath":"request.body.employee.userIds[*]","name":"userIds","dataType":"Object","isRequired":false,"isArray":false,"description":"A secondary identifier for a User. This value is used whenever the primary identifier is not available.\nFor Employees this value is mandatory.\n(either userMasterIdentifier or userIds is required)\n"},{"fieldPath":"request.body.employee.userIds[*].userId","name":"userId","dataType":"String","isRequired":true,"isArray":false,"description":null},{"fieldPath":"request.body.employee.userIds[*].userIdType","name":"userIdType","dataType":"Enum","isRequired":true,"isArray":false,"description":null,"allowedValues":["NEPPI","BPI","eduID","NEPRI","ASI","eckId"]}],"oauth":{"tokenEndpoint":"{{oauth.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.tokenEndpoint}}","defaultTokenEndpoint":"https://api.example.com/oauth2/token","scopes":"eduv.association","scheme":"OAuth2"},"body":{"school":{"organisationMasterIdentifier":"104A158","organisationIds":[{"organisationId":"SAMPLE-ID-001","organisationIdType":"OIE_CODE"}]}}}
Expected result JSON
{"statusCode":400,"responseMustBeJson":true,"headers":{"Content-Type":"application/json"},"responseFieldSpecifications":[{"fieldPath":"response.400","name":"response 400","dataType":"Object","isRequired":false,"isArray":false,"description":"Functional status code and status message."},{"fieldPath":"response.400.status","name":"status","dataType":"Integer","isRequired":true,"isArray":false,"description":"See functional status codes within the Documentation."},{"fieldPath":"response.400.statusMessage","name":"statusMessage","dataType":"String","isRequired":false,"isArray":false,"description":"See functional status messages within the Documentation."}],"responseBody":{"status":1}}
Wizardvragen JSON
?
Meer informatie
[ { "PlaceholderKey": "supplier.baseUrl", "AnswerKey": "supplier.baseUrl", "QuestionText": "What is the supplier base URL for this API?", "HelpText": "Enter the full base URL including the scheme, for example https://supplier.example.nl/api.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Url", "IsRequired": true, "AllowReuse": true, "SortOrder": 1, "Options": null, "Validation": null }, { "PlaceholderKey": "query.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.assignmentType", "AnswerKey": "query.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.assignmentType", "QuestionText": "Query parameter: assignmentType", "HelpText": "Optional filter to request all Assignment objects for a specified assignmentType.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Selection", "IsRequired": false, "AllowReuse": true, "SortOrder": 10, "Options": [ "class-teacher", "teacher", "coach" ], "Validation": null }, { "PlaceholderKey": "query.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.schoolPeriodId", "AnswerKey": "query.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.schoolPeriodId", "QuestionText": "Query parameter: schoolPeriodId", "HelpText": "Optional filter to request all Assignment objects within a specified SchoolPeriod and its corresponding schoolPeriodId.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Text", "IsRequired": false, "AllowReuse": true, "SortOrder": 11, "Options": null, "Validation": null }, { "PlaceholderKey": "oauth.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.tokenEndpoint", "AnswerKey": "oauth.KVTPOSTASSIGNMENTSSCHOOLEMPLOYEE.tokenEndpoint", "QuestionText": "OAuth token endpoint", "HelpText": "Supplier token endpoint used to request the bearer token for this API call.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Url", "IsRequired": true, "AllowReuse": true, "SortOrder": 12, "Options": null, "Validation": null } ]
Opslaan
Annuleren