Vehicle Registration
Last updated
Was this helpful?
Last updated
Was this helpful?
Gets the list of Vehicle for a particular ULB based on search criteria.
Unique id for a tenant.
Allows search for service type - comma separated list
Search by list of UUID
Search by mobile number of service requester
Search by uuid of service requester
Search by type of the vehicle
Search by model of the vehicle
Search by tankCapacity of the vehicle
sort the search results by fields
sorting order of the search resulsts
Search by model of the vehicle
limit on the resulsts
offset index of the overall search resulsts
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/v1/_search HTTP/1.1
Host: virtserver.swaggerhub.com
Accept: */*
{
"responseInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"correlationId": "text",
"signature": "text"
},
"vehicle": {
"vehicleOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"totalCount": "text"
}
Gets the list of VehicleLog for a particular ULB based on search criteria.
Unique id for a tenant.
Allows search for service type - comma separated list
Search by list of UUID of vehicleLog
Search by list of UUID of of the trip owners
Search by list of UUID of of the drivers
Search by list of UUID of vehicle(s)
Search by the referenceNo(s)
Search by the applicationNo(s)
search by the businessService of the vehicleLog
search by the list of applicationStatus of the vehicleLog
offset for the pagination results
limit for the pagination results
sort the search results in Ascending or descending order
sort the search results by fields
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/trip/v1/_search HTTP/1.1
Host: virtserver.swaggerhub.com
Accept: */*
{
"responseInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"correlationId": "text",
"signature": "text"
},
"VehicleTrip": [
{
"tripOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"driver": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"vehicle": {
"vehicleOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"applicationNo": "text",
"additionalDetail": {},
"status": "ACTIVE",
"businessService": "text",
"tripDetails": [
{
"id": "text",
"tenantId": "text",
"referenceNo": "text",
"referenceStatus": "text",
"additionalDetail": {},
"status": "ACTIVE",
"itemStartTime": 1,
"itemEndTime": 1,
"volume": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
],
"applicationStatus": "text",
"tripStartTime": 1,
"tripEndTime": 1,
"fstpEntryTime": 1,
"fstpExitTime": 1,
"volumeCarried": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
],
"totalCount": "text"
}
Add the vehicle details into the system
Request for vehicle details
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/v1/_create HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 538
{
"requestInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"signature": "text"
},
"vehicle": {
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE"
}
}
{
"responseInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"correlationId": "text",
"signature": "text"
},
"vehicle": {
"vehicleOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"totalCount": "text"
}
Updates the details of the vehicle
Request for vehicle details
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/v1/_update HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 538
{
"requestInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"signature": "text"
},
"vehicle": {
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE"
}
}
{
"responseInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"correlationId": "text",
"signature": "text"
},
"vehicle": {
"vehicleOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"totalCount": "text"
}
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/v1/_plainsearch HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 353
{
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}
{
"responseInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"correlationId": "text",
"signature": "text"
},
"vehicle": {
"vehicleOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"totalCount": "text"
}
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/v1/fetchApplicationStatusCount HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 380
{
"applicationStatus": [
"text"
],
"ids": [
"text"
],
"limit": 1,
"mobileNumber": "text",
"model": [
"text"
],
"offset": 1,
"ownerId": [
"text"
],
"registrationNumber": [
"text"
],
"sortBy": "InsuranceCertValidTill",
"sortOrder": "ASC",
"status": [
"text"
],
"suctionType": [
"text"
],
"tankCapacity": 1,
"tenantId": "text",
"type": [
"text"
],
"vehicleOwner": [
"text"
],
"vehicleWithNoVendor": true,
"vendorVehicleStatus": [
"text"
]
}
{
"applicationIds": [
"text"
],
"applicationStatusCount": [
{
"ANY_ADDITIONAL_PROPERTY": {}
}
],
"responseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
}
}
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/v1/searchTrip HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 272
{
"applicationNos": [
"text"
],
"applicationStatus": [
"text"
],
"businessService": "text",
"driverIds": [
"text"
],
"ids": [
"text"
],
"limit": 1,
"offset": 1,
"refernceNos": [
"text"
],
"sortBy": "applicationStatus",
"sortOrder": "ASC",
"tenantId": "text",
"tripOwnerIds": [
"text"
],
"vehicleIds": [
"text"
]
}
{
"responseInfo": {
"apiId": "text",
"msgId": "text",
"resMsgId": "text",
"status": "text",
"ts": 1,
"ver": "text"
},
"totalCount": 1,
"vehicleTripDetail": [
{
"id": "text",
"tenantId": "text",
"referenceNo": "text",
"referenceStatus": "text",
"additionalDetail": {},
"status": "ACTIVE",
"itemStartTime": 1,
"itemEndTime": 1,
"volume": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
]
}
Add the vehicleLog details into the system
Request for vehicleTrip details
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/trip/v1/_create HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 941
{
"requestInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"signature": "text"
},
"VehicleTrip": {
"tenantId": "text",
"vehicle": {
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE"
},
"applicationNo": "text",
"additionalDetail": {},
"status": "ACTIVE",
"businessService": "text",
"tripDetails": [
{
"tenantId": "text",
"referenceNo": "text",
"referenceStatus": "text",
"additionalDetail": {},
"status": "ACTIVE",
"itemStartTime": 1,
"itemEndTime": 1,
"volume": 1
}
],
"applicationStatus": "text",
"tripStartTime": 1,
"tripEndTime": 1,
"fstpEntryTime": 1,
"fstpExitTime": 1,
"volumeCarried": 1
}
}
{
"responseInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"correlationId": "text",
"signature": "text"
},
"VehicleTrip": [
{
"tripOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"driver": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"vehicle": {
"vehicleOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"applicationNo": "text",
"additionalDetail": {},
"status": "ACTIVE",
"businessService": "text",
"tripDetails": [
{
"id": "text",
"tenantId": "text",
"referenceNo": "text",
"referenceStatus": "text",
"additionalDetail": {},
"status": "ACTIVE",
"itemStartTime": 1,
"itemEndTime": 1,
"volume": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
],
"applicationStatus": "text",
"tripStartTime": 1,
"tripEndTime": 1,
"fstpEntryTime": 1,
"fstpExitTime": 1,
"volumeCarried": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
],
"totalCount": "text"
}
Updates the details of the vehicleLog
Request for vehicleTrip details
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/trip/v1/_update HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 941
{
"requestInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"signature": "text"
},
"VehicleTrip": {
"tenantId": "text",
"vehicle": {
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE"
},
"applicationNo": "text",
"additionalDetail": {},
"status": "ACTIVE",
"businessService": "text",
"tripDetails": [
{
"tenantId": "text",
"referenceNo": "text",
"referenceStatus": "text",
"additionalDetail": {},
"status": "ACTIVE",
"itemStartTime": 1,
"itemEndTime": 1,
"volume": 1
}
],
"applicationStatus": "text",
"tripStartTime": 1,
"tripEndTime": 1,
"fstpEntryTime": 1,
"fstpExitTime": 1,
"volumeCarried": 1
}
}
{
"responseInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"correlationId": "text",
"signature": "text"
},
"VehicleTrip": [
{
"tripOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"driver": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"vehicle": {
"vehicleOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"applicationNo": "text",
"additionalDetail": {},
"status": "ACTIVE",
"businessService": "text",
"tripDetails": [
{
"id": "text",
"tenantId": "text",
"referenceNo": "text",
"referenceStatus": "text",
"additionalDetail": {},
"status": "ACTIVE",
"itemStartTime": 1,
"itemEndTime": 1,
"volume": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
],
"applicationStatus": "text",
"tripStartTime": 1,
"tripEndTime": 1,
"fstpEntryTime": 1,
"fstpExitTime": 1,
"volumeCarried": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
],
"totalCount": "text"
}
POST /WalkingTreeDev/VehicleRegistry/1.0.0/vehicle/trip/v1/_plainsearch HTTP/1.1
Host: virtserver.swaggerhub.com
Content-Type: application/json
Accept: */*
Content-Length: 353
{
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
}
}
{
"responseInfo": {
"apiInfo": {
"id": "text",
"version": "text",
"path": "text"
},
"deviceDetail": {
"id": "text",
"signature": "text"
},
"ts": 1,
"action": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text",
"userInfo": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"correlationId": "text",
"signature": "text"
},
"VehicleTrip": [
{
"tripOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"driver": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"vehicle": {
"vehicleOwner": {
"tenantId": "text",
"uuid": "text",
"userName": "text",
"password": "text",
"idToken": "text",
"mobile": "text",
"email": "text",
"primaryrole": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
],
"additionalroles": [
{
"tenantId": "text",
"roles": [
{
"name": "text",
"code": "text",
"tenantId": "text",
"description": "text"
}
]
}
]
},
"id": "text",
"tenantId": "text",
"registrationNumber": "text",
"model": "text",
"type": "text",
"tankCapicity": 1,
"suctionType": "text",
"pollutionCertiValidTill": 1,
"InsuranceCertValidTill": 1,
"fitnessValidTill": 1,
"roadTaxPaidTill": 1,
"gpsEnabled": true,
"additionalDetail": {},
"source": "whatsapp, ivr etc",
"status": "ACTIVE",
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
},
"applicationNo": "text",
"additionalDetail": {},
"status": "ACTIVE",
"businessService": "text",
"tripDetails": [
{
"id": "text",
"tenantId": "text",
"referenceNo": "text",
"referenceStatus": "text",
"additionalDetail": {},
"status": "ACTIVE",
"itemStartTime": 1,
"itemEndTime": 1,
"volume": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
],
"applicationStatus": "text",
"tripStartTime": 1,
"tripEndTime": 1,
"fstpEntryTime": 1,
"fstpExitTime": 1,
"volumeCarried": 1,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
}
}
],
"totalCount": "text"
}