PUT FormTypes
Updates the given form type.
Request Information
URI Parameters
None.
Body Parameters
Form type to update
FormTypeName | 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": "25688370-2b7a-4d01-9fea-3639b9a29ab4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "3bfd216b-b329-45a9-85d5-d64443570b0d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "93ea8c5d-8397-4b71-bfd7-b2ea9d68be84", "CreateDate": "2025-06-16T14:18:59.4896609-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T14:18:59.4896609-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-16T14:18:59.4896609-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "aa7fc97b-443b-44f4-9f51-c5b0e0c0d564", "Section": { "FormTypeSectionId": "242eabfa-724e-4fec-9542-0d4e83f114af", "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": "5f31340e-3829-49ad-bab2-a2b784d35685", "Name": "sample string 1" }, "Unit": { "UnitId": "8dc09e82-2dda-43e5-bb19-42b1af6e6e2b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1a0e1f81-cf13-44c3-8c85-e4286b8bef0c", "CreateDate": "2025-06-16T14:18:59.4896609-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T14:18:59.4896609-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b3ec398d-a52d-4e85-b223-ae4b7f441f8c", "FieldId": "7c433ba4-da81-41de-9145-26e783700886", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b3ec398d-a52d-4e85-b223-ae4b7f441f8c", "FieldId": "7c433ba4-da81-41de-9145-26e783700886", "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": "aa7fc97b-443b-44f4-9f51-c5b0e0c0d564", "Section": { "FormTypeSectionId": "242eabfa-724e-4fec-9542-0d4e83f114af", "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": "5f31340e-3829-49ad-bab2-a2b784d35685", "Name": "sample string 1" }, "Unit": { "UnitId": "8dc09e82-2dda-43e5-bb19-42b1af6e6e2b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1a0e1f81-cf13-44c3-8c85-e4286b8bef0c", "CreateDate": "2025-06-16T14:18:59.4896609-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T14:18:59.4896609-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b3ec398d-a52d-4e85-b223-ae4b7f441f8c", "FieldId": "7c433ba4-da81-41de-9145-26e783700886", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b3ec398d-a52d-4e85-b223-ae4b7f441f8c", "FieldId": "7c433ba4-da81-41de-9145-26e783700886", "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": "67826bb1-a895-41e2-aa22-39c6dad65227", "CreateDate": "2025-06-16T14:18:59.4896609-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T14:18:59.4896609-07:00", "LastModifiedUser": "sample string 7" }
Response Information
Resource Description
On success, the updated 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": "a9c68ac0-8171-4f8f-b388-e99bbafa6803", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "1b5571a4-59d6-4d70-9455-88f716d0acea", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "399b1b46-f114-443d-8598-403c7999cba9", "CreateDate": "2025-06-16T14:18:59.4896609-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T14:18:59.4896609-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-16T14:18:59.4896609-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "316a7764-8531-4665-b5fa-67962d58a5a7", "Section": { "FormTypeSectionId": "6b1e040f-867e-4eb9-b570-1c307e7e01fb", "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": "457c57a1-2885-4afd-93d4-0e8be16fd729", "Name": "sample string 1" }, "Unit": { "UnitId": "6feae32f-01f5-4baa-acb2-1b3bd5aa667f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6d4825e1-88e2-4010-9329-633d35a2a2b2", "CreateDate": "2025-06-16T14:18:59.4896609-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T14:18:59.4896609-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d4deaab2-98e4-40f6-86ec-7953b4266d1b", "FieldId": "4f2102a3-07fb-4fbc-beab-411b53bc17a8", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d4deaab2-98e4-40f6-86ec-7953b4266d1b", "FieldId": "4f2102a3-07fb-4fbc-beab-411b53bc17a8", "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": "316a7764-8531-4665-b5fa-67962d58a5a7", "Section": { "FormTypeSectionId": "6b1e040f-867e-4eb9-b570-1c307e7e01fb", "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": "457c57a1-2885-4afd-93d4-0e8be16fd729", "Name": "sample string 1" }, "Unit": { "UnitId": "6feae32f-01f5-4baa-acb2-1b3bd5aa667f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6d4825e1-88e2-4010-9329-633d35a2a2b2", "CreateDate": "2025-06-16T14:18:59.4896609-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T14:18:59.4896609-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d4deaab2-98e4-40f6-86ec-7953b4266d1b", "FieldId": "4f2102a3-07fb-4fbc-beab-411b53bc17a8", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d4deaab2-98e4-40f6-86ec-7953b4266d1b", "FieldId": "4f2102a3-07fb-4fbc-beab-411b53bc17a8", "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": "16e1b953-56fd-4ac1-86a0-32fcb0bafdce", "CreateDate": "2025-06-16T14:18:59.4896609-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T14:18:59.4896609-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }