# \ExportTaskApi All URIs are relative to *http://localhost:8080/o/headless-batch-engine* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_export_task**](ExportTaskApi.md#get_export_task) | **GET** /v1.0/export-task/{exportTaskId} | [**get_export_task_by_external_reference_code**](ExportTaskApi.md#get_export_task_by_external_reference_code) | **GET** /v1.0/export-task/by-external-reference-code/{externalReferenceCode} | [**get_export_task_by_external_reference_code_content**](ExportTaskApi.md#get_export_task_by_external_reference_code_content) | **GET** /v1.0/export-task/by-external-reference-code/{externalReferenceCode}/content | [**get_export_task_content**](ExportTaskApi.md#get_export_task_content) | **GET** /v1.0/export-task/{exportTaskId}/content | [**post_export_task**](ExportTaskApi.md#post_export_task) | **POST** /v1.0/export-task/{className}/{contentType} | ## get_export_task > crate::models::ExportTask get_export_task(export_task_id) Retrieves the export task. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **export_task_id** | **String** | | [required] | ### Return type [**crate::models::ExportTask**](ExportTask.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json, application/xml [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_export_task_by_external_reference_code > crate::models::ExportTask get_export_task_by_external_reference_code(external_reference_code) Retrieves the export task by external reference code. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **external_reference_code** | **String** | | [required] | ### Return type [**crate::models::ExportTask**](ExportTask.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json, application/xml [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_export_task_by_external_reference_code_content > get_export_task_by_external_reference_code_content(external_reference_code) Retrieves the exported content by external reference code. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **external_reference_code** | **String** | | [required] | ### Return type (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/octet-stream [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_export_task_content > get_export_task_content(export_task_id) Retrieves the exported content. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **export_task_id** | **String** | | [required] | ### Return type (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/octet-stream [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## post_export_task > crate::models::ExportTask post_export_task(class_name, content_type, callback_url, external_reference_code, field_names, task_item_delegate_name) Submits a request for exporting items to a file. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **class_name** | **String** | | [required] | **content_type** | **String** | | [required] | **callback_url** | Option<**String**> | | | **external_reference_code** | Option<**String**> | | | **field_names** | Option<**String**> | | | **task_item_delegate_name** | Option<**String**> | | | ### Return type [**crate::models::ExportTask**](ExportTask.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json, application/xml [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)