Edu-V portaal (beheer)
Gerrit Bergsma
Beheer
Gebruikers
Deelnemers
Onderhoud
Privacy
Testcases
KVTPOSTENROLLMENTSSCHOOLSTUDENTBUSINESS2003
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 /enrollments/school/student: expect Edu-V 2003 StudyOffering unknown.
Regressietest
Handmatige testcase
Action JSON
{"method":"POST","path":"/enrollments/school/student","url":"{{supplier.baseUrl}}/enrollments/school/student","headers":{"Accept":"application/json","Content-Type":"application/json"},"query":{"enrollmentType":"{{query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.enrollmentType}}","schoolPeriodId":"{{query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.schoolPeriodId}}","studyOfferingId":"UNKNOWN-REFERENCE","subjectOfferingId":"{{query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.subjectOfferingId}}"},"requestFieldSpecifications":[{"fieldPath":"request.query.enrollmentType","name":"enrollmentType","dataType":"Enum","isRequired":false,"isArray":false,"description":"Optional filter to request all Enrollment objects for a specified enrollmentType.","allowedValues":["study","subject"]},{"fieldPath":"request.query.schoolPeriodId","name":"schoolPeriodId","dataType":"String","isRequired":false,"isArray":false,"description":"Optional filter to request all Enrollment objects within a specified SchoolPeriod and its corresponding schoolPeriodId."},{"fieldPath":"request.query.studyOfferingId","name":"studyOfferingId","dataType":"String","isRequired":false,"isArray":false,"description":"Optional filter to request all Enrollment objects into a StudyOffering and its corresponding studyOfferingId."},{"fieldPath":"request.query.subjectOfferingId","name":"subjectOfferingId","dataType":"String","isRequired":false,"isArray":false,"description":"Optional filter to request all Enrollment objects into a SubjectOffering and its corresponding subjectOfferingId."},{"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.student","name":"student","dataType":"Object","isRequired":true,"isArray":false,"description":null},{"fieldPath":"request.body.student.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.student.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.student.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.student.userIds[*].userId","name":"userId","dataType":"String","isRequired":true,"isArray":false,"description":null},{"fieldPath":"request.body.student.userIds[*].userIdType","name":"userIdType","dataType":"Enum","isRequired":true,"isArray":false,"description":null,"allowedValues":["NEPPI","BPI","eduID","NEPRI","ASI","eckId"]}],"oauth":{"tokenEndpoint":"{{oauth.KVTPOSTENROLLMENTSSCHOOLSTUDENT.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"}]},"student":{"userMasterIdentifier":"SAMPLE-ID-001","userIds":[{"userId":"SAMPLE-ID-001","userIdType":"NEPPI"}]}}}
Expected result JSON
{"statusCode":400,"responseMustBeJson":true,"expectedEduVStatus":"2003","expectedStatusMessage":"StudyOffering unknown","headers":{"Content-Type":"application/json"}}
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.KVTPOSTENROLLMENTSSCHOOLSTUDENT.enrollmentType", "AnswerKey": "query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.enrollmentType", "QuestionText": "Query parameter: enrollmentType", "HelpText": "Optional filter to request all Enrollment objects for a specified enrollmentType.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Selection", "IsRequired": false, "AllowReuse": true, "SortOrder": 10, "Options": [ "study", "subject" ], "Validation": null }, { "PlaceholderKey": "query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.schoolPeriodId", "AnswerKey": "query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.schoolPeriodId", "QuestionText": "Query parameter: schoolPeriodId", "HelpText": "Optional filter to request all Enrollment 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": "query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.studyOfferingId", "AnswerKey": "query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.studyOfferingId", "QuestionText": "Query parameter: studyOfferingId", "HelpText": "Optional filter to request all Enrollment objects into a StudyOffering and its corresponding studyOfferingId.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Text", "IsRequired": false, "AllowReuse": true, "SortOrder": 12, "Options": null, "Validation": null }, { "PlaceholderKey": "query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.subjectOfferingId", "AnswerKey": "query.KVTPOSTENROLLMENTSSCHOOLSTUDENT.subjectOfferingId", "QuestionText": "Query parameter: subjectOfferingId", "HelpText": "Optional filter to request all Enrollment objects into a SubjectOffering and its corresponding subjectOfferingId.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Text", "IsRequired": false, "AllowReuse": true, "SortOrder": 13, "Options": null, "Validation": null }, { "PlaceholderKey": "oauth.KVTPOSTENROLLMENTSSCHOOLSTUDENT.tokenEndpoint", "AnswerKey": "oauth.KVTPOSTENROLLMENTSSCHOOLSTUDENT.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": 14, "Options": null, "Validation": null } ]
Opslaan
Annuleren