brapi-java-client/src/main/java/org/brapi/client/v2/modules/core/TrialsApi.java
public ApiResponse<Pair<Optional<BrAPITrialListResponse>, Optional<BrAPIAcceptedSearchResponse>>> searchTrialsPost(BrAPITrialSearchRequest body) throws ApiException {
        Call call = searchTrialsPostCall(body);
        Type localVarReturnType = new TypeToken<BrAPITrialListResponse>(){}.getType();
        return apiClient.executeSearch(call, localVarReturnType);
    }
/**
     * Submit a search request for Trials
     * Advanced searching for the programs resource. See Search Services for additional implementation details.
     * @param body  (optional)

     * @return ApiResponse&lt;TrialListResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     */
Submit a search request for Trials
Advanced searching for the programs resource. See Search Services for additional implementation details.
@param body  (optional)

@return ApiResponse<TrialListResponse>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
Submit a search request for Trials Advanced searching for the programs resource . See Search Services for additional implementation details . @param body ( optional ) @return ApiResponse<TrialListResponse > @throws ApiException If fail to call the API e . g . server error or cannot deserialize the response body
public ApiResponse<Pair<Optional<BrAPITrialListResponse>, Optional<BrAPIAcceptedSearchResponse>>> searchTrialsPost(BrAPITrialSearchRequest body) throws ApiException {
        Call call = searchTrialsPostCall(body);
        Type localVarReturnType = new TypeToken<BrAPITrialListResponse>(){}.getType();
        return apiClient.executeSearch(call, localVarReturnType);
    }
public ApiResponse < Pair < Optional < BrAPITrialListResponse > , Optional < BrAPIAcceptedSearchResponse > > > searchTrialsPost ( BrAPITrialSearchRequest body ) throws ApiException { Call call = searchTrialsPostCall ( body ) ; Type localVarReturnType = new TypeToken < BrAPITrialListResponse > ( ) { } . getType ( ) ; return apiClient . executeSearch ( call , localVarReturnType ) ; }
Submit a search request for Trials
 Advanced searching for the programs resource.
Submit a search request for Trials Advanced searching for the programs resource .