---
title: "Creates a FormDefinition"
method: POST
path: "/FormDefinition"
tags: ["FormDefinition"]
---

# Creates a FormDefinition

`POST /FormDefinition`

Creates an instance of FormDefinition

## Request body

- FormDefinitionData
  - `$type` 'Asi.Soa.Communications.DataContracts.FormDefinitionData, Asi.Contracts', required — The DataType must be "Asi.Soa.Communications.DataContracts.FormDefinitionData, Asi.Contracts"
  - `Description` string
  - `FormDefinitionId` string
  - `Name` string
  - `OwnerSystem` string
  - `ResponseEntityTypeName` string
  - `Sections` FormDefinitionSectionDataCollection
    - `$type` 'Asi.Soa.Communications.DataContracts.FormDefinitionSectionDataCollection, Asi.Contracts', required — The DataType must be "Asi.Soa.Communications.DataContracts.FormDefinitionSectionDataCollection, Asi.Contracts"
    - `$values` FormDefinitionSectionData[], required — The values for the collection
      - `$type` 'Asi.Soa.Communications.DataContracts.FormDefinitionSectionData, Asi.Contracts', required — The DataType must be "Asi.Soa.Communications.DataContracts.FormDefinitionSectionData, Asi.Contracts"
      - `Description` string
      - `Fields` NonKeyedEntityPropertyDefinitionDataCollection
        - `$type` 'Asi.Soa.Core.DataContracts.NonKeyedEntityPropertyDefinitionDataCollection, Asi.Contracts', required — The DataType must be "Asi.Soa.Core.DataContracts.NonKeyedEntityPropertyDefinitionDataCollection, Asi.Contracts"
        - `$values` EntityPropertyDefinitionData[], required — The values for the collection
          - `$type` 'Asi.Soa.Core.DataContracts.EntityPropertyDefinitionData, Asi.Contracts', required — The DataType must be "Asi.Soa.Core.DataContracts.EntityPropertyDefinitionData, Asi.Contracts"
          - `AllowMultiSelect` boolean
          - `Caption` string
          - `DefaultValue` object
          - `Description` string
          - `DisplayMask` string
          - `ExtendedPropertyInformation` ExtendedPropertyInformationData
            - `$type` 'Asi.Soa.Core.DataContracts.ExtendedPropertyInformationData, Asi.Contracts', required — The DataType must be "Asi.Soa.Core.DataContracts.ExtendedPropertyInformationData, Asi.Contracts"
            - `DatabaseColumnName` string
            - `DbDataType` string
            - `IsDbIdentity` boolean
            - `IsNullable` boolean
            - `IsReadOnly` boolean
            - `PersistenceColumnType` object
            - `PersistenceColumnTypeString` string
          - `IsCollection` boolean
          - `IsIdentity` boolean
          - `IsPrimaryParentIdentity` boolean
          - `IsReadOnly` boolean
          - `Logged` boolean
          - `Name` string
          - `PropertyId` string
          - `PropertyType` object
          - `PropertyTypeName` string
          - `RenderingInformation` PropertyRenderingInformationData
            - `$type` 'Asi.Soa.Core.DataContracts.PropertyRenderingInformationData, Asi.Contracts', required — The DataType must be "Asi.Soa.Core.DataContracts.PropertyRenderingInformationData, Asi.Contracts"
            - `AutoCapitalize` boolean
            - `ControlType` object
            - `HelpText` string
            - `IsPassword` boolean
            - `ToolTip` string
            - `WatermarkText` string
          - `Required` boolean
          - `Rule` PropertyRuleBaseData
            - `$type` 'Asi.Soa.Core.DataContracts.PropertyRuleBaseData, Asi.Contracts', required — The DataType must be "Asi.Soa.Core.DataContracts.PropertyRuleBaseData, Asi.Contracts"
          - `Visible` boolean
      - `FormDefinitionSectionId` string
      - `Name` string
  - `UpdateInformation` EntityUpdateInformationData
    - `$type` 'Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts', required — The DataType must be "Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts"
    - `CreatedBy` string
    - `CreatedOn` string, date-time
    - `UpdatedBy` string
    - `UpdatedOn` string, date-time

## Response `200`

The request was successful.

## Other responses

- `201` — The resource was successfully created.
- `202` — The resource was asynchronously created.

---

[API](https://skmtc.net/imis/apis/accounting.md) · [All operations](https://skmtc.net/imis/apis/accounting/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/imis/accounting/revisions/67a8cf169a01/schema)
