1. Search API URL
url : /driver-registration-api/driver/audit/{driverId}
HTTP Method : POST
Request
{
"isNextRecordRequired" : false/true, //boolean
"page" : 1 // integer
"pageSize" : 1 // integer
}
Response
AuditResponseSo<DriverDetail> {
List<AuditSo<T>> list;
}
AuditSo
AuditSo {
CommitMetadata commitMetadata;
DriverDetail auditData;
}
CommitMetadata
CommitMetadata {
String author;
Map<String, String> properties;
LocalDateTime commitDate;
Instant commitDateInstant;
CommitId id;
}
DriverDetail
DriverDetail {
Long driverId;
String firstName;
String lastName;
LocalDate dateOfBirth;
String addressLine;
String country;
String state;
String city;
String pincode;
String emailId;
String countryCode;
String contactNumber;
String licenseNo;
String driverStatus;
boolean notificationRequired;
boolean gdprAcknowledgement;
String defaultClientCode;
String remarks;
LocalDateTime registrationDate;
}