How to get config variable api data from json?

Anuja.Kulkarni64
Posts: 13 ASC Beta Tester
in Development
Hi, I have written class inc # public class Configvariable { public string ConfigId { get; set; } public string Name { get; set; } public string Scope { get; set; } public string Description { get; set; } public string DataType { get; set; } public string DefaultValue { get; set; } public bool CanEditSystemValue { get; set; } public bool CanEditOverrideValues { get; set; } public bool IsSensitiveData { get; set; } public List AllowedValues { get; set; } } public class allowed { public string Value { get; set; } } I am not able to get values for items when i deserelize response . Could you please let me know, what's wrong in defining classes?
Tagged:
Answers
-
Hello,
I am able to solve this through code. I realized Bookmark item is string not an integer data type for parent list item. As soon as i fix this, i am able to deserelize data into items .
Thank you.
Anuja
Categories
- All Categories
- 6 Thought Leadership
- 7 Known and Fixed Issues
- 6 Product Roadmap
- 553 Archived
- 10 Accessibility
- 27 Community Corner
- 2 Welcome
- Updates
- Member Spotlights
- 4 Events
- 242 Development
- 746 Customer Enablement
- Evaluate - Assess Student Learning
- Get Comfortable with Brightspace
- Communicate - Engage with Your Students
- 1 Create - Set up your Brightspace course
- Action - Add or create student activities
- 26 Partners
- 8 Product News
- 2022
- 2022 Release Notes
- 2021 Release Notes
- 4 Training
- andycat