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": "a6b592e7-eb83-4b7f-a861-c37606873ddb", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7cebe8e4-6007-452a-87fc-c21c8f706e17", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9237c4c4-dc0d-4828-a6b8-1ba4b5708f5b", "CreateDate": "2024-12-08T12:15:03.298355-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T12:15:03.298355-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T12:15:03.298355-08:00", "Fields": [ { "FormTypeFieldId": "c012974a-58de-496f-a152-668869cbc975", "Section": { "FormTypeSectionId": "4598585c-9976-4246-858a-ee156eeb13b5", "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": "68e103e5-1e51-4ae3-9117-8d57e7455c20", "Name": "sample string 1" }, "Unit": { "UnitId": "577502cc-97ec-46fa-bc9d-62775886b3bb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8a922829-a888-417b-a737-acd5b2fff1a0", "CreateDate": "2024-12-08T12:15:03.298355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T12:15:03.298355-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "50f08026-68eb-4f6e-a798-d38588ab0758", "FieldId": "cd3b3266-3704-49be-948d-23ae1883eea1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "50f08026-68eb-4f6e-a798-d38588ab0758", "FieldId": "cd3b3266-3704-49be-948d-23ae1883eea1", "FieldName": "sample string 1", "FieldLabel": "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": "c012974a-58de-496f-a152-668869cbc975", "Section": { "FormTypeSectionId": "4598585c-9976-4246-858a-ee156eeb13b5", "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": "68e103e5-1e51-4ae3-9117-8d57e7455c20", "Name": "sample string 1" }, "Unit": { "UnitId": "577502cc-97ec-46fa-bc9d-62775886b3bb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8a922829-a888-417b-a737-acd5b2fff1a0", "CreateDate": "2024-12-08T12:15:03.298355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T12:15:03.298355-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "50f08026-68eb-4f6e-a798-d38588ab0758", "FieldId": "cd3b3266-3704-49be-948d-23ae1883eea1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "50f08026-68eb-4f6e-a798-d38588ab0758", "FieldId": "cd3b3266-3704-49be-948d-23ae1883eea1", "FieldName": "sample string 1", "FieldLabel": "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": "7e04a496-59a9-4cb5-afd9-ff97130681d7", "CreateDate": "2024-12-08T12:15:03.298355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T12:15:03.298355-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": "fc4d235f-bf56-4d10-8298-c77058fecff0", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4181b6f0-5b39-4860-b84b-0dac284513a2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "eb0c7d62-7326-42b9-9df5-a18fa6c6ff95", "CreateDate": "2024-12-08T12:15:03.298355-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T12:15:03.298355-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T12:15:03.298355-08:00", "Fields": [ { "FormTypeFieldId": "56ea5d81-b472-43e0-b3dd-9014a86220c7", "Section": { "FormTypeSectionId": "a8118c19-3771-463c-9048-3c2e1d0e4d52", "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": "6edc83bd-4a4e-4a94-9ed2-432e601d5aaa", "Name": "sample string 1" }, "Unit": { "UnitId": "de6021a4-1756-462d-8cba-dbd41fafabec", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7860fed6-0960-4cde-99d9-eb29032273ae", "CreateDate": "2024-12-08T12:15:03.298355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T12:15:03.298355-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a4b13c76-eb75-4a45-ab61-8234e2f50cc3", "FieldId": "f00e3b6a-6dc7-430e-b19a-06e2737833c8", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a4b13c76-eb75-4a45-ab61-8234e2f50cc3", "FieldId": "f00e3b6a-6dc7-430e-b19a-06e2737833c8", "FieldName": "sample string 1", "FieldLabel": "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": "56ea5d81-b472-43e0-b3dd-9014a86220c7", "Section": { "FormTypeSectionId": "a8118c19-3771-463c-9048-3c2e1d0e4d52", "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": "6edc83bd-4a4e-4a94-9ed2-432e601d5aaa", "Name": "sample string 1" }, "Unit": { "UnitId": "de6021a4-1756-462d-8cba-dbd41fafabec", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7860fed6-0960-4cde-99d9-eb29032273ae", "CreateDate": "2024-12-08T12:15:03.298355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T12:15:03.298355-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a4b13c76-eb75-4a45-ab61-8234e2f50cc3", "FieldId": "f00e3b6a-6dc7-430e-b19a-06e2737833c8", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a4b13c76-eb75-4a45-ab61-8234e2f50cc3", "FieldId": "f00e3b6a-6dc7-430e-b19a-06e2737833c8", "FieldName": "sample string 1", "FieldLabel": "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": "29ce65fd-4163-4907-8e8e-91d98d53bb96", "CreateDate": "2024-12-08T12:15:03.298355-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T12:15:03.298355-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }