Attributes |
Description |
client-id |
clientid to be provided by EWAYBILL SYSTEM |
client-secret |
Secret to be provided by EWAYBILL SYSTEM |
Gstin |
GSTIN of Requester(Tax payer or Transporter) |
Authtoken |
Authentication token returned by the E-way bill system |
Request Header
Attributes |
Description |
client-id |
clientid to be provided by EWAYBILL SYSTEM |
client-secret |
Secret to be provided by EWAYBILL SYSTEM |
Gstin |
GSTIN of Requester(Tax payer or Transporter) |
Authtoken |
Authentication token returned by the E-way bill system |
Request Payload
Description |
Value |
|
Action |
VEHEWB |
|
Encrypt(Base64(Request JSON),sek) |
Vehicle Update JSON string |
Attributes |
Description |
Values |
status |
Status of request |
1-Success;0-Error |
Encrypt(Base64 |
Response of Update Vehicle JSON string, |
UPDATE VEHICLE Request
“data” JSON corresponds to the data element of UPDATE VEHICLE Request above
UPDATE VEHICLE Response
“data” JSON corresponds to the data element of UPDATE VEHICLE Response(Success) above
JSON(in case of error)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"ewbNo": {
"type": "number",
"description":"Ewaybill Number"
},
"vehicleNo": {
"type": "string",
"minLength": 7,
"maxLength": 15,
"description":"Vehicle Number"
},
"fromPlace": {
"type": "string",
"maxLength": 50,
"description":"From Place"
},
"fromState": {
"type": "integer",
"maximum": 99,
"description":"From State"
},
"reasonCode": {
"type": "string",
"maxLength": 1,
"minLength": 1,
"description":"Reason Code"
},
"reasonRem": {
"type": "string",
"maxLength": 50,
"description":"Remarks"
},
"transDocNo": {
"type": "string",
"maxLength": 15,
"description":"Transport Document Number"
},
"transDocDate": {
"type": "string",
"pattern": "[0-3][0-9]/[0-1][0-9]/[2][0][1-2][0-9]",
"description":"Transport Document Date"
},
"transMode": {
"type": "string",
"description":"Transport Mode"
}
},
"vehicleType": {
"type": "string",
"description": "Vehicle Type"
},"required":[
"fromPlace",
"fromState",
"reasonCode",
"reasonRem",
"transMode"
]
}
Parameter Name |
Type |
Description |
Values |
Sample Data |
Allowed character |
ewbNo |
Number(12) |
E-way bill Generated |
|
131000026768 |
Numbers |
vehicleNo |
Text(15) |
Vehicle number |
|
KA12TR1234 |
Alpha-numeric |
fromPlace |
Text(50) |
Place of Consignor |
|
BANGALORE SOUTH |
Alpha-numeric |
fromState |
Number(2) |
State of Consignor |
Refer Code list |
29 |
Numbers |
reasonCode |
Number(1) |
Reason code for vehicle updation |
Refer Code list |
2 |
Numbers |
reasonRem |
Text(50) |
Reason for Vehicle Updation |
Vehicle details updated |
Alpha-numeric |
|
transDocNo |
Text(15) |
Transporter Document number |
12-86/3 |
Alphanumeric, -, / |
|
transDocDate |
Text |
Transporter Document Date |
dd/mm/yyyy format |
12/09/2017 |
|
transMode |
Number(1) |
Mode of Transport |
Refer Code list |
1 |
Numbers |
vehicleType |
Char(1) |
Type of Vehcile |
R or O |
R |
|
Content will be updated shortly.