HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CheckVehicleAvailablePlans HTTP/1.1
Host: localhost
Content-Type: text/jsv
Content-Length: length
{
AccountId: 0,
NewVehicles:
[
{
CountryCode: String,
LicPlateNo: String,
VehClassId: 0,
VehicleMakeId: 0,
VehicleModel: String,
VehicleColour: String,
OrderTag: False
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
AvailablePlans:
[
{
PlanId: 0,
PlanName: String,
PlanDescription: String,
Price: 0,
RequiresEligibilityDocuments: False
}
],
HasLudsPlan: False,
HasBlueBadgePlan: False,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}