}
public ProjectAllocation[] getProjectAllocations(Date startDate,
Date endDate, String resourceUri) throws IOException {
GetResourceAllocationSummaryRequest request = new GetResourceAllocationSummaryRequest();
DateRange dateRange = new DateRange();
dateRange.setStartDate(DateUtil.translateDate(startDate));
dateRange.setEndDate(DateUtil.translateDate(endDate));
request.setResourceUri(resourceUri);
request.setDateRange(dateRange);
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON);