---
title: "Adds multiple fields to HawkSearch in bulk."
method: POST
path: "/api/v11/Field/bulk"
tags: ["Field"]
---

# Adds multiple fields to HawkSearch in bulk.

`POST /api/v11/Field/bulk`

Adds multiple fields to HawkSearch in bulk

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- BulkFieldModel
  - `Fields` FieldModel[]
    - `FieldId` integer
    - `SyncGuid` string, uuid
    - `Label` string
    - `Name` string, required
    - `IsPrimaryKey` boolean, required
    - `Type` string
    - `FieldType` string, required
    - `Boost` integer
    - `FacetHandler` integer
    - `IsOutput` boolean, required
    - `IsShingle` boolean, required
    - `IsBestFragment` boolean, required
    - `IsDictionary` boolean, required
    - `IsSort` boolean, required
    - `IsPrefix` boolean
    - `IsHidden` boolean, required
    - `IsCompare` boolean, required
    - `SortOrder` integer
    - `PartialQuery` string
    - `IsKeywordText` boolean, required
    - `IsQuery` boolean, required
    - `IsQueryText` boolean, required
    - `SkipCustom` boolean, required
    - `StripHtml` boolean, required
    - `MinNGramAnalyzer` integer
    - `MaxNGramAnalyzer` integer
    - `CoordinateType` integer
    - `OmitNorms` boolean
    - `ItemMapping` string
    - `DefaultValue` string
    - `UseForPrediction` boolean
    - `CopyTo` string
    - `Analyzer` string
    - `DoNotStore` boolean
    - `Tags` string
    - `Iterations` integer[]
    - `AnalyzerLanguage` string
    - `PreviewMapping` string
    - `OmitTfAndPos` boolean
    - `CreateDate` string, date-time
    - `ModifyDate` string, date-time
    - `IsChild` boolean
    - `IsHierarchical` boolean

## Response `200`

OK

- object

---

[API](https://skmtc.net/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) · [All operations](https://skmtc.net/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hawksearch/hawksearch-elasticsearch-indexingapi/revisions/24cba7bf3468/schema)
