Hi
I have below code & Api Returned Data. I want to save returned API Response Data in Database
var body = new JavaScriptSerializer().Serialize(objShippingOrdr); var client = new RestClient("api.nimbuspost.com/v1/shipments"); client.Timeout = -1; var request = new RestRequest(Method.POST); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", body, ParameterType.RequestBody); var response = client.Execute(request); ------- API Response returned { "status": true, "data": { "order_id": 3351555, "shipment_id": 1929242, "awb_number": "59632220664", "courier_id": "5", "courier_name": "Bluedart", "status": "booked", "additional_info": "BOM / TEC", "payment_type": "cod", "label": "nimubs-assets.s3.amazonaws.com/labels/20210127140158-79.pdf" } }
Thanks