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": "3987bb3d-78c7-4ba6-9539-137db071d2c1", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7575bc1c-d8e6-47d7-b108-775ff62eeec2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1cb14b3e-215c-4f6b-8630-f2d1c4868b37", "CreateDate": "2025-08-23T22:46:17.6599788-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:46:17.6599788-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-23T22:46:17.6599788-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "339bc90f-b481-4558-835d-4b30549509e6", "Section": { "FormTypeSectionId": "ecc60e47-fb66-4919-907e-8ac514db8806", "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": "50682962-29d9-420b-848e-888b0c619791", "Name": "sample string 1" }, "Unit": { "UnitId": "a861f514-5204-4854-80cc-4da07b339ebc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "74647c41-b6e6-42cc-818a-943babe83c02", "CreateDate": "2025-08-23T22:46:17.6599788-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:46:17.6599788-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3bd3484f-9d6c-415b-a4e5-50ba815c3dd3", "FieldId": "2228268d-352f-421f-ab16-6660c3890540", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3bd3484f-9d6c-415b-a4e5-50ba815c3dd3", "FieldId": "2228268d-352f-421f-ab16-6660c3890540", "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": "339bc90f-b481-4558-835d-4b30549509e6", "Section": { "FormTypeSectionId": "ecc60e47-fb66-4919-907e-8ac514db8806", "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": "50682962-29d9-420b-848e-888b0c619791", "Name": "sample string 1" }, "Unit": { "UnitId": "a861f514-5204-4854-80cc-4da07b339ebc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "74647c41-b6e6-42cc-818a-943babe83c02", "CreateDate": "2025-08-23T22:46:17.6599788-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:46:17.6599788-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3bd3484f-9d6c-415b-a4e5-50ba815c3dd3", "FieldId": "2228268d-352f-421f-ab16-6660c3890540", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3bd3484f-9d6c-415b-a4e5-50ba815c3dd3", "FieldId": "2228268d-352f-421f-ab16-6660c3890540", "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": "f71bc9c8-92f3-47da-bd89-e52b03a91c23", "CreateDate": "2025-08-23T22:46:17.6599788-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:46:17.6599788-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": "48c0f8a8-a317-4a3f-8d1d-2f1aeaa15aa7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0913f8d3-6ab1-4f00-af14-2f3e908062c3", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "770ee9e5-4cfe-4921-b747-63aa47a5fbee", "CreateDate": "2025-08-23T22:46:17.6599788-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:46:17.6599788-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-23T22:46:17.6599788-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "ee331b25-b30e-410c-9c4a-b8da5fe012ee", "Section": { "FormTypeSectionId": "7d4b3985-1ecd-4872-bc48-32c5e18ca994", "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": "9e11710b-de80-4e8d-8c42-396685a960f1", "Name": "sample string 1" }, "Unit": { "UnitId": "5e125a97-9df8-448d-8107-9f85d0612d86", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8a80d729-4695-4465-885d-e153f8acd6db", "CreateDate": "2025-08-23T22:46:17.6599788-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:46:17.6599788-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9856e974-60e4-489c-bf75-79acaeee5b19", "FieldId": "e2f31261-080a-49b2-b0d4-9a81c546ff2d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9856e974-60e4-489c-bf75-79acaeee5b19", "FieldId": "e2f31261-080a-49b2-b0d4-9a81c546ff2d", "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": "ee331b25-b30e-410c-9c4a-b8da5fe012ee", "Section": { "FormTypeSectionId": "7d4b3985-1ecd-4872-bc48-32c5e18ca994", "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": "9e11710b-de80-4e8d-8c42-396685a960f1", "Name": "sample string 1" }, "Unit": { "UnitId": "5e125a97-9df8-448d-8107-9f85d0612d86", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8a80d729-4695-4465-885d-e153f8acd6db", "CreateDate": "2025-08-23T22:46:17.6599788-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:46:17.6599788-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9856e974-60e4-489c-bf75-79acaeee5b19", "FieldId": "e2f31261-080a-49b2-b0d4-9a81c546ff2d", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9856e974-60e4-489c-bf75-79acaeee5b19", "FieldId": "e2f31261-080a-49b2-b0d4-9a81c546ff2d", "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": "bdf30997-eb84-41d3-b036-3a5a489aabbb", "CreateDate": "2025-08-23T22:46:17.6599788-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:46:17.6599788-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }