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. |
|
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": "4c85fd9b-4de9-4efe-a9fc-19154b6bab77", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "682063a2-ba80-4170-a5e9-fd3a9090c0cc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "86508c86-bcd2-425d-8b07-0aff6a39ad36", "CreateDate": "2025-09-17T03:28:58.4023822-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T03:28:58.4023822-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-09-17T03:28:58.4023822-07:00", "Fields": [ { "FormTypeFieldId": "ce5c845c-bda8-4bdc-85d5-afcc4feef60b", "Section": { "FormTypeSectionId": "4084b9a2-6bca-47af-b490-f17e8ac25061", "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": "e4d052b2-70d3-400a-8eb7-da22ad8b9ce8", "Name": "sample string 1" }, "Unit": { "UnitId": "118ce0f7-249d-44b5-b2c7-6168126d581f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2a6a313a-30e1-4cb1-b422-e8bcca1e760b", "CreateDate": "2025-09-17T03:28:58.4023822-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T03:28:58.4023822-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "40a4ab63-67c2-47d3-adb9-a557854f65a9", "FieldId": "db719ca2-0a3e-4ae3-a9df-9ab6f57dee6f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "40a4ab63-67c2-47d3-adb9-a557854f65a9", "FieldId": "db719ca2-0a3e-4ae3-a9df-9ab6f57dee6f", "FieldName": "sample string 1", "FieldLable": "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": "ce5c845c-bda8-4bdc-85d5-afcc4feef60b", "Section": { "FormTypeSectionId": "4084b9a2-6bca-47af-b490-f17e8ac25061", "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": "e4d052b2-70d3-400a-8eb7-da22ad8b9ce8", "Name": "sample string 1" }, "Unit": { "UnitId": "118ce0f7-249d-44b5-b2c7-6168126d581f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2a6a313a-30e1-4cb1-b422-e8bcca1e760b", "CreateDate": "2025-09-17T03:28:58.4023822-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T03:28:58.4023822-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "40a4ab63-67c2-47d3-adb9-a557854f65a9", "FieldId": "db719ca2-0a3e-4ae3-a9df-9ab6f57dee6f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "40a4ab63-67c2-47d3-adb9-a557854f65a9", "FieldId": "db719ca2-0a3e-4ae3-a9df-9ab6f57dee6f", "FieldName": "sample string 1", "FieldLable": "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 3", "CompanyId": "94b31ec5-77b3-4296-a02b-191e7caf77dc", "CreateDate": "2025-09-17T03:28:58.4023822-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T03:28:58.4023822-07:00", "LastModifiedUser": "sample string 6" }
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": "e2c71a4f-0e82-44c9-9f5c-bb46a38d87b6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "eec7104f-3944-42f7-9ad5-e306e898326a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6dd083b1-9351-4ce3-883f-7aa7dd5a58fa", "CreateDate": "2025-09-17T03:28:58.4023822-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T03:28:58.4023822-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-09-17T03:28:58.4023822-07:00", "Fields": [ { "FormTypeFieldId": "df8f8dab-7848-4d95-98ea-468765664ce6", "Section": { "FormTypeSectionId": "e0540824-9a86-4b8d-af28-b6841717b64a", "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": "adae3578-d518-40a7-8e54-2a21aa9cb32d", "Name": "sample string 1" }, "Unit": { "UnitId": "f34ee311-66f4-4cef-8e71-7024dcc4f258", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4892977d-5c44-46e8-bd77-cb6070c9c87e", "CreateDate": "2025-09-17T03:28:58.4023822-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T03:28:58.4023822-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d5f19958-127c-424b-8dcd-8b49ce9201a0", "FieldId": "941e0fa5-c394-4f0e-b092-62b7ecde7c97", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d5f19958-127c-424b-8dcd-8b49ce9201a0", "FieldId": "941e0fa5-c394-4f0e-b092-62b7ecde7c97", "FieldName": "sample string 1", "FieldLable": "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": "df8f8dab-7848-4d95-98ea-468765664ce6", "Section": { "FormTypeSectionId": "e0540824-9a86-4b8d-af28-b6841717b64a", "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": "adae3578-d518-40a7-8e54-2a21aa9cb32d", "Name": "sample string 1" }, "Unit": { "UnitId": "f34ee311-66f4-4cef-8e71-7024dcc4f258", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4892977d-5c44-46e8-bd77-cb6070c9c87e", "CreateDate": "2025-09-17T03:28:58.4023822-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T03:28:58.4023822-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d5f19958-127c-424b-8dcd-8b49ce9201a0", "FieldId": "941e0fa5-c394-4f0e-b092-62b7ecde7c97", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d5f19958-127c-424b-8dcd-8b49ce9201a0", "FieldId": "941e0fa5-c394-4f0e-b092-62b7ecde7c97", "FieldName": "sample string 1", "FieldLable": "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 3", "CompanyId": "d68c7bd0-6959-4408-aae1-3d7383410257", "CreateDate": "2025-09-17T03:28:58.4023822-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T03:28:58.4023822-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }