Esempio n. 1
0
 /// <summary>
 /// Signup Report
 /// </summary>
 /// <remarks>
 /// White Label sign up report
 /// </remarks>
 public List <SignupModel> SignupReport(int whitelabelId, SignupReportQueryModel request)
 {
     return(ApiRequest <List <SignupModel> >($"/whitelabel/{whitelabelId}/reports/signups?emailAddresses={request.EmailAddresses}&fromDate={request.FromDate.ToString("yyyy-MM-ddTHH:mm:ss")}&toDate={request.ToDate.ToString("yyyy-MM-ddTHH:mm:ss")}&locationId={request.LocationId}&employingEntityId={request.EmployingEntityId}", Method.GET));
 }
Esempio n. 2
0
 /// <summary>
 /// Signup Report
 /// </summary>
 /// <remarks>
 /// White Label sign up report
 /// </remarks>
 public Task <List <SignupModel> > SignupReportAsync(int whitelabelId, SignupReportQueryModel request, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <List <SignupModel> >($"/whitelabel/{whitelabelId}/reports/signups?emailAddresses={request.EmailAddresses}&fromDate={request.FromDate.ToString("yyyy-MM-ddTHH:mm:ss")}&toDate={request.ToDate.ToString("yyyy-MM-ddTHH:mm:ss")}&locationId={request.LocationId}&employingEntityId={request.EmployingEntityId}", Method.GET, cancellationToken));
 }