Skip to main content
PUT

Request body schema

View request body schema

Headers

authorization
string
required

E-Way Bill access token. For token-generation steps, refer to the Generate E-Way Bill Session recipe, then pass the token in the authorization header.

x-api-version
string
default:1.0.0

API version

x-api-key
string
required

API key for identification

Path Parameters

ewb_no
string
required

Body

application/json

Request body for UpdateEWayBillVehicle.

fromPlace
string
required

From Place

Maximum string length: 50
fromState
integer
required

From State

Required range: x <= 99
reasonCode
string
required

Reason Code

Required string length: 1
reasonRem
string
required

Remarks

Maximum string length: 50
transMode
string
required

Transport Mode

ewbNo
number

Ewaybill Number

vehicleNo
string

Vehicle Number

Required string length: 7 - 15
vehicleType
string

Vehicle Type

transDocNo
string

Transport Document Number

Maximum string length: 15
transDocDate
string

Transport Document Date

Pattern: [0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]

Response

200 - application/json

200 Part B updated / 726 Vehicle type can not be regular / 361 Invalid Vehicle Type

An E-Way Bill success or NIC business-failure response. Both variants use HTTP 200.

code
enum<integer>
required

NIC response code.

Available options:
200
timestamp
integer<int64>
required

Unix timestamp.

transaction_id
string
required

Request transaction identifier.

data
object
required