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": "95e2a88b-63a1-49f6-896b-c71c7ca1d39f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "2c209080-e173-4749-bdd9-39aee8a43ce5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7705abc8-266a-445a-b079-c47cc690eac3", "CreateDate": "2025-08-24T10:00:12.0290058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:00:12.0290058-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-24T10:00:12.0290058-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "2f0b0865-7c25-45a0-9df4-5e94bce5390a", "Section": { "FormTypeSectionId": "0ebbce41-dcd2-4e81-8a90-315af763ef2c", "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": "f81202de-6d7c-44d2-b946-963a8b73b62e", "Name": "sample string 1" }, "Unit": { "UnitId": "7e90bde9-a327-4132-85d8-c0f4bddea79e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "45f0786e-43d2-4c2e-af7a-b6c9f129d2c6", "CreateDate": "2025-08-24T10:00:12.0290058-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:00:12.0290058-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a818381b-175f-4e60-920a-4918eb6af496", "FieldId": "d5d6a2db-3187-4e0b-99b6-86054388c9e4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a818381b-175f-4e60-920a-4918eb6af496", "FieldId": "d5d6a2db-3187-4e0b-99b6-86054388c9e4", "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": "2f0b0865-7c25-45a0-9df4-5e94bce5390a", "Section": { "FormTypeSectionId": "0ebbce41-dcd2-4e81-8a90-315af763ef2c", "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": "f81202de-6d7c-44d2-b946-963a8b73b62e", "Name": "sample string 1" }, "Unit": { "UnitId": "7e90bde9-a327-4132-85d8-c0f4bddea79e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "45f0786e-43d2-4c2e-af7a-b6c9f129d2c6", "CreateDate": "2025-08-24T10:00:12.0290058-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:00:12.0290058-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a818381b-175f-4e60-920a-4918eb6af496", "FieldId": "d5d6a2db-3187-4e0b-99b6-86054388c9e4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a818381b-175f-4e60-920a-4918eb6af496", "FieldId": "d5d6a2db-3187-4e0b-99b6-86054388c9e4", "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": "82540063-5ad0-479f-a80e-17fca99044f6", "CreateDate": "2025-08-24T10:00:12.0290058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:00:12.0290058-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": "79bc2ecf-225a-45d0-859f-131afa7b2964", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "48ded515-6e50-4a14-bc09-390df147139b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b4abd089-75ef-4d71-9ea8-a9488f016d23", "CreateDate": "2025-08-24T10:00:12.0290058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:00:12.0290058-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-24T10:00:12.0290058-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "a1f7bf42-6c91-4a7f-ba4e-6f9d81707aa6", "Section": { "FormTypeSectionId": "a5533afc-543e-4145-89c1-afa242e7c68b", "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": "757d909f-ba0b-475e-8b6b-882d22e149db", "Name": "sample string 1" }, "Unit": { "UnitId": "9022f63d-8375-45d6-988b-3423620bc77e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4b13a816-06d4-445f-bfe1-84b876cc5157", "CreateDate": "2025-08-24T10:00:12.0290058-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:00:12.0290058-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f7c6d7d6-4127-4b18-886f-200859c79e6d", "FieldId": "3e9e3eb5-ec9b-4c5f-a645-ff00d979a656", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f7c6d7d6-4127-4b18-886f-200859c79e6d", "FieldId": "3e9e3eb5-ec9b-4c5f-a645-ff00d979a656", "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": "a1f7bf42-6c91-4a7f-ba4e-6f9d81707aa6", "Section": { "FormTypeSectionId": "a5533afc-543e-4145-89c1-afa242e7c68b", "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": "757d909f-ba0b-475e-8b6b-882d22e149db", "Name": "sample string 1" }, "Unit": { "UnitId": "9022f63d-8375-45d6-988b-3423620bc77e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4b13a816-06d4-445f-bfe1-84b876cc5157", "CreateDate": "2025-08-24T10:00:12.0290058-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:00:12.0290058-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f7c6d7d6-4127-4b18-886f-200859c79e6d", "FieldId": "3e9e3eb5-ec9b-4c5f-a645-ff00d979a656", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f7c6d7d6-4127-4b18-886f-200859c79e6d", "FieldId": "3e9e3eb5-ec9b-4c5f-a645-ff00d979a656", "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": "3a0094b5-06d7-40c2-b204-26814f8dcdec", "CreateDate": "2025-08-24T10:00:12.0290058-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:00:12.0290058-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }