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": "29dbddbe-9934-4cea-9d58-10eb4012c5b1", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b732bbac-4c9a-4e77-83d5-08c16c3e49fa", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1e78453d-dc6c-42ee-b632-41df137fc366", "CreateDate": "2025-03-09T06:55:54.1415114-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T06:55:54.1415114-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T06:55:54.1415114-07:00", "Fields": [ { "FormTypeFieldId": "a5caa510-70aa-4cef-b1f8-5fe536ff845a", "Section": { "FormTypeSectionId": "6d634506-cf18-487f-acab-adc953002d20", "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": "be2351f5-0b68-4a82-b541-b2a96bb9c1f3", "Name": "sample string 1" }, "Unit": { "UnitId": "f6a9a272-c0a3-4beb-9c89-362abe093be6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5f103954-46fc-453f-902c-69817138ea2a", "CreateDate": "2025-03-09T06:55:54.1415114-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T06:55:54.1415114-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "11b00d9c-65ed-44c9-8130-78b69a70ba51", "FieldId": "c4c3b072-7f8e-47ac-89e9-da9a5d2cda84", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "11b00d9c-65ed-44c9-8130-78b69a70ba51", "FieldId": "c4c3b072-7f8e-47ac-89e9-da9a5d2cda84", "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": "a5caa510-70aa-4cef-b1f8-5fe536ff845a", "Section": { "FormTypeSectionId": "6d634506-cf18-487f-acab-adc953002d20", "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": "be2351f5-0b68-4a82-b541-b2a96bb9c1f3", "Name": "sample string 1" }, "Unit": { "UnitId": "f6a9a272-c0a3-4beb-9c89-362abe093be6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5f103954-46fc-453f-902c-69817138ea2a", "CreateDate": "2025-03-09T06:55:54.1415114-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T06:55:54.1415114-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "11b00d9c-65ed-44c9-8130-78b69a70ba51", "FieldId": "c4c3b072-7f8e-47ac-89e9-da9a5d2cda84", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "11b00d9c-65ed-44c9-8130-78b69a70ba51", "FieldId": "c4c3b072-7f8e-47ac-89e9-da9a5d2cda84", "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": "905c1ca3-92c3-4b99-9d04-d2d0a32e6215", "CreateDate": "2025-03-09T06:55:54.1415114-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T06:55:54.1415114-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": "3cd333e9-5964-41fc-8317-3eaed1ca94b7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "54e22a39-5c8e-4c5f-a722-d1c879c91285", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3612d2a0-e275-4faa-93af-4c26bba17799", "CreateDate": "2025-03-09T06:55:54.1415114-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T06:55:54.1415114-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T06:55:54.1415114-07:00", "Fields": [ { "FormTypeFieldId": "46d2277e-21e7-4b40-8850-a7be0909706d", "Section": { "FormTypeSectionId": "1a1d9126-bae5-4c95-ad87-925ef33e32b8", "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": "54ddde39-dd6d-4860-bc96-9165d51b735e", "Name": "sample string 1" }, "Unit": { "UnitId": "c945d672-a317-4f32-8a6b-e699ab4b12df", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0eef32bd-ab47-4742-b5fb-02c5c41009dd", "CreateDate": "2025-03-09T06:55:54.1415114-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T06:55:54.1415114-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a213351e-1162-4999-8620-3c843169a21e", "FieldId": "7d4e06ff-cf11-4d3f-8567-858f6c3b30e9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a213351e-1162-4999-8620-3c843169a21e", "FieldId": "7d4e06ff-cf11-4d3f-8567-858f6c3b30e9", "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": "46d2277e-21e7-4b40-8850-a7be0909706d", "Section": { "FormTypeSectionId": "1a1d9126-bae5-4c95-ad87-925ef33e32b8", "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": "54ddde39-dd6d-4860-bc96-9165d51b735e", "Name": "sample string 1" }, "Unit": { "UnitId": "c945d672-a317-4f32-8a6b-e699ab4b12df", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0eef32bd-ab47-4742-b5fb-02c5c41009dd", "CreateDate": "2025-03-09T06:55:54.1415114-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T06:55:54.1415114-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a213351e-1162-4999-8620-3c843169a21e", "FieldId": "7d4e06ff-cf11-4d3f-8567-858f6c3b30e9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a213351e-1162-4999-8620-3c843169a21e", "FieldId": "7d4e06ff-cf11-4d3f-8567-858f6c3b30e9", "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": "77db4495-0eb3-4f26-b528-ef3b63214a22", "CreateDate": "2025-03-09T06:55:54.1415114-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T06:55:54.1415114-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }