class DataExchangeMasterResource extends AbstractDataResource {

  @POST
  @Path("exchanges")
  public Response add(@Context UriInfo uriInfo, ExchangeDocument request) {
    ExchangeDocument result = getExchangeMaster().add(request);
    URI createdUri = (new DataExchangeResource()).uriVersion(uriInfo.getBaseUri(), result.getUniqueId());
    return responseCreatedObject(createdUri, result);
  }

  public  DataExchangeMasterResource(final ExchangeMaster exchangeMaster);

}