Setting "restrict_quantitative_data" setting via API

Jump to solution
WatsonWork
Community Participant

I really like the new  "restrict_quantitative_data" feature and although I can access the data from the course setting API GET (e.g. returns  "restrict_quantitative_data": true) I can't see how to write this info into the API course/settings API.

I'm about to create our 2024 courses and for some courses we don't want this to be set to TRUE.

I'm aware that account settings will enable for all future courses created but I don't want it to be all encompassing.

If no API then I see solution as:

  1. Set settings to all 
  2. Create courses that need to be set as TRUE
  3. Change setting to not all
  4. Create other courses.

I'd prefer to leave it to just "not set" but can't see another solution without API.

Thanks in advance.

Gareth

 

Labels (1)
0 Likes
1 Solution
WatsonWork
Community Participant
Author

Answering own question after playing with API last night.

Although I couldn't find documentation by using the course[restrict_quantitative_data]="True" within the URL call it will make the settings as I needed.

Interesting side-note - this works even if the account hasn't had these turned on - BUT if the account setting isn't turned on and the user changes it is an API generated course then the option to reenable is missing.

 

 

 

View solution in original post