---
title: "AddFreeFieldRequest"
url: "https://developer.tesma.com/apis/tesma-platform-api-v1/versions/333907fb-f0a7-4e20-b01e-c9915c73321a/schemas/AddFreeFieldRequest"
---

> Full API specification: https://developer.tesma.com/apis/tesma-platform-api-v1/versions/333907fb-f0a7-4e20-b01e-c9915c73321a.md

# AddFreeFieldRequest

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: tesma
  version: v1
servers:
  - url: https://api.tesma.com
components:
  schemas:
    FreeFieldType:
      enum:
        - undefined
        - dateField
        - textField
      type: string
    AddFreeFieldRequest:
      additionalProperties: false
      properties:
        corporateGroupId:
          format: int32
          type: integer
        customerFieldName:
          maxLength: 30
          minLength: 0
          pattern: ^((?!(<[sS][cC][rR][iI][pP][tT]|\[\%|%\]))(.|\s))*$
          type: string
        fieldType:
          $ref: "#/components/schemas/FreeFieldType"
      required:
        - customerFieldName
      type: object
```
