TaxPro GSP - eInvoiceAPI
User Guide
 
 
×
Menu
Index

Get EWB Details By IRN

 
Type
Url
Headers
SandBox
https://gstsandbox.charteredinfo.com/eiewb/dec/v1.03/ewaybill/irn/<irn_no>
1. aspid
2. password
3. Gstin
4. user_name
5. AuthToken
Production
https://einvapi.charteredinfo.com/eiewb/dec/v1.03/ewaybill/irn/<irn_no>
1. aspid
2. password
3. Gstin
4. user_name
5. AuthToken
 
 
 
 RestClient client = new RestClient("https://gstsandbox.charteredinfo.com/eiewb/dec/v1.03/ewaybill/irn/<irn_no>");
          RestRequest request = new RestRequest(Method.GET);
            request.AddHeader("Gstin", "");
            request.AddHeader("user_name", "");
            request.AddHeader("AuthToken", "");
            request.AddHeader("aspid", "");
            request.AddHeader("password", "");
            request.AddHeader("Content-Type", "application/json; charset=utf-8");
            request.RequestFormat = DataFormat.Json;
            IRestResponse response = await client.ExecuteTaskAsync(request);
            RespPl respPl = new RespPl();
            respPl = JsonConvert.DeserializeObject<RespPl>(response.Content);
 
            RespGetEWBByIRN respPlGetEWBByIRNDec = new RespPlGetEWBByIRNDec();
            respPlGetEWBByIRNNDec = JsonConvert.DeserializeObject<RespPlGetEWBByIRNDec>(respPl.Data);
 
 
Success Responce
 
{
    "Status": "1",
    "Data": "{\"EwbNo\":551008733309,\"Status\":\"ACT\",\"GenGstin\":\"34AACCC1596Q002\",\"EwbDt\":\"2020-10-23 16:13:00\",\"EwbValidTill\":\"2020-10-24 23:59:00\"}",
    "ErrorDetails": null,
    "InfoDtls": null
}