Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Current »

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

  • No labels