Overview

This method provides the list of errors thrown by API.

The format and details of GetErrorList API request is depicted in following table.

URL

<URL>/Master/GetErrorList

Content-Type

application/json

Method

GET

URL Parameters

URL Parameter Description

Request Payload

Request Header

Attributes Description

client-id

clientid to be provided by E-WAY BILL SYSTEM

client-secret

Secret to be provided by E-WAY BILL SYSTEM

Gstin

GSTIN of Requester(Tax payer or Transporter)

authtoken

Authentication token returned by the E-way bill system

Response Payload

Attributes Description Value
Status Status of request 1 – Success ; 0 - Error

Encrypt(Base64(Response JSON),rek)

Response of GSTIN details Json string.

Encrypt(rek,sek)

Random encryption key which is encrypted using sek

Hmac ( Base64(JSON data ))

HMAC-SHA256 of Base64 data using AES key (rek) as HMAC Key

Sample Json for GetErrorList (Errors details)

GetErrorList Response

{
  "status":"1",   "data":"zX2L7DVztyPqii7otM89K4JAosR/RD5Beg3Coa+7JYiC7rviT9694bMJLDDHRaimKVTgvpTdxnfvSZ/SjhNfuA==",
  "rek":"C3J09sBhJSi+mLdYguXyQCJY2F2bBcuIn3Na1Swhm2ux7Ez0tKl74s/ij5hOD+P9",
   "hmac":"aGbw5415X8h0MO9Fk7SXTm/oDsRRNiZj7Hgxo0stOow="
}

"data" JSON (corresponds to the data element of GetErrorList Response(Success))

[{
   "errorCode":"100",
  "errorDesc":"Invalid json"
}]

JSON(in case of error)

{
  "status": "0",
  "error":{"errorCodes": 240}
}

Validations

Content will be updated shortly.