How to get config variable api data from json?

Anuja.Kulkarni64
Anuja.Kulkarni64 Posts: 13 ASC Beta Tester
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

  • Anuja.Kulkarni64
    Anuja.Kulkarni64 Posts: 13 ASC Beta Tester
    edited November 2022

    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