PUT AssetFormTypes
Updates an asset form type.
Request Information
URI Parameters
None.
Body Parameters
AssetFormTypeName | Description | Type | Additional information |
---|---|---|---|
AssetFormTypeId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
FormType | FormType |
None. |
|
FrequencyNeeded | integer |
None. |
|
ValueNeededDate | date |
None. |
|
LastValueDate | date |
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:
{ "AssetFormTypeId": "0dcba4b2-0a26-42da-82de-98f975f187b2", "Asset": { "AssetId": "db8232f7-b2fe-4a78-8e11-5d0fd33c4943", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "dd927b79-1ed5-4803-83ee-fc51a3b10715", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "951c5750-8d09-462c-9fa1-4351e0b3056e", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "999da1d2-c7fb-4942-85e9-9488bccc7fb5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "MeasurementValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6a289899-e270-42c2-bd13-d4c3d371120d", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "MeasurementValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6a0a1c57-cb82-40c3-a1a0-d579ca6a2ae1", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "44c47cdd-7895-42bb-84ef-0a6270c43f0a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "dd927b79-1ed5-4803-83ee-fc51a3b10715", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "951c5750-8d09-462c-9fa1-4351e0b3056e", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "Fields": [ { "FormTypeFieldId": "0206b170-cb2d-4d86-a14d-5fb9aba95a44", "Section": { "FormTypeSectionId": "d04a8aef-8905-4282-a590-fe2c4a2d009c", "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": "bfb1dfea-e02c-4220-9cf4-899ed6131dc1", "Name": "sample string 1" }, "Unit": { "UnitId": "1f88651e-a5e5-4c5e-93b5-4f9d6b151ce6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f916b778-795f-4eac-8ede-da1f1688288e", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "624edcc0-f61c-42ea-a917-e8705bcaa849", "FieldId": "c315e8f0-50e9-46e8-9eaf-ff89faa9df30", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "624edcc0-f61c-42ea-a917-e8705bcaa849", "FieldId": "c315e8f0-50e9-46e8-9eaf-ff89faa9df30", "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": "0206b170-cb2d-4d86-a14d-5fb9aba95a44", "Section": { "FormTypeSectionId": "d04a8aef-8905-4282-a590-fe2c4a2d009c", "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": "bfb1dfea-e02c-4220-9cf4-899ed6131dc1", "Name": "sample string 1" }, "Unit": { "UnitId": "1f88651e-a5e5-4c5e-93b5-4f9d6b151ce6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f916b778-795f-4eac-8ede-da1f1688288e", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "624edcc0-f61c-42ea-a917-e8705bcaa849", "FieldId": "c315e8f0-50e9-46e8-9eaf-ff89faa9df30", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "624edcc0-f61c-42ea-a917-e8705bcaa849", "FieldId": "c315e8f0-50e9-46e8-9eaf-ff89faa9df30", "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": "dbf6ba43-af96-440a-b85e-d9d6503afae3", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "LastValueDate": "2024-11-22T09:31:27.7116337-08:00", "SourceSystemId": "sample string 1", "CompanyId": "b6a4f9ee-b501-46e8-9e07-620287f10721", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 4" }
Response Information
Resource Description
On success, the updated asset form type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | AssetFormType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetFormTypeId": "c2bb7df0-e38f-42d9-903c-e7e85b665322", "Asset": { "AssetId": "ad35eec8-8ec1-4543-b15f-e63d74572d2a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9e095dae-44a8-4430-9151-8a5bd17dbb58", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "075677b4-4c39-4811-a444-4d88f718cf84", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "5036d856-c8fe-4494-991f-5a8c21e0129d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "MeasurementValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "SourceSystemId": "sample string 3", "CompanyId": "43ff18de-9f68-441e-aa98-a60561158958", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "MeasurementValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "643291be-5182-4398-ba82-e522dab0626d", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "107e6350-4f61-4b01-9ab7-ae601f44bedc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9e095dae-44a8-4430-9151-8a5bd17dbb58", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "075677b4-4c39-4811-a444-4d88f718cf84", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "Fields": [ { "FormTypeFieldId": "1f661e9f-a69f-451f-89a8-ed46aac73bca", "Section": { "FormTypeSectionId": "11282731-7f37-446b-ae3a-ae1fd7732739", "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": "36278bde-ddba-498c-85f1-0452003e30f4", "Name": "sample string 1" }, "Unit": { "UnitId": "bd8b84d9-204a-4fe5-b225-2ab178bb92cb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "99e845c9-08f7-47bd-adf2-31492440f346", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "990dbf0d-ab3e-4855-ae3e-35aa8526098a", "FieldId": "ba2b3a90-f493-4d14-81c2-080f65309e00", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "990dbf0d-ab3e-4855-ae3e-35aa8526098a", "FieldId": "ba2b3a90-f493-4d14-81c2-080f65309e00", "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": "1f661e9f-a69f-451f-89a8-ed46aac73bca", "Section": { "FormTypeSectionId": "11282731-7f37-446b-ae3a-ae1fd7732739", "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": "36278bde-ddba-498c-85f1-0452003e30f4", "Name": "sample string 1" }, "Unit": { "UnitId": "bd8b84d9-204a-4fe5-b225-2ab178bb92cb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "99e845c9-08f7-47bd-adf2-31492440f346", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "990dbf0d-ab3e-4855-ae3e-35aa8526098a", "FieldId": "ba2b3a90-f493-4d14-81c2-080f65309e00", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "990dbf0d-ab3e-4855-ae3e-35aa8526098a", "FieldId": "ba2b3a90-f493-4d14-81c2-080f65309e00", "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": "1d67adb1-78e1-498c-a108-e739eefdc27b", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T09:31:27.7116337-08:00", "LastValueDate": "2024-11-22T09:31:27.7116337-08:00", "SourceSystemId": "sample string 1", "CompanyId": "90004ecd-975b-4502-bae8-105857932c72", "CreateDate": "2024-11-22T09:31:27.7116337-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T09:31:27.7116337-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }