--- title: "Start an entity export" slug: "send-entity-metadata-and-invoke-export" updated: 2026-04-22T14:22:01Z published: 2026-04-22T14:22:50Z canonical: "docs.zilliant.com/send-entity-metadata-and-invoke-export" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zilliant.com/llms.txt > Use this file to discover all available pages before exploring further. # Start an entity export Post/v1/EntityExport Starts an export of logical entity data to a comma-separated values (CSV) file. Send the entity name and an export definition, including formatting, field mapping, and optional filters. On success, the service returns an export ID you can use to check status, download the output file, and retrieve the export report. SecurityAPI Key: AuthorizationHeader parameter nameAuthorization Add an **Authorization** header to authenticate requests originating outside of Zilliant's internal network. Set the header to `Authorization: OAuth <tokenResponseBase64>`. `<tokenResponseBase64>` is the Base64-encoded entire JSON response body returned by the Salesforce OAuth token endpoint. Encode the full JSON payload, not only the **access_token** field. For details, read [Request an access token](https://docs.zilliant.com/apidocs/request-an-access-token). Header parametersX-Forwarded-Hoststring OAuth host for your environment. Use it for all requests that originate outside Zilliant’s internal network. For details, read **X-Forwarded-Host header** in [Introduction](https://docs.zilliant.com/apidocs/introduction-2#xforwardedhost-header). Body parametersExport definition example In this example, we export data from the **My_Data** entity. The definition object includes the data formats used in the entity. The **fields** array includes mapping details of the entity fields to the exported file columns. The filters array limits export to only those records whose value in the **Price** field is greater than 1000. ```json { "entitySystemName": "My_Data", "definition": { "newlineType": "WINDOWS", "locale": "en-US", "fieldDelimiter": ",", "quoteMode": "ALL", "dateFormat": "dd-MM-yyyy", "dateTimeFormat": "dd-MM-yyyy HH:mm:ss", "decimalSeparator": ".", "groupingSeparator": ",", "currencySymbol": "$", "percentSymbol": "%", "ignoreSurroundingSpaces": true, "filter": "city ne 'Austin' or city eq null", "filters": [ { "field": "Price", "value": [ "1000" ], "operator": "gt", "valueType": "STRING" } ], "fields": [ { "systemName": "Product_Id", "csvColumnName": "This is my column" }, { "systemName": "Price", "csvColumnName": "Price" } ] } } ``` Expand Allobject entitySystemNamestring Required System name of the logical entity to export. Contact your Zilliant representative to get your entity name. ExampleMy_Data definitionobject newlineTypestring Enter the operating system name to use the correct newline character. Valid values[ "WINDOWS", "MAC", "UNIX" ]Default"WINDOWS"ExampleWINDOWS quoteModestring Define which fields are text qualified. Note that `"` is always a text qualifier. Valid values[ "MINIMAL", "ALL", "ALL_NON_NULL", "NON_NUMERIC", "NONE" ]Default"MINIMAL"ExampleALL localestring Locale. For supported values, read [JDK 11 Supported Locales](https://www.oracle.com/java/technologies/javase/jdk11-suported-locales.html). Default"en-US"Exampleen-US fieldDelimiterstring Field delimiter. All commonly used delimiters are supported, such as `,`, `|`, `\t` (the only supported value for tab), `~`, `;`, and others. Default","Example, dateFormatstring Date format. The format must follow the rules defined in the [Java SimpleDateFormat class documentation](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.html). **Note:** Use **MM** for months and **mm** for minutes. Default"yyyy-MM-dd"Exampledd-MM-yyyy dateTimeFormatstring Date-time format. The format must follow the rules defined in the [Java SimpleDateFormat class documentation](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.html). **Note:** Use **MM** for months and **mm** for minutes. Default"yyyy-MM-dd'T'HH:mm:ss.SSS"Exampledd-MM-yyyy HH:mm:ss decimalSeparatorstring Decimal separator. Valid values[ ".", "," ]Default"."Example. groupingSeparatorstring Thousands separator. Valid values[ ".", "," ]Default","Example, currencySymbolstring Currency symbol. You can enter any currency symbol supported by Oracle's JDK 11. Default"$"Example$ percentSymbolstring Percent symbol. Default"%"Example% ignoreSurroundingSpacesboolean Define whether to ignore white spaces when exporting data. Supported values: - **true**—Ignore white spaces. - **false**—Preserve white spaces. Valid values[ true, false ]DefaultfalseExampletrue filterstring OData-compliant expression to export only those records that meet the defined criteria. Examplecity ne 'Austin' or city eq null filters Array of object Deprecated Filters to export only those records that meet the defined criteria. object fieldstring Entity field name. Contact your Zilliant representative to get your entity field names. ExamplePrice value Array of string Array of values for filtering the field. If you enter multiple values, the service interprets them as a compound OR expression. For example, ["Austin","Chicago"] is "Austin OR Chicago". Example[ "1000" ]string operatorstring Filter operator. Valid values[ "eq", "ne", "lt", "le", "gt", "ge", "and", "or" ]Examplegt valueTypestring Enter the field data type. ExampleSTRING fields Array of object Field mapping from entity fields to file columns. object systemNamestring System name of the entity field. Contact your Zilliant representative to get your entity field names. ExampleProduct_Id csvColumnNamestring Column name in the exported file. ExampleProductID Responses201 Success. Returns a JSON body containing the exportId. 401 Authentication error. Token is missing or invalid. 404 The entity is not found. Typically means the URL is invalid.