Edu-V portaal (beheer)
Gerrit Bergsma
Beheer
Gebruikers
Deelnemers
Onderhoud
Privacy
Testcases
KVTGETASSIGNMENTSSCHOOLID
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
Request Assignment object based on its assignmentId.
Regressietest
Handmatige testcase
Action JSON
{"method":"GET","path":"/assignments/school/{{path.KVTGETASSIGNMENTSSCHOOLID.id}}","url":"{{supplier.baseUrl}}/assignments/school/{{path.KVTGETASSIGNMENTSSCHOOLID.id}}","headers":{"Accept":"application/json"},"query":{"orgMasterId":"{{query.KVTGETASSIGNMENTSSCHOOLID.orgMasterId}}","orgId":"{{query.KVTGETASSIGNMENTSSCHOOLID.orgId}}","orgIdType":"{{query.KVTGETASSIGNMENTSSCHOOLID.orgIdType}}"},"requestFieldSpecifications":[{"fieldPath":"request.path.id","name":"id","dataType":"String","isRequired":true,"isArray":false,"description":"Reference to the assignmentId of the Assignment object."},{"fieldPath":"request.query.orgMasterId","name":"orgMasterId","dataType":"String","isRequired":false,"isArray":false,"description":"The organisationMasterIdentifier of the school.\nThis parameter is used when the primary identifier for a school (being the \u0060OnderwijsaanbiederId\u0060) is available.\n"},{"fieldPath":"request.query.orgId","name":"orgId","dataType":"String","isRequired":false,"isArray":false,"description":"The organisationIdentifier (secondary identifier) of the school.\nThis parameter is used in combination with the orgIdType when the organisationMasterIdentifier is not available.\n"},{"fieldPath":"request.query.orgIdType","name":"orgIdType","dataType":"Enum","isRequired":false,"isArray":false,"description":"The type of the organisationIdentifier.\nThis parameter is used in combination with the orgId when the organisationMasterIdentifier is not available.\nThe following values are supported:\n- \u0060OIE_CODE\u0060: OnderwijsInstellingserkenningcode\n- \u0060BP_ID\u0060: Basispoort-generated identifier for the school\n- \u0060DD_ID\u0060: DigiDeliveryId generated by the Central Registration of Edu-iX\n- \u0060AS_ID\u0060: LAS-generated identifier (LAS-Key) for the school\n- \u0060V_ID\u0060: VestigingsId \u2013 BRIN6-format identifier, including dummy locations\n","allowedValues":["OIE_CODE","BP_ID","DD_ID","AS_ID","V_ID"]}],"oauth":{"tokenEndpoint":"{{oauth.KVTGETASSIGNMENTSSCHOOLID.tokenEndpoint}}","defaultTokenEndpoint":"https://api.example.com/oauth2/token","scopes":"eduv.association","scheme":"OAuth2"}}
Expected result JSON
{"statusCode":200,"responseMustBeJson":true,"headers":{"Content-Type":"application/json"},"responseBody":{"assignmentId":"1ad4d41c-921a-4767-adc0-12bbf912f9dd","employee":{"userMasterIdentifier":"SAMPLE-ID-001","userIds":[{"userId":"SAMPLE-ID-001","userIdType":"NEPPI"}]},"assignmentType":"class-teacher","schoolPeriod":"sample-value","beginDate":"2022-07-31","status":"active","dateCreated":"2017-07-21T17:32:28Z","dateLastModified":"2022-08-11T15:31:12Z"},"responseFieldSpecifications":[{"fieldPath":"response.200","name":"response 200","dataType":"Object","isRequired":false,"isArray":false,"description":"The Assignment object for an employee to a Group or Student for a SchoolPeriod."},{"fieldPath":"response.200.assignmentId","name":"assignmentId","dataType":"String","isRequired":true,"isArray":false,"description":"A unique identifier for this Assignment object.\nThis is the identifier that Consumers will refer to when making API calls, or when needing to identify an object.\n"},{"fieldPath":"response.200.employee","name":"employee","dataType":"Object","isRequired":true,"isArray":false,"description":"The Employee to which this assignment object belongs."},{"fieldPath":"response.200.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":"response.200.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":"response.200.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":"response.200.employee.userIds[*].userId","name":"userId","dataType":"String","isRequired":true,"isArray":false,"description":null},{"fieldPath":"response.200.employee.userIds[*].userIdType","name":"userIdType","dataType":"Enum","isRequired":true,"isArray":false,"description":null,"allowedValues":["NEPPI","BPI","eduID","NEPRI","ASI","eckId"]},{"fieldPath":"response.200.assignmentType","name":"assignmentType","dataType":"Enum","isRequired":true,"isArray":false,"description":"The type of assignment, being one of:\n- class-teacher: an assignment to a class.\n- teacher: an assignment to a lesson group for a subject.\n- coach: an assignment to an individual student.\n","allowedValues":["class-teacher","teacher","coach"]},{"fieldPath":"response.200.group","name":"group","dataType":"String","isRequired":false,"isArray":false,"description":"A reference to the groupId of the Group in case this assignment is of the assignmentType \u0060class-teacher\u0060 or \u0060teacher\u0060 and the student is assigned to a Group for a single subject ."},{"fieldPath":"response.200.subject","name":"subject","dataType":"String","isRequired":false,"isArray":false,"description":"A reference to the subjectOfferingId of the SubjectOffering in case this assignment is of the assignmentType \u0060teacher\u0060."},{"fieldPath":"response.200.student","name":"student","dataType":"Object","isRequired":false,"isArray":false,"description":"A reference to a Student in case this assignment is of the assignmentType \u0060coach\u0060."},{"fieldPath":"response.200.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":"response.200.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":"response.200.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":"response.200.student.userIds[*].userId","name":"userId","dataType":"String","isRequired":true,"isArray":false,"description":null},{"fieldPath":"response.200.student.userIds[*].userIdType","name":"userIdType","dataType":"Enum","isRequired":true,"isArray":false,"description":null,"allowedValues":["NEPPI","BPI","eduID","NEPRI","ASI","eckId"]},{"fieldPath":"response.200.schoolPeriod","name":"schoolPeriod","dataType":"String","isRequired":true,"isArray":false,"description":"A reference to the schoolPeriodId of the SchoolPeriod where this assignment is part of."},{"fieldPath":"response.200.beginDate","name":"beginDate","dataType":"Date","isRequired":true,"isArray":false,"description":"The start date on which the assignment becomes active (inclusive). Format: YYYY-MM-DD (according to RFC3339)."},{"fieldPath":"response.200.endDate","name":"endDate","dataType":"Date","isRequired":false,"isArray":false,"description":"The end date on which the assignment becomes inactive (exclusive). Format: YYYY-MM-DD (according to RFC3339)."},{"fieldPath":"response.200.status","name":"status","dataType":"Enum","isRequired":true,"isArray":false,"description":"The status field gives an indication to Consumers about the status of an object.\nConsumers can delete objects that are flagged \u0060tobedeleted\u0060 as such if they wish.\n\nThe status attribute is based on the [Base Class from OneRoster](https://www.imsglobal.org/sites/default/files/spec/oneroster/v1p2/rostering-informationmodel/OneRosterv1p2RosteringService_InfoModelv1p0.html#Data_Base).\n","allowedValues":["active","tobedeleted"]},{"fieldPath":"response.200.dateCreated","name":"dateCreated","dataType":"DateTime","isRequired":true,"isArray":false,"description":"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."},{"fieldPath":"response.200.dateLastModified","name":"dateLastModified","dataType":"DateTime","isRequired":true,"isArray":false,"description":"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."}]}
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": "path.KVTGETASSIGNMENTSSCHOOLID.id", "AnswerKey": "path.KVTGETASSIGNMENTSSCHOOLID.id", "QuestionText": "Path parameter: id", "HelpText": "Reference to the assignmentId of the Assignment object.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Text", "IsRequired": true, "AllowReuse": true, "SortOrder": 10, "Options": null, "Validation": null }, { "PlaceholderKey": "query.KVTGETASSIGNMENTSSCHOOLID.orgMasterId", "AnswerKey": "query.KVTGETASSIGNMENTSSCHOOLID.orgMasterId", "QuestionText": "Query parameter: orgMasterId", "HelpText": "The organisationMasterIdentifier of the school.\nThis parameter is used when the primary identifier for a school (being the \u0060OnderwijsaanbiederId\u0060) is available.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Text", "IsRequired": false, "AllowReuse": true, "SortOrder": 11, "Options": null, "Validation": null }, { "PlaceholderKey": "query.KVTGETASSIGNMENTSSCHOOLID.orgId", "AnswerKey": "query.KVTGETASSIGNMENTSSCHOOLID.orgId", "QuestionText": "Query parameter: orgId", "HelpText": "The organisationIdentifier (secondary identifier) of the school.\nThis parameter is used in combination with the orgIdType when the organisationMasterIdentifier is not available.", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Text", "IsRequired": false, "AllowReuse": true, "SortOrder": 12, "Options": null, "Validation": null }, { "PlaceholderKey": "query.KVTGETASSIGNMENTSSCHOOLID.orgIdType", "AnswerKey": "query.KVTGETASSIGNMENTSSCHOOLID.orgIdType", "QuestionText": "Query parameter: orgIdType", "HelpText": "The type of the organisationIdentifier.\nThis parameter is used in combination with the orgId when the organisationMasterIdentifier is not available.\nThe following values are supported:\n- \u0060OIE_CODE\u0060: OnderwijsInstellingserkenningcode\n- \u0060BP_ID\u0060: Basispoort-generated identifier for the school\n- \u0060DD_ID\u0060: DigiDeliveryId generated by the Central Registration of Edu-iX\n- \u0060AS_ID\u0060: LAS-generated identifier (LAS-Key) for the school\n- \u0060V_ID\u0060: VestigingsId \u2013 BRIN6-format identifier, including dummy locations", "GroupName": null, "TargetTransactionRole": null, "TargetVersion": null, "FieldType": "Selection", "IsRequired": false, "AllowReuse": true, "SortOrder": 13, "Options": [ "OIE_CODE", "BP_ID", "DD_ID", "AS_ID", "V_ID" ], "Validation": null }, { "PlaceholderKey": "oauth.KVTGETASSIGNMENTSSCHOOLID.tokenEndpoint", "AnswerKey": "oauth.KVTGETASSIGNMENTSSCHOOLID.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