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": "092af427-8749-4323-8506-6602c129558b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a74161df-fc17-4cf2-bda4-ee11f2352238", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1778d232-e166-4ccf-b6f4-be67719f8af0", "CreateDate": "2025-04-22T19:35:07.830466-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-22T19:35:07.830466-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-22T19:35:07.830466-07:00", "Fields": [ { "FormTypeFieldId": "01341530-2c7a-4ebe-b516-0874bca570cc", "Section": { "FormTypeSectionId": "1c670fe5-d928-46d2-bc0f-5f35c169a557", "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": "39e5bc82-1a6f-487e-beaf-8ee5d40af375", "Name": "sample string 1" }, "Unit": { "UnitId": "ca5c72fa-aaf2-4bb8-8fa4-8ff583ff7640", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0583c3ec-20e6-4b2a-adbc-8fd6dfdafc6b", "CreateDate": "2025-04-22T19:35:07.830466-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-22T19:35:07.830466-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f9c5f169-cca0-4f46-b8ac-db0a5d47d31c", "FieldId": "524ad121-7d68-4c50-8694-e2e6fa8f199b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f9c5f169-cca0-4f46-b8ac-db0a5d47d31c", "FieldId": "524ad121-7d68-4c50-8694-e2e6fa8f199b", "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": "01341530-2c7a-4ebe-b516-0874bca570cc", "Section": { "FormTypeSectionId": "1c670fe5-d928-46d2-bc0f-5f35c169a557", "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": "39e5bc82-1a6f-487e-beaf-8ee5d40af375", "Name": "sample string 1" }, "Unit": { "UnitId": "ca5c72fa-aaf2-4bb8-8fa4-8ff583ff7640", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0583c3ec-20e6-4b2a-adbc-8fd6dfdafc6b", "CreateDate": "2025-04-22T19:35:07.830466-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-22T19:35:07.830466-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f9c5f169-cca0-4f46-b8ac-db0a5d47d31c", "FieldId": "524ad121-7d68-4c50-8694-e2e6fa8f199b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f9c5f169-cca0-4f46-b8ac-db0a5d47d31c", "FieldId": "524ad121-7d68-4c50-8694-e2e6fa8f199b", "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": "66645a88-c5cd-4b02-8fff-bd9c762c56ff", "CreateDate": "2025-04-22T19:35:07.830466-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-22T19:35:07.830466-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": "6a22088f-858d-4d18-9f01-cd9306eb6d0a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "cd61fcde-a584-493a-9d77-b91a565eef42", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8a4d8e39-dcac-4c80-8ba0-01638190dc73", "CreateDate": "2025-04-22T19:35:07.830466-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-22T19:35:07.830466-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-22T19:35:07.830466-07:00", "Fields": [ { "FormTypeFieldId": "a2ef2eae-c9b3-415d-a3ac-59646961fb14", "Section": { "FormTypeSectionId": "05d36cc6-9cd7-4069-9b64-288e2e426b1f", "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": "527f055c-7fc3-468c-974c-a672ea7b5fb5", "Name": "sample string 1" }, "Unit": { "UnitId": "bdedf03e-f04e-4d8f-b79c-0176aafb3d9a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c5a69beb-466f-4a5c-8108-94fa60d6e6d6", "CreateDate": "2025-04-22T19:35:07.830466-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-22T19:35:07.830466-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "23e64c61-9300-4579-9b82-aa6ba1868739", "FieldId": "b9daa356-c965-4b5a-a56e-d771ac0796b9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "23e64c61-9300-4579-9b82-aa6ba1868739", "FieldId": "b9daa356-c965-4b5a-a56e-d771ac0796b9", "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": "a2ef2eae-c9b3-415d-a3ac-59646961fb14", "Section": { "FormTypeSectionId": "05d36cc6-9cd7-4069-9b64-288e2e426b1f", "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": "527f055c-7fc3-468c-974c-a672ea7b5fb5", "Name": "sample string 1" }, "Unit": { "UnitId": "bdedf03e-f04e-4d8f-b79c-0176aafb3d9a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c5a69beb-466f-4a5c-8108-94fa60d6e6d6", "CreateDate": "2025-04-22T19:35:07.830466-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-22T19:35:07.830466-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "23e64c61-9300-4579-9b82-aa6ba1868739", "FieldId": "b9daa356-c965-4b5a-a56e-d771ac0796b9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "23e64c61-9300-4579-9b82-aa6ba1868739", "FieldId": "b9daa356-c965-4b5a-a56e-d771ac0796b9", "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": "f85c65b7-b50e-40ef-ad04-6f1838add672", "CreateDate": "2025-04-22T19:35:07.830466-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-22T19:35:07.830466-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }