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": "9d93bbdb-efd8-4fb3-998e-a5a74ac6c6d2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "92b51c17-c222-44e8-a14d-abcf78038e62", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8dd10c2-5642-4a12-bd69-e74084569fbd", "CreateDate": "2025-01-30T12:19:34.247315-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:19:34.247315-08:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T12:19:34.247315-08:00", "Fields": [ { "FormTypeFieldId": "a9b13305-67ef-427b-ae30-fd9f198aefca", "Section": { "FormTypeSectionId": "a54cad47-103b-403b-9986-7a4ef03bdfd0", "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": "2730cd7c-072e-4f5d-9c0c-b8c9226c3e72", "Name": "sample string 1" }, "Unit": { "UnitId": "f5fb1b1d-c471-445c-af18-fa7e15c6c6c2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "896739ef-89b3-4e61-994a-a3daca2873d2", "CreateDate": "2025-01-30T12:19:34.247315-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:19:34.247315-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f41ff27a-a1b2-460a-9168-d1395aa3babf", "FieldId": "5a38b14e-2c9a-4f57-a0fa-f9c749626a3d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f41ff27a-a1b2-460a-9168-d1395aa3babf", "FieldId": "5a38b14e-2c9a-4f57-a0fa-f9c749626a3d", "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": "a9b13305-67ef-427b-ae30-fd9f198aefca", "Section": { "FormTypeSectionId": "a54cad47-103b-403b-9986-7a4ef03bdfd0", "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": "2730cd7c-072e-4f5d-9c0c-b8c9226c3e72", "Name": "sample string 1" }, "Unit": { "UnitId": "f5fb1b1d-c471-445c-af18-fa7e15c6c6c2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "896739ef-89b3-4e61-994a-a3daca2873d2", "CreateDate": "2025-01-30T12:19:34.247315-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:19:34.247315-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f41ff27a-a1b2-460a-9168-d1395aa3babf", "FieldId": "5a38b14e-2c9a-4f57-a0fa-f9c749626a3d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f41ff27a-a1b2-460a-9168-d1395aa3babf", "FieldId": "5a38b14e-2c9a-4f57-a0fa-f9c749626a3d", "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": "689e02a1-75b3-4e06-b79f-3e08405f8830", "CreateDate": "2025-01-30T12:19:34.247315-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:19:34.247315-08: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": "4ff0c2e6-9ff1-45ef-9a0c-8f958b261acd", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "eca14d76-035f-419a-9118-8aa05d3c5bad", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1d531e72-62d8-457e-bc39-5b400bf2b707", "CreateDate": "2025-01-30T12:19:34.247315-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:19:34.247315-08:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T12:19:34.247315-08:00", "Fields": [ { "FormTypeFieldId": "086955de-7ebe-4a87-8979-e6a2fc1cad51", "Section": { "FormTypeSectionId": "a92c314f-3b31-4aa5-b062-0b8640ece951", "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": "9569edd2-d29b-4384-80e8-eaa819025cb5", "Name": "sample string 1" }, "Unit": { "UnitId": "714b56c5-123f-4b83-9080-1b5346c25bbb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a789eee3-56bc-452b-82a1-59c774e372b1", "CreateDate": "2025-01-30T12:19:34.247315-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:19:34.247315-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9dd0e237-a358-4fdb-8fb5-bc23e300e5ad", "FieldId": "d8b1fafc-63fc-4477-914d-65f3673f6d7e", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9dd0e237-a358-4fdb-8fb5-bc23e300e5ad", "FieldId": "d8b1fafc-63fc-4477-914d-65f3673f6d7e", "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": "086955de-7ebe-4a87-8979-e6a2fc1cad51", "Section": { "FormTypeSectionId": "a92c314f-3b31-4aa5-b062-0b8640ece951", "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": "9569edd2-d29b-4384-80e8-eaa819025cb5", "Name": "sample string 1" }, "Unit": { "UnitId": "714b56c5-123f-4b83-9080-1b5346c25bbb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a789eee3-56bc-452b-82a1-59c774e372b1", "CreateDate": "2025-01-30T12:19:34.247315-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:19:34.247315-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9dd0e237-a358-4fdb-8fb5-bc23e300e5ad", "FieldId": "d8b1fafc-63fc-4477-914d-65f3673f6d7e", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9dd0e237-a358-4fdb-8fb5-bc23e300e5ad", "FieldId": "d8b1fafc-63fc-4477-914d-65f3673f6d7e", "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": "467df0f6-95c0-47ac-ab59-608bedcb4ae7", "CreateDate": "2025-01-30T12:19:34.247315-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:19:34.247315-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }