Examples of GetTimeOffDetailsForUserAndDateRangeRequest


Examples of br.com.thiagomoreira.replicon.model.operations.GetTimeOffDetailsForUserAndDateRangeRequest

  }

  public TimeOffAllocation[] getTimeOff(String userUri, Date startDate,
      Date endDate) throws IOException {

    GetTimeOffDetailsForUserAndDateRangeRequest request = new GetTimeOffDetailsForUserAndDateRangeRequest();

    DateRange dateRange = new DateRange();

    dateRange.setStartDate(DateUtil.translateDate(startDate));
    dateRange.setEndDate(DateUtil.translateDate(endDate));

    request.setUserUri(userUri);
    request.setDateRange(dateRange);

    HttpHeaders headers = new HttpHeaders();

    headers.setContentType(MediaType.APPLICATION_JSON);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.