Jump to content

Join the future of EdTech

Moving data from point A to point B should be safe and easy - and with EduCloud it is! You get all the tools you need to take control over your data and see how and where it is shared in real time.

Sign Up
  • 0

Kurstyp saknas i programinformation

Andreas Henriksson


Vid anrop mot ändpunkten https://api.ist.com/ss12000v2-api/source/SE00XXX/v2.0/programmes?expandReferenceNames=true så har vi upptäckt att det saknas information på kurser kring hur de förhåller sig till programmet. Dvs på objektet Programme.Content så saknas det obligatoriska attributet "Type" som är av typen Code_ProgrammeContentType.

Exempel på output 

	"data": [{
		"id": "25bea3e7-e4bd-4fc7-84e0-fbc6381b11e0",
		"name": "Individuellt alternativ (AST)",
		"type": "Intruduktionsprogram",
		"schoolType": "GY",
		"code": "IMAAST",
		"content": [{
			"content": [{
				"id": "d3ba6327-ec5d-6098-e053-bf042d0a6997",
				"displayName": "Biologi"
			}, {
				"id": "d3ba6327-ec5e-6098-e053-bf042d0a6997",
				"displayName": "Bild"
			}, {
				"id": "d3ba6327-ec48-6098-e053-bf042d0a6997",
				"displayName": "Engelska"
			}, {
				"id": "d3ba6327-ec49-6098-e053-bf042d0a6997",
				"displayName": "Fysik"
			}, {
				"id": "d3ba6327-ec4a-6098-e053-bf042d0a6997",
				"displayName": "Geografi"
			}, {
				"id": "d3ba6327-ec4b-6098-e053-bf042d0a6997",
				"displayName": "Historia"
			}, {
				"id": "d3ba6327-ec4c-6098-e053-bf042d0a6997",
				"displayName": "Hem- och konsumentkunskap"
			}, {
				"id": "d3ba6327-ec4d-6098-e053-bf042d0a6997",
				"displayName": "Idrott och hälsa"
			}, {
				"id": "d3ba6327-ec4e-6098-e053-bf042d0a6997",
				"displayName": "Kemi"
			}, {
				"id": "d3ba6327-ec4f-6098-e053-bf042d0a6997",
				"displayName": "Matematik"
			}, {
				"id": "d3ba6327-ec52-6098-e053-bf042d0a6997",
				"displayName": "Religionskunskap"
			}, {
				"id": "d3ba6327-ec5f-6098-e053-bf042d0a6997",
				"displayName": "Samhällskunskap"
			}, {
				"id": "d3ba6327-ec60-6098-e053-bf042d0a6997",
				"displayName": "Slöjd"
			}, {
				"id": "d3ba6327-ec54-6098-e053-bf042d0a6997",
				"displayName": "Svenska"
			}, {
				"id": "d3ba6327-ec5a-6098-e053-bf042d0a6997",
				"displayName": "Teknik"

Där man klart och tydligt ser att data[].content[].content[].type saknas helt.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. You can also read up on our Privacy Policy