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": "d080a4e3-83ac-402e-aa9b-9ffd11e32bfd", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "50828cf2-8562-4b00-8715-f462a2a38fec", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1d1ecc86-e911-4d44-a0c2-9cf84585ab05", "CreateDate": "2025-08-29T17:21:12.7741785-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:21:12.7741785-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-29T17:21:12.7741785-07:00", "Fields": [ { "FormTypeFieldId": "65b7f35b-a124-46a3-a0e7-0e3ff7c48910", "Section": { "FormTypeSectionId": "53ddf886-dc5e-47ea-922f-a5f7ab707b95", "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": "34d88e0b-c33f-46dd-a954-7ba5c1ac9219", "Name": "sample string 1" }, "Unit": { "UnitId": "bd7339eb-c0b9-471a-a6a9-5c069fd89fc5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "20249610-c27b-43d4-acd3-62bdb13d2376", "CreateDate": "2025-08-29T17:21:12.7741785-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.7741785-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "79daab12-b089-491c-b3a1-18a8f897ea5d", "FieldId": "a3e54824-34d5-4718-9ee1-bd7f63f345d4", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "79daab12-b089-491c-b3a1-18a8f897ea5d", "FieldId": "a3e54824-34d5-4718-9ee1-bd7f63f345d4", "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": "65b7f35b-a124-46a3-a0e7-0e3ff7c48910", "Section": { "FormTypeSectionId": "53ddf886-dc5e-47ea-922f-a5f7ab707b95", "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": "34d88e0b-c33f-46dd-a954-7ba5c1ac9219", "Name": "sample string 1" }, "Unit": { "UnitId": "bd7339eb-c0b9-471a-a6a9-5c069fd89fc5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "20249610-c27b-43d4-acd3-62bdb13d2376", "CreateDate": "2025-08-29T17:21:12.7741785-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.7741785-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "79daab12-b089-491c-b3a1-18a8f897ea5d", "FieldId": "a3e54824-34d5-4718-9ee1-bd7f63f345d4", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "79daab12-b089-491c-b3a1-18a8f897ea5d", "FieldId": "a3e54824-34d5-4718-9ee1-bd7f63f345d4", "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": "ba25fca1-558c-430a-a03e-136efd97e302", "CreateDate": "2025-08-29T17:21:12.7741785-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.7741785-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": "51c85dfa-7973-44e2-a2e5-6c670cb0ca98", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a3947ceb-5f77-43de-a8f6-317a3ed717f2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "348081c7-7a74-4e60-b025-17fc079212ef", "CreateDate": "2025-08-29T17:21:12.7741785-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:21:12.7741785-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-29T17:21:12.7741785-07:00", "Fields": [ { "FormTypeFieldId": "b34804f2-654e-4623-9b1f-b72b0c5062d8", "Section": { "FormTypeSectionId": "87546329-0484-447d-b818-221344396e8f", "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": "1edc6f9b-f7be-4ae0-b022-79feefd74952", "Name": "sample string 1" }, "Unit": { "UnitId": "113222f7-3e07-4c24-8c55-b5313d251a84", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6b7620cc-3492-461a-9cc6-47abdc59a18f", "CreateDate": "2025-08-29T17:21:12.7741785-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.7741785-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "97377eb6-9f3b-49cf-8be7-d91aeb30a0ba", "FieldId": "17a508c5-5caf-44fb-bcb9-46ce7cf4d7a8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "97377eb6-9f3b-49cf-8be7-d91aeb30a0ba", "FieldId": "17a508c5-5caf-44fb-bcb9-46ce7cf4d7a8", "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": "b34804f2-654e-4623-9b1f-b72b0c5062d8", "Section": { "FormTypeSectionId": "87546329-0484-447d-b818-221344396e8f", "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": "1edc6f9b-f7be-4ae0-b022-79feefd74952", "Name": "sample string 1" }, "Unit": { "UnitId": "113222f7-3e07-4c24-8c55-b5313d251a84", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6b7620cc-3492-461a-9cc6-47abdc59a18f", "CreateDate": "2025-08-29T17:21:12.7741785-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.7741785-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "97377eb6-9f3b-49cf-8be7-d91aeb30a0ba", "FieldId": "17a508c5-5caf-44fb-bcb9-46ce7cf4d7a8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "97377eb6-9f3b-49cf-8be7-d91aeb30a0ba", "FieldId": "17a508c5-5caf-44fb-bcb9-46ce7cf4d7a8", "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": "fd905ae2-6937-4a26-8815-5e1a87418463", "CreateDate": "2025-08-29T17:21:12.7741785-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.7741785-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }