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": "48aa796d-6c23-44b2-9bac-33be69326e07", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5e6b73b8-6f33-40dc-8b2a-75c861e0c3ad", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "96318856-35db-477f-854f-9b34b3765571", "CreateDate": "2025-09-13T18:26:56.1570309-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:26:56.1570309-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-09-13T18:26:56.1570309-07:00", "Fields": [ { "FormTypeFieldId": "ae09736a-593d-44d5-b1b3-c062c8fff8b5", "Section": { "FormTypeSectionId": "43354918-64ab-47ec-abaa-5df8cfe2ce0d", "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": "74f2e596-01b6-4109-9ec0-27a9d4ff040f", "Name": "sample string 1" }, "Unit": { "UnitId": "e9c91176-2573-4952-8179-1fbb47e3b1e2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7f61c034-d59a-4bb2-9e0b-6005093bbc56", "CreateDate": "2025-09-13T18:26:56.1570309-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:26:56.1570309-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "db631c60-74af-4da4-a379-e7ea08b88bb4", "FieldId": "c23da459-05e2-4d6b-ad48-88cf1456377b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "db631c60-74af-4da4-a379-e7ea08b88bb4", "FieldId": "c23da459-05e2-4d6b-ad48-88cf1456377b", "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": "ae09736a-593d-44d5-b1b3-c062c8fff8b5", "Section": { "FormTypeSectionId": "43354918-64ab-47ec-abaa-5df8cfe2ce0d", "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": "74f2e596-01b6-4109-9ec0-27a9d4ff040f", "Name": "sample string 1" }, "Unit": { "UnitId": "e9c91176-2573-4952-8179-1fbb47e3b1e2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7f61c034-d59a-4bb2-9e0b-6005093bbc56", "CreateDate": "2025-09-13T18:26:56.1570309-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:26:56.1570309-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "db631c60-74af-4da4-a379-e7ea08b88bb4", "FieldId": "c23da459-05e2-4d6b-ad48-88cf1456377b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "db631c60-74af-4da4-a379-e7ea08b88bb4", "FieldId": "c23da459-05e2-4d6b-ad48-88cf1456377b", "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": "5ca91b77-687d-43f2-9ff1-824415328859", "CreateDate": "2025-09-13T18:26:56.1570309-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:26:56.1570309-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": "8fb5c751-a57f-456b-9677-0977278f91d1", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ba475480-554d-4500-aba3-ad2665e1beab", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5255e044-9844-45eb-9c9a-23bdd89dbec2", "CreateDate": "2025-09-13T18:26:56.1570309-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T18:26:56.1570309-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-09-13T18:26:56.1570309-07:00", "Fields": [ { "FormTypeFieldId": "34951b6a-0a36-4c74-b782-f3db2663f6fe", "Section": { "FormTypeSectionId": "ff3735a0-fd0f-43b7-b65c-27fac85de88a", "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": "a26ebd5c-eda5-4c38-83b1-5f5d37c31e64", "Name": "sample string 1" }, "Unit": { "UnitId": "d79a6245-aebb-4e66-9b0f-9346a3eb9e92", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "525c901d-bbde-4a19-8a36-f54c3c9c6d5a", "CreateDate": "2025-09-13T18:26:56.1570309-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:26:56.1570309-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "104fb784-e3ea-4ddd-9ada-344d2fd17796", "FieldId": "f0835712-cd8b-489e-b3b3-4a95a31044ef", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "104fb784-e3ea-4ddd-9ada-344d2fd17796", "FieldId": "f0835712-cd8b-489e-b3b3-4a95a31044ef", "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": "34951b6a-0a36-4c74-b782-f3db2663f6fe", "Section": { "FormTypeSectionId": "ff3735a0-fd0f-43b7-b65c-27fac85de88a", "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": "a26ebd5c-eda5-4c38-83b1-5f5d37c31e64", "Name": "sample string 1" }, "Unit": { "UnitId": "d79a6245-aebb-4e66-9b0f-9346a3eb9e92", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "525c901d-bbde-4a19-8a36-f54c3c9c6d5a", "CreateDate": "2025-09-13T18:26:56.1570309-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:26:56.1570309-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "104fb784-e3ea-4ddd-9ada-344d2fd17796", "FieldId": "f0835712-cd8b-489e-b3b3-4a95a31044ef", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "104fb784-e3ea-4ddd-9ada-344d2fd17796", "FieldId": "f0835712-cd8b-489e-b3b3-4a95a31044ef", "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": "233ea51e-1447-4c6f-946a-11d2d264ec37", "CreateDate": "2025-09-13T18:26:56.1570309-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T18:26:56.1570309-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }