code: public QueryResponse executeQueryPost(Query query) throws ApiException {
          ApiResponse<QueryResponse> resp = executeQueryPostWithHttpInfo(query);
          return resp.getData();
      }
docs: Execute Query
  Execute query with defined criteria
  @param query Query defined with criteria (required)
  @return QueryResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body