public static ServiceOffered LTI2ResultItem(String endpoint) {
		ServiceOffered ret = new ServiceOffered();
		ret.setEndpoint(endpoint);
		ret.set_id("tcp:Result.item");    // TODO: Is this right see 5.6 in the docs
		ret.set_type("RestService");
		ret.setFormat(Arrays.asList(RESULT_FORMAT));
		ret.setAction(Arrays.asList("GET", "PUT"));
		return ret;
    }
public static ServiceOffered LTI2ResultItem(String endpoint) {
		ServiceOffered ret = new ServiceOffered();
		ret.setEndpoint(endpoint);
		ret.set_id("tcp:Result.item");    
		ret.set_type("RestService");
		ret.setFormat(Arrays.asList(RESULT_FORMAT));
		ret.setAction(Arrays.asList("GET", "PUT"));
		return ret;
    }
public static ServiceOffered LTI2ResultItem ( String endpoint ) { ServiceOffered ret = new ServiceOffered ( ) ; ret . setEndpoint ( endpoint ) ; ret . set_id ( "tcp:Result.item" ) ; // TODO: Is this right see 5.6 in the docs ret . set_type ( "RestService" ) ; ret . setFormat ( Arrays . asList ( RESULT_FORMAT ) ) ; ret . setAction ( Arrays . asList ( "GET" , "PUT" ) ) ; return ret ; }
"endpoint" : "http://lms.example.com/resources/Result/{sourcedId}",
endpoint : http : // lms . example . com / resources / Result / { sourcedId }