Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

url : /vbs/driver/searchDriver

HTTP Method : GET

Expand
titleRequest
Code Block
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
}

Expand
titleResponse
Code Block
ListResponseSO<DriverSearchresponseSo> {
	List<DriverSearchResponseSo> list;
	Long totalRecords;
}
Expand
titleDriverSearchResponseSo
Code Block
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;	
}