Hi
I have created below classes for APi response data. But when i try to root.shipmentdata it is not showing
RootShipment root = JsonConvert.DeserializeObject<RootShipment>(response.Content);
root.data.
************************
public class RootShipment
{
public bool status { get; set; }
public Data data { get; set; }
}
public class DataShipment
{
public int order_id { get; set; }
public int shipment_id { get; set; }
public string awb_number { get; set; }
public string courier_id { get; set; }
public string courier_name { get; set; }
public string status { get; set; }
public string additional_info { get; set; }
public string payment_type { get; set; }
public string label { get; set; }
}
Thanks