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": "583f75fb-c85c-49ea-96ed-691055f4ae4d", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "51ac546c-1534-4b45-969a-1fc6ffe62c0d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "59dd42d6-4521-4414-9fbe-4f884fa81493", "CreateDate": "2025-05-15T12:21:22.0546682-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-15T12:21:22.0546682-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-15T12:21:22.0546682-07:00", "Fields": [ { "FormTypeFieldId": "0100662d-e43a-4c52-9019-f359ffce9b68", "Section": { "FormTypeSectionId": "a21ae533-f2d4-4cdb-b89f-44427e24c135", "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": "64958a33-a599-4a26-a111-40cde8df7aa4", "Name": "sample string 1" }, "Unit": { "UnitId": "7aab3e27-1988-402d-a6d9-c93666e4b623", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1ceeb5b3-b3c3-46dd-89bb-1b5c3e067d6c", "CreateDate": "2025-05-15T12:21:22.0546682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-15T12:21:22.0546682-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "69c3ecc4-e0a5-411e-981f-52622b896ee2", "FieldId": "38c7dfda-e123-4084-afe4-3a22d6e260da", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "69c3ecc4-e0a5-411e-981f-52622b896ee2", "FieldId": "38c7dfda-e123-4084-afe4-3a22d6e260da", "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": "0100662d-e43a-4c52-9019-f359ffce9b68", "Section": { "FormTypeSectionId": "a21ae533-f2d4-4cdb-b89f-44427e24c135", "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": "64958a33-a599-4a26-a111-40cde8df7aa4", "Name": "sample string 1" }, "Unit": { "UnitId": "7aab3e27-1988-402d-a6d9-c93666e4b623", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1ceeb5b3-b3c3-46dd-89bb-1b5c3e067d6c", "CreateDate": "2025-05-15T12:21:22.0546682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-15T12:21:22.0546682-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "69c3ecc4-e0a5-411e-981f-52622b896ee2", "FieldId": "38c7dfda-e123-4084-afe4-3a22d6e260da", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "69c3ecc4-e0a5-411e-981f-52622b896ee2", "FieldId": "38c7dfda-e123-4084-afe4-3a22d6e260da", "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": "8f111048-4850-4ff7-b543-f29400a1dc2e", "CreateDate": "2025-05-15T12:21:22.0546682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-15T12:21:22.0546682-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": "337190a4-27b3-4ed7-b4ab-eb92fb45cbdc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0eb04daa-3678-4559-ae5a-567829d725fe", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9834573a-6650-4ee7-97b4-abc72d7a1af4", "CreateDate": "2025-05-15T12:21:22.0546682-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-15T12:21:22.0546682-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-15T12:21:22.0546682-07:00", "Fields": [ { "FormTypeFieldId": "8b2b8de5-5f89-49f9-95b1-fdf38c336855", "Section": { "FormTypeSectionId": "3aec5dde-acd6-41b2-9961-c12415624a08", "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": "c5123154-4ed9-4480-a7f2-e6b9af6c8951", "Name": "sample string 1" }, "Unit": { "UnitId": "368c3559-bdef-4bff-a9c1-1216f21e8849", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ec873451-cf14-47bd-8eca-9c8a591bdd11", "CreateDate": "2025-05-15T12:21:22.0546682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-15T12:21:22.0546682-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "536e4067-a3ba-4fb3-954a-58b2784e7bcd", "FieldId": "c436b8b1-1bb2-481b-8792-b14303d0c588", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "536e4067-a3ba-4fb3-954a-58b2784e7bcd", "FieldId": "c436b8b1-1bb2-481b-8792-b14303d0c588", "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": "8b2b8de5-5f89-49f9-95b1-fdf38c336855", "Section": { "FormTypeSectionId": "3aec5dde-acd6-41b2-9961-c12415624a08", "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": "c5123154-4ed9-4480-a7f2-e6b9af6c8951", "Name": "sample string 1" }, "Unit": { "UnitId": "368c3559-bdef-4bff-a9c1-1216f21e8849", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ec873451-cf14-47bd-8eca-9c8a591bdd11", "CreateDate": "2025-05-15T12:21:22.0546682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-15T12:21:22.0546682-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "536e4067-a3ba-4fb3-954a-58b2784e7bcd", "FieldId": "c436b8b1-1bb2-481b-8792-b14303d0c588", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "536e4067-a3ba-4fb3-954a-58b2784e7bcd", "FieldId": "c436b8b1-1bb2-481b-8792-b14303d0c588", "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": "d16b1c8d-95d1-4b62-9af1-64b4bf4c7100", "CreateDate": "2025-05-15T12:21:22.0546682-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-15T12:21:22.0546682-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }