Versions Compared

Key

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

1. Search API URL

url : /vbs/driver/searchDriver

...

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;	
}

2. Cancel Driver API

HTTP METHOD : DELETE
URI : /driver/cancel/{driverIds}
example : /vbs/driver/cancel/123,354?remarks=Cancelling%20the%20driver

...

Expand
titleSuccess Response 200

[

  {

    "driverId" : "123",

    "firstName" : "Xyz",

    "lastName" : "abc"

  }

]

3. Csv Download Driver API

HTTP METHOD : GET
URI : /driver/downloadCSV
example : /vbs/driver/downloadCSV?driverIdOrName=123&contactNumber=12312

...