8 Replies Latest reply: Jan 18, 2018 7:47 AM by Prasanna Raj RSS

    How to get data from exist object based on ID using .net SDK

    Prasanna Raj

      Hi All,


          Here am stuck with .net SDK, am trying to get the data from existing object based on object ID, the code is


           private IApp qsApp;


           var GetApi = qsApp.GetAllInfos();


                  foreach (var item in GetApi)


                      var ItemType = item.Type;

                      var ItemID = item.Id;

                      var masterObject = qsApp.GetObject<MasterObject>(ItemID); // here  want to get the KPI values



      this part returning the null value when pass the KPI id, if am did some mistake in this code part please correct me and suggest me is this good way to get the data's from existing one.