POST FormTypes
Creates a new form type.
Request Information
URI Parameters
None.
Body Parameters
The form type to create. FormTypeId should not be filled in.
FormType| Name | Description | Type | Additional information |
|---|---|---|---|
| FormTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| FrequencyNeeded | integer |
None. |
|
| ValueNeededDate | date |
None. |
|
| Active | boolean |
None. |
|
| Fields | Collection of FormTypeField |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FormTypeId": "682cc024-5a64-4480-bc98-08d4293afd74",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "543b4ba9-d542-49e8-a288-ee8083ede8d8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f14e6ddc-6e6e-4268-a572-e72091333769",
"CreateDate": "2026-10-27T18:29:39.4905447-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T18:29:39.4905447-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-27T18:29:39.4905447-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "699c639a-4dec-41bf-8a74-c388112d75e5",
"Section": {
"FormTypeSectionId": "ab86d0a7-e6c7-4a93-b430-061e5ea31aec",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"SourceSystemId": "sample string 5"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "a91a40ea-587d-45e1-8cd3-ad1a1fdf0245",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd288a56-80b8-411d-b5c6-150cb7d99930",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ab9ad4a7-aaee-4366-97ca-6316ba23e20f",
"CreateDate": "2026-10-27T18:29:39.4905447-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T18:29:39.4905447-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d5f5723c-68b1-4394-93f7-e4f8b0666ef1",
"FieldId": "ac432176-2b61-4420-bad9-02f5689651c3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d5f5723c-68b1-4394-93f7-e4f8b0666ef1",
"FieldId": "ac432176-2b61-4420-bad9-02f5689651c3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"ValueExpression": "sample string 5",
"RequiredExpression": "sample string 6",
"IsAttachment": true,
"DefaultValueExpression": "sample string 8",
"IsAccumulator": true,
"IsMultiline": true,
"IsRepeatable": true,
"VisibleExpression": "sample string 12",
"SourceSystemId": "sample string 13"
},
{
"FormTypeFieldId": "699c639a-4dec-41bf-8a74-c388112d75e5",
"Section": {
"FormTypeSectionId": "ab86d0a7-e6c7-4a93-b430-061e5ea31aec",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"SourceSystemId": "sample string 5"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "a91a40ea-587d-45e1-8cd3-ad1a1fdf0245",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd288a56-80b8-411d-b5c6-150cb7d99930",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ab9ad4a7-aaee-4366-97ca-6316ba23e20f",
"CreateDate": "2026-10-27T18:29:39.4905447-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T18:29:39.4905447-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d5f5723c-68b1-4394-93f7-e4f8b0666ef1",
"FieldId": "ac432176-2b61-4420-bad9-02f5689651c3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d5f5723c-68b1-4394-93f7-e4f8b0666ef1",
"FieldId": "ac432176-2b61-4420-bad9-02f5689651c3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"ValueExpression": "sample string 5",
"RequiredExpression": "sample string 6",
"IsAttachment": true,
"DefaultValueExpression": "sample string 8",
"IsAccumulator": true,
"IsMultiline": true,
"IsRepeatable": true,
"VisibleExpression": "sample string 12",
"SourceSystemId": "sample string 13"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2b4bf19e-0b02-427a-b07c-1fd6f81cbc7e",
"CreateDate": "2026-10-27T18:29:39.4905447-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T18:29:39.4905447-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the created form type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | FormType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"FormTypeId": "6f486251-829c-4f98-968e-d7d1dc0a31cc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1e6153b3-33ad-48e4-9642-705e948bf625",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4488dc73-d852-405a-b85c-fefd91f007d2",
"CreateDate": "2026-10-27T18:29:39.4905447-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T18:29:39.4905447-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-27T18:29:39.4905447-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "dceb3314-3346-4e4e-a689-6980cb71ebe2",
"Section": {
"FormTypeSectionId": "68227a04-1d5a-4f93-a67d-24423ead69cc",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"SourceSystemId": "sample string 5"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "9a2bf887-08bb-4e00-9da7-9a6d507896cc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9485f058-5004-4702-91ad-cdb05b8eb57c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bd82465c-7de4-411c-802d-ccf38eae6e56",
"CreateDate": "2026-10-27T18:29:39.4905447-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T18:29:39.4905447-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b3e42a24-5717-4c77-96c4-7bb0a903e9dd",
"FieldId": "ae3f5b94-08e2-4244-b489-03d970c453f5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b3e42a24-5717-4c77-96c4-7bb0a903e9dd",
"FieldId": "ae3f5b94-08e2-4244-b489-03d970c453f5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"ValueExpression": "sample string 5",
"RequiredExpression": "sample string 6",
"IsAttachment": true,
"DefaultValueExpression": "sample string 8",
"IsAccumulator": true,
"IsMultiline": true,
"IsRepeatable": true,
"VisibleExpression": "sample string 12",
"SourceSystemId": "sample string 13"
},
{
"FormTypeFieldId": "dceb3314-3346-4e4e-a689-6980cb71ebe2",
"Section": {
"FormTypeSectionId": "68227a04-1d5a-4f93-a67d-24423ead69cc",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"SourceSystemId": "sample string 5"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "9a2bf887-08bb-4e00-9da7-9a6d507896cc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9485f058-5004-4702-91ad-cdb05b8eb57c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bd82465c-7de4-411c-802d-ccf38eae6e56",
"CreateDate": "2026-10-27T18:29:39.4905447-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T18:29:39.4905447-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b3e42a24-5717-4c77-96c4-7bb0a903e9dd",
"FieldId": "ae3f5b94-08e2-4244-b489-03d970c453f5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b3e42a24-5717-4c77-96c4-7bb0a903e9dd",
"FieldId": "ae3f5b94-08e2-4244-b489-03d970c453f5",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"ValueExpression": "sample string 5",
"RequiredExpression": "sample string 6",
"IsAttachment": true,
"DefaultValueExpression": "sample string 8",
"IsAccumulator": true,
"IsMultiline": true,
"IsRepeatable": true,
"VisibleExpression": "sample string 12",
"SourceSystemId": "sample string 13"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a37e3c18-53b3-45e4-bea8-aa6c0a412a7c",
"CreateDate": "2026-10-27T18:29:39.4905447-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T18:29:39.4905447-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}