Hi
i am using post API to send the data from the API
my problem is that i have data from json forms which is coming from the API. after that when i am using
JsonConvert.DeserializeObject<list<newpartlist_nrcdb>>(Result);
and saving this into a list
list<classname> obj=JsonConvert.DeserializeObject<list<newpartlist_nrcdb>>(Result);
so it is showing
"can not deserialize the current json object"
please give me some hint and how to solve this problem
i am sending json object also
What I have tried:
{"Token":null,"Status":"Success","Error_Code":1,"Result":{"List":[{"PM_Id":0,"PM_OUID":0,"PM_OUID_Name":null,"PM_PartNo":"DK120","PM_PartDescription":"BATTERY-ULB","PM_HSNCode":"","PM_PartType":null,"PM_PartType_N":"Component","PM_PartCategory":null,"PM_PartCategory_N":"ATR-SPECIFIC","PM_ReferenceStatus":null,"PM_ReferenceStatus_N":"ACTIVE","PM_PartControlType":null,"PM_PartControlType_N":"Serial","PM_LotNoTypeNum":null,"PM_LotNoTypeNum_N":"","PM_PlanningType":null,"PM_IssueBasis":null,"PM_ExpenseType":null,"PM_StockUOM":"EA","PM_PurchaseUOM":null,"PM_PartAccountGroup":null,"PM_ShelfLifeUnit":null,"PM_CalibrationApplicable":null,"PM_DesignedShelfLife":0,"PM_MinimumShelfLife":0,"PM_ShelfLifeAlertValue":0,"PM_ShelfLifeExtendable":null,"PM_ValuationMethod":null,"PM_ReplenishmentActivityBy":null,"PM_ReorderActivatedAt":null,"PM_MinQty":0,"PM_MaxQty":0,"PM_ReorderLevel":0,"PM_ReorderQty":0,"PM_MinimumIssueQty":0,"PM_SafetyStock":0,"PM_ActionOnPhaseout":null,"PM_CertificateRequired":null,"PM_ExpensingPolicy":null,"PM_ComponentIdGeneration":null,"PM_ABCClass":null,"PM_XYZClass":null,"PM_FSNClass":null,"PM_VEDClass":null,"PM_PlacementStrategy":null,"PM_PickingStrategy":null,"PM_Allocable":null,"PM_AnnualConsumption":null,"PM_CR_By":"RAMCO","PM_CR_Date":"2019-05-03T00:00:00","PM_MD_By":"RAMCO","PM_MD_Date":"2019-05-03T00:00:00","PM_Timestamp":0,"Part_N":null,"PM_ExpenseType_N":null,"QRimagePath":null,"Serial_No":null,"Calibration_Due_Date":null,"Warehouse":null,"ErrorMessage":null,"Result":null,"Result1":null,"DT":null,"DS":null,"EditStatus":false,"TempID":0,"DocNumberingType":null,"RoleName":null,"RoleID":0,"LoginID":null,"NRCStatus":null,"TaskStatus":null}],"View_Tools":null},"ErrorMessage":null,"ID":null}