You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
Search API URL
url : /vbs/driver/searchDriver
HTTP Method : GET
Request
DriverSearchSo {
private String driverIdOrName; // optional
private String emailId; // optional
private String linkedClientCode; // optional
private String contactNumber; // optional
private List<String> spSubLocationCodes; // spSubLocationCode {"DPWVAN", "AOLADT1"}
private String spLocationCode; // spLocationCode ""
private List<String> status; // optional
private String driverTerminalLocationStatus; // optional siteStatus
private String portDriverId; // siteId
private String clientCode; // MANDATORY where logged in user is trucking company
private boolean isAdmin; // optional
}
Response
ListResponseSO<DriverSearchresponseSo> {
List<DriverSearchResponseSo> list;
Long totalRecords;
}
DriverSearchResponseSo
DriverSearchResponseSo {
private Long driverId;
private String firstName;
private String lastName;
private LocalDate dateOfBirth;
private String addressLine;
private String country;
private String state;
private String city;
private String pincode;
private String emailId;
private String countryCode;
private String contactNumber;
private String driverStatus;
private String clientCode;
}