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": "01083838-8557-49a5-b917-c7ae8e4cd651", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "10cc8144-5248-462a-bb41-bf34e0764ecd", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "45b5ff4e-2cbf-4635-ac6a-f252d655e237", "CreateDate": "2025-05-17T05:17:43.1484418-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:17:43.1484418-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-17T05:17:43.1484418-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "50b86a07-1b0f-415a-b48d-27c7d1fef150", "Section": { "FormTypeSectionId": "e871a2bb-3020-4890-8377-0c029f096296", "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": "377107be-5348-4852-8910-1ba967beadee", "Name": "sample string 1" }, "Unit": { "UnitId": "0983c2a4-8b1e-483d-938f-7283544bcd20", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cc21d084-2efa-43e3-96dd-f6fcceeb804a", "CreateDate": "2025-05-17T05:17:43.1484418-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:17:43.1484418-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "be083c8f-b1b7-4955-8be4-e88f46e1a10f", "FieldId": "4333a3f1-6832-4069-a3c6-90dec6f69016", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "be083c8f-b1b7-4955-8be4-e88f46e1a10f", "FieldId": "4333a3f1-6832-4069-a3c6-90dec6f69016", "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": "50b86a07-1b0f-415a-b48d-27c7d1fef150", "Section": { "FormTypeSectionId": "e871a2bb-3020-4890-8377-0c029f096296", "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": "377107be-5348-4852-8910-1ba967beadee", "Name": "sample string 1" }, "Unit": { "UnitId": "0983c2a4-8b1e-483d-938f-7283544bcd20", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "cc21d084-2efa-43e3-96dd-f6fcceeb804a", "CreateDate": "2025-05-17T05:17:43.1484418-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:17:43.1484418-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "be083c8f-b1b7-4955-8be4-e88f46e1a10f", "FieldId": "4333a3f1-6832-4069-a3c6-90dec6f69016", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "be083c8f-b1b7-4955-8be4-e88f46e1a10f", "FieldId": "4333a3f1-6832-4069-a3c6-90dec6f69016", "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": "58551eaa-5845-4bea-9afa-2bd5a2e757f2", "CreateDate": "2025-05-17T05:17:43.1484418-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:17:43.1484418-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": "7a9477fc-11cb-478f-b856-5832f18a56c3", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "32078d06-83f4-4c35-bf4f-3e3d87f56a26", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b598da52-47aa-4c62-9703-8461184582c5", "CreateDate": "2025-05-17T05:17:43.1484418-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:17:43.1484418-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-17T05:17:43.1484418-07:00", "Active": true, "Fields": [ { "FormTypeFieldId": "da9c389b-05e5-4f3b-946a-53338d8d413d", "Section": { "FormTypeSectionId": "540dbe95-19b0-4726-9907-c01846d2e699", "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": "7d28d992-bc38-461a-b06b-8714c07528e8", "Name": "sample string 1" }, "Unit": { "UnitId": "f8eeab41-9f0b-4f01-bd0f-459e8c13b33b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ca983ba2-af19-4ce9-918b-4d0b2c2abb24", "CreateDate": "2025-05-17T05:17:43.1484418-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:17:43.1484418-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "614f9437-36b3-44be-9d31-b190c18e7314", "FieldId": "dc2fc65e-745f-42fd-96ef-1c8e20981f9c", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "614f9437-36b3-44be-9d31-b190c18e7314", "FieldId": "dc2fc65e-745f-42fd-96ef-1c8e20981f9c", "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": "da9c389b-05e5-4f3b-946a-53338d8d413d", "Section": { "FormTypeSectionId": "540dbe95-19b0-4726-9907-c01846d2e699", "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": "7d28d992-bc38-461a-b06b-8714c07528e8", "Name": "sample string 1" }, "Unit": { "UnitId": "f8eeab41-9f0b-4f01-bd0f-459e8c13b33b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ca983ba2-af19-4ce9-918b-4d0b2c2abb24", "CreateDate": "2025-05-17T05:17:43.1484418-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-17T05:17:43.1484418-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "614f9437-36b3-44be-9d31-b190c18e7314", "FieldId": "dc2fc65e-745f-42fd-96ef-1c8e20981f9c", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "614f9437-36b3-44be-9d31-b190c18e7314", "FieldId": "dc2fc65e-745f-42fd-96ef-1c8e20981f9c", "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": "1d03e4f0-9b92-405a-8324-9901888b933a", "CreateDate": "2025-05-17T05:17:43.1484418-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-17T05:17:43.1484418-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }