Package com.confidentify.client.api
Class DatasetsApi
- java.lang.Object
-
- com.confidentify.client.api.DatasetsApi
-
public class DatasetsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description DatasetsApi()DatasetsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddatasetByIdDelete(String datasetId)Delete datasetokhttp3.CalldatasetByIdDeleteAsync(String datasetId, ApiCallback<Void> _callback)Delete dataset (asynchronously)okhttp3.CalldatasetByIdDeleteCall(String datasetId, ApiCallback _callback)Build call for datasetByIdDeleteApiResponse<Void>datasetByIdDeleteWithHttpInfo(String datasetId)Delete datasetDatasetAlldatasetByIdGet(String datasetId)Get dataset informationokhttp3.CalldatasetByIdGetAsync(String datasetId, ApiCallback<DatasetAll> _callback)Get dataset information (asynchronously)okhttp3.CalldatasetByIdGetCall(String datasetId, ApiCallback _callback)Build call for datasetByIdGetApiResponse<DatasetAll>datasetByIdGetWithHttpInfo(String datasetId)Get dataset informationDatasetAlldatasetByIdPost(String datasetId, DatasetUpdateRequest datasetUpdateRequest)Update datasetokhttp3.CalldatasetByIdPostAsync(String datasetId, DatasetUpdateRequest datasetUpdateRequest, ApiCallback<DatasetAll> _callback)Update dataset (asynchronously)okhttp3.CalldatasetByIdPostCall(String datasetId, DatasetUpdateRequest datasetUpdateRequest, ApiCallback _callback)Build call for datasetByIdPostApiResponse<DatasetAll>datasetByIdPostWithHttpInfo(String datasetId, DatasetUpdateRequest datasetUpdateRequest)Update datasetvoiddatasetRecordByIdDelete(String datasetId, String recordId)Delete dataset recordokhttp3.CalldatasetRecordByIdDeleteAsync(String datasetId, String recordId, ApiCallback<Void> _callback)Delete dataset record (asynchronously)okhttp3.CalldatasetRecordByIdDeleteCall(String datasetId, String recordId, ApiCallback _callback)Build call for datasetRecordByIdDeleteApiResponse<Void>datasetRecordByIdDeleteWithHttpInfo(String datasetId, String recordId)Delete dataset recordDatasetRecordAlldatasetRecordByIdGet(String datasetId, String recordId)Get dataset record informationokhttp3.CalldatasetRecordByIdGetAsync(String datasetId, String recordId, ApiCallback<DatasetRecordAll> _callback)Get dataset record information (asynchronously)okhttp3.CalldatasetRecordByIdGetCall(String datasetId, String recordId, ApiCallback _callback)Build call for datasetRecordByIdGetApiResponse<DatasetRecordAll>datasetRecordByIdGetWithHttpInfo(String datasetId, String recordId)Get dataset record informationDatasetListResponsedatasetsGet()Get available datasetsokhttp3.CalldatasetsGetAsync(ApiCallback<DatasetListResponse> _callback)Get available datasets (asynchronously)okhttp3.CalldatasetsGetCall(ApiCallback _callback)Build call for datasetsGetApiResponse<DatasetListResponse>datasetsGetWithHttpInfo()Get available datasetsDatasetCreateResponsedatasetsPost(DatasetCreateRequest datasetCreateRequest)Create datasetokhttp3.CalldatasetsPostAsync(DatasetCreateRequest datasetCreateRequest, ApiCallback<DatasetCreateResponse> _callback)Create dataset (asynchronously)okhttp3.CalldatasetsPostCall(DatasetCreateRequest datasetCreateRequest, ApiCallback _callback)Build call for datasetsPostApiResponse<DatasetCreateResponse>datasetsPostWithHttpInfo(DatasetCreateRequest datasetCreateRequest)Create datasetApiClientgetApiClient()voidingestDocumentsPost(String datasetId, IngestDocumentsRequest ingestDocumentsRequest)Initiate ingestion of data from a list of documents.okhttp3.CallingestDocumentsPostAsync(String datasetId, IngestDocumentsRequest ingestDocumentsRequest, ApiCallback<Void> _callback)Initiate ingestion of data from a list of documents.okhttp3.CallingestDocumentsPostCall(String datasetId, IngestDocumentsRequest ingestDocumentsRequest, ApiCallback _callback)Build call for ingestDocumentsPostApiResponse<Void>ingestDocumentsPostWithHttpInfo(String datasetId, IngestDocumentsRequest ingestDocumentsRequest)Initiate ingestion of data from a list of documents.IngestFileResponseingestFilePost(String datasetId, IngestFileRequest ingestFileRequest)Initiate ingestion of data from file upload.okhttp3.CallingestFilePostAsync(String datasetId, IngestFileRequest ingestFileRequest, ApiCallback<IngestFileResponse> _callback)Initiate ingestion of data from file upload.okhttp3.CallingestFilePostCall(String datasetId, IngestFileRequest ingestFileRequest, ApiCallback _callback)Build call for ingestFilePostApiResponse<IngestFileResponse>ingestFilePostWithHttpInfo(String datasetId, IngestFileRequest ingestFileRequest)Initiate ingestion of data from file upload.RecordsQueryResponserecordsGet(String datasetId, Integer pageSize, String pageAfter, String filterIds)Query recordsokhttp3.CallrecordsGetAsync(String datasetId, Integer pageSize, String pageAfter, String filterIds, ApiCallback<RecordsQueryResponse> _callback)Query records (asynchronously)okhttp3.CallrecordsGetCall(String datasetId, Integer pageSize, String pageAfter, String filterIds, ApiCallback _callback)Build call for recordsGetApiResponse<RecordsQueryResponse>recordsGetWithHttpInfo(String datasetId, Integer pageSize, String pageAfter, String filterIds)Query recordsvoidrecordsPost(String datasetId, RecordsUploadRequest recordsUploadRequest)Upload recordsokhttp3.CallrecordsPostAsync(String datasetId, RecordsUploadRequest recordsUploadRequest, ApiCallback<Void> _callback)Upload records (asynchronously)okhttp3.CallrecordsPostCall(String datasetId, RecordsUploadRequest recordsUploadRequest, ApiCallback _callback)Build call for recordsPostApiResponse<Void>recordsPostWithHttpInfo(String datasetId, RecordsUploadRequest recordsUploadRequest)Upload recordsvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
DatasetsApi
public DatasetsApi()
-
DatasetsApi
public DatasetsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
datasetByIdDeleteCall
public okhttp3.Call datasetByIdDeleteCall(String datasetId, ApiCallback _callback) throws ApiException
Build call for datasetByIdDelete- Parameters:
datasetId- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetByIdDelete
public void datasetByIdDelete(String datasetId) throws ApiException
Delete dataset- Parameters:
datasetId- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdDeleteWithHttpInfo
public ApiResponse<Void> datasetByIdDeleteWithHttpInfo(String datasetId) throws ApiException
Delete dataset- Parameters:
datasetId- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdDeleteAsync
public okhttp3.Call datasetByIdDeleteAsync(String datasetId, ApiCallback<Void> _callback) throws ApiException
Delete dataset (asynchronously)- Parameters:
datasetId- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
datasetByIdGetCall
public okhttp3.Call datasetByIdGetCall(String datasetId, ApiCallback _callback) throws ApiException
Build call for datasetByIdGet- Parameters:
datasetId- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetByIdGet
public DatasetAll datasetByIdGet(String datasetId) throws ApiException
Get dataset information- Parameters:
datasetId- (required)- Returns:
- DatasetAll
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdGetWithHttpInfo
public ApiResponse<DatasetAll> datasetByIdGetWithHttpInfo(String datasetId) throws ApiException
Get dataset information- Parameters:
datasetId- (required)- Returns:
- ApiResponse<DatasetAll>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdGetAsync
public okhttp3.Call datasetByIdGetAsync(String datasetId, ApiCallback<DatasetAll> _callback) throws ApiException
Get dataset information (asynchronously)- Parameters:
datasetId- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
datasetByIdPostCall
public okhttp3.Call datasetByIdPostCall(String datasetId, DatasetUpdateRequest datasetUpdateRequest, ApiCallback _callback) throws ApiException
Build call for datasetByIdPost- Parameters:
datasetId- (required)datasetUpdateRequest- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetByIdPost
public DatasetAll datasetByIdPost(String datasetId, DatasetUpdateRequest datasetUpdateRequest) throws ApiException
Update dataset- Parameters:
datasetId- (required)datasetUpdateRequest- (optional)- Returns:
- DatasetAll
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdPostWithHttpInfo
public ApiResponse<DatasetAll> datasetByIdPostWithHttpInfo(String datasetId, DatasetUpdateRequest datasetUpdateRequest) throws ApiException
Update dataset- Parameters:
datasetId- (required)datasetUpdateRequest- (optional)- Returns:
- ApiResponse<DatasetAll>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetByIdPostAsync
public okhttp3.Call datasetByIdPostAsync(String datasetId, DatasetUpdateRequest datasetUpdateRequest, ApiCallback<DatasetAll> _callback) throws ApiException
Update dataset (asynchronously)- Parameters:
datasetId- (required)datasetUpdateRequest- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
datasetRecordByIdDeleteCall
public okhttp3.Call datasetRecordByIdDeleteCall(String datasetId, String recordId, ApiCallback _callback) throws ApiException
Build call for datasetRecordByIdDelete- Parameters:
datasetId- (required)recordId- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetRecordByIdDelete
public void datasetRecordByIdDelete(String datasetId, String recordId) throws ApiException
Delete dataset record- Parameters:
datasetId- (required)recordId- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetRecordByIdDeleteWithHttpInfo
public ApiResponse<Void> datasetRecordByIdDeleteWithHttpInfo(String datasetId, String recordId) throws ApiException
Delete dataset record- Parameters:
datasetId- (required)recordId- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetRecordByIdDeleteAsync
public okhttp3.Call datasetRecordByIdDeleteAsync(String datasetId, String recordId, ApiCallback<Void> _callback) throws ApiException
Delete dataset record (asynchronously)- Parameters:
datasetId- (required)recordId- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
datasetRecordByIdGetCall
public okhttp3.Call datasetRecordByIdGetCall(String datasetId, String recordId, ApiCallback _callback) throws ApiException
Build call for datasetRecordByIdGet- Parameters:
datasetId- (required)recordId- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetRecordByIdGet
public DatasetRecordAll datasetRecordByIdGet(String datasetId, String recordId) throws ApiException
Get dataset record information- Parameters:
datasetId- (required)recordId- (required)- Returns:
- DatasetRecordAll
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetRecordByIdGetWithHttpInfo
public ApiResponse<DatasetRecordAll> datasetRecordByIdGetWithHttpInfo(String datasetId, String recordId) throws ApiException
Get dataset record information- Parameters:
datasetId- (required)recordId- (required)- Returns:
- ApiResponse<DatasetRecordAll>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetRecordByIdGetAsync
public okhttp3.Call datasetRecordByIdGetAsync(String datasetId, String recordId, ApiCallback<DatasetRecordAll> _callback) throws ApiException
Get dataset record information (asynchronously)- Parameters:
datasetId- (required)recordId- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
datasetsGetCall
public okhttp3.Call datasetsGetCall(ApiCallback _callback) throws ApiException
Build call for datasetsGet- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetsGet
public DatasetListResponse datasetsGet() throws ApiException
Get available datasets- Returns:
- DatasetListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetsGetWithHttpInfo
public ApiResponse<DatasetListResponse> datasetsGetWithHttpInfo() throws ApiException
Get available datasets- Returns:
- ApiResponse<DatasetListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetsGetAsync
public okhttp3.Call datasetsGetAsync(ApiCallback<DatasetListResponse> _callback) throws ApiException
Get available datasets (asynchronously)- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
datasetsPostCall
public okhttp3.Call datasetsPostCall(DatasetCreateRequest datasetCreateRequest, ApiCallback _callback) throws ApiException
Build call for datasetsPost- Parameters:
datasetCreateRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
datasetsPost
public DatasetCreateResponse datasetsPost(DatasetCreateRequest datasetCreateRequest) throws ApiException
Create dataset- Parameters:
datasetCreateRequest- (required)- Returns:
- DatasetCreateResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetsPostWithHttpInfo
public ApiResponse<DatasetCreateResponse> datasetsPostWithHttpInfo(DatasetCreateRequest datasetCreateRequest) throws ApiException
Create dataset- Parameters:
datasetCreateRequest- (required)- Returns:
- ApiResponse<DatasetCreateResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
datasetsPostAsync
public okhttp3.Call datasetsPostAsync(DatasetCreateRequest datasetCreateRequest, ApiCallback<DatasetCreateResponse> _callback) throws ApiException
Create dataset (asynchronously)- Parameters:
datasetCreateRequest- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
ingestDocumentsPostCall
public okhttp3.Call ingestDocumentsPostCall(String datasetId, IngestDocumentsRequest ingestDocumentsRequest, ApiCallback _callback) throws ApiException
Build call for ingestDocumentsPost- Parameters:
datasetId- (required)ingestDocumentsRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
ingestDocumentsPost
public void ingestDocumentsPost(String datasetId, IngestDocumentsRequest ingestDocumentsRequest) throws ApiException
Initiate ingestion of data from a list of documents. Using this endpoint you can initiate data ingestion based on text documents. Each document will be processed using the `identify` service and the resolved/identified entities will then be added to the dataset as records.- Parameters:
datasetId- (required)ingestDocumentsRequest- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
ingestDocumentsPostWithHttpInfo
public ApiResponse<Void> ingestDocumentsPostWithHttpInfo(String datasetId, IngestDocumentsRequest ingestDocumentsRequest) throws ApiException
Initiate ingestion of data from a list of documents. Using this endpoint you can initiate data ingestion based on text documents. Each document will be processed using the `identify` service and the resolved/identified entities will then be added to the dataset as records.- Parameters:
datasetId- (required)ingestDocumentsRequest- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
ingestDocumentsPostAsync
public okhttp3.Call ingestDocumentsPostAsync(String datasetId, IngestDocumentsRequest ingestDocumentsRequest, ApiCallback<Void> _callback) throws ApiException
Initiate ingestion of data from a list of documents. (asynchronously) Using this endpoint you can initiate data ingestion based on text documents. Each document will be processed using the `identify` service and the resolved/identified entities will then be added to the dataset as records.- Parameters:
datasetId- (required)ingestDocumentsRequest- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
ingestFilePostCall
public okhttp3.Call ingestFilePostCall(String datasetId, IngestFileRequest ingestFileRequest, ApiCallback _callback) throws ApiException
Build call for ingestFilePost- Parameters:
datasetId- (required)ingestFileRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
ingestFilePost
public IngestFileResponse ingestFilePost(String datasetId, IngestFileRequest ingestFileRequest) throws ApiException
Initiate ingestion of data from file upload. Using this endpoint you can initiate data ingestion based on file upload. This endpoint does not accept the actual file for processing, but will validate the request and provide a presigned URL with which the client can continue. The uploaded file will be handled according to the `file_type` provided in the request. In the response of this request, a upload file URL will be provided. The client is expected to `PUT` the file contents towards this URL. Once the file has been uploaded, it will be handled asynchronously.- Parameters:
datasetId- (required)ingestFileRequest- (required)- Returns:
- IngestFileResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
ingestFilePostWithHttpInfo
public ApiResponse<IngestFileResponse> ingestFilePostWithHttpInfo(String datasetId, IngestFileRequest ingestFileRequest) throws ApiException
Initiate ingestion of data from file upload. Using this endpoint you can initiate data ingestion based on file upload. This endpoint does not accept the actual file for processing, but will validate the request and provide a presigned URL with which the client can continue. The uploaded file will be handled according to the `file_type` provided in the request. In the response of this request, a upload file URL will be provided. The client is expected to `PUT` the file contents towards this URL. Once the file has been uploaded, it will be handled asynchronously.- Parameters:
datasetId- (required)ingestFileRequest- (required)- Returns:
- ApiResponse<IngestFileResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
ingestFilePostAsync
public okhttp3.Call ingestFilePostAsync(String datasetId, IngestFileRequest ingestFileRequest, ApiCallback<IngestFileResponse> _callback) throws ApiException
Initiate ingestion of data from file upload. (asynchronously) Using this endpoint you can initiate data ingestion based on file upload. This endpoint does not accept the actual file for processing, but will validate the request and provide a presigned URL with which the client can continue. The uploaded file will be handled according to the `file_type` provided in the request. In the response of this request, a upload file URL will be provided. The client is expected to `PUT` the file contents towards this URL. Once the file has been uploaded, it will be handled asynchronously.- Parameters:
datasetId- (required)ingestFileRequest- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
recordsGetCall
public okhttp3.Call recordsGetCall(String datasetId, Integer pageSize, String pageAfter, String filterIds, ApiCallback _callback) throws ApiException
Build call for recordsGet- Parameters:
datasetId- (required)pageSize- The page size for the response data (optional, default to 100)pageAfter- A cursor ID to provide for getting the next page of data. (optional)filterIds- A comma-separated list (max 50 items) of IDs to fetch. Using this parameter will disable result paging, so `page[after]` and `page[size]` will have no effect. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
recordsGet
public RecordsQueryResponse recordsGet(String datasetId, Integer pageSize, String pageAfter, String filterIds) throws ApiException
Query records- Parameters:
datasetId- (required)pageSize- The page size for the response data (optional, default to 100)pageAfter- A cursor ID to provide for getting the next page of data. (optional)filterIds- A comma-separated list (max 50 items) of IDs to fetch. Using this parameter will disable result paging, so `page[after]` and `page[size]` will have no effect. (optional)- Returns:
- RecordsQueryResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
recordsGetWithHttpInfo
public ApiResponse<RecordsQueryResponse> recordsGetWithHttpInfo(String datasetId, Integer pageSize, String pageAfter, String filterIds) throws ApiException
Query records- Parameters:
datasetId- (required)pageSize- The page size for the response data (optional, default to 100)pageAfter- A cursor ID to provide for getting the next page of data. (optional)filterIds- A comma-separated list (max 50 items) of IDs to fetch. Using this parameter will disable result paging, so `page[after]` and `page[size]` will have no effect. (optional)- Returns:
- ApiResponse<RecordsQueryResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
recordsGetAsync
public okhttp3.Call recordsGetAsync(String datasetId, Integer pageSize, String pageAfter, String filterIds, ApiCallback<RecordsQueryResponse> _callback) throws ApiException
Query records (asynchronously)- Parameters:
datasetId- (required)pageSize- The page size for the response data (optional, default to 100)pageAfter- A cursor ID to provide for getting the next page of data. (optional)filterIds- A comma-separated list (max 50 items) of IDs to fetch. Using this parameter will disable result paging, so `page[after]` and `page[size]` will have no effect. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
recordsPostCall
public okhttp3.Call recordsPostCall(String datasetId, RecordsUploadRequest recordsUploadRequest, ApiCallback _callback) throws ApiException
Build call for recordsPost- Parameters:
datasetId- (required)recordsUploadRequest- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
recordsPost
public void recordsPost(String datasetId, RecordsUploadRequest recordsUploadRequest) throws ApiException
Upload records- Parameters:
datasetId- (required)recordsUploadRequest- (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
recordsPostWithHttpInfo
public ApiResponse<Void> recordsPostWithHttpInfo(String datasetId, RecordsUploadRequest recordsUploadRequest) throws ApiException
Upload records- Parameters:
datasetId- (required)recordsUploadRequest- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
recordsPostAsync
public okhttp3.Call recordsPostAsync(String datasetId, RecordsUploadRequest recordsUploadRequest, ApiCallback<Void> _callback) throws ApiException
Upload records (asynchronously)- Parameters:
datasetId- (required)recordsUploadRequest- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-