ArgumentChecker.notEmpty(clientId, "clientId");
boolean blotterColumns = blotter == null ? false : blotter;
List<MarketDataSpecification> marketDataSpecs = MarketDataSpecificationJsonReader.buildSpecifications(marketDataProviders);
VersionCorrection versionCorrection = VersionCorrection.of(parseInstant(portfolioVersionTime),
parseInstant(portfolioCorrectionTime));
ViewRequest viewRequest = new ViewRequest(UniqueId.parse(viewDefinitionId), aggregators, marketDataSpecs,
parseInstant(valuationTime), versionCorrection, blotterColumns);
String viewId = Long.toString(s_nextViewId.getAndIncrement());
URI portfolioGridUri = uriInfo.getAbsolutePathBuilder()
.path(viewId)
.path(ViewResource.class, "getPortfolioGrid")