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": "ba7aa254-6b7b-4f27-8f51-bf13940726bc", "Asset": { "AssetId": "22d6ebd4-45ac-47a5-9048-6a27ea238e6b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "294de626-d760-492e-9f31-23e280bdd898", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "100dd055-62e5-4f92-8269-23087af12d3b", "CreateDate": "2025-02-06T08:32:23.1010324-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-06T08:32:23.1010324-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "0c8e85c6-9471-44d7-850e-c865af4331c5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-06T08:32:23.1010324-08:00", "MeasurementValueNeededDate": "2025-02-06T08:32:23.1010324-08:00", "SourceSystemId": "sample string 3", "CompanyId": "238a027f-8595-4471-ab64-fc3afe427226", "CreateDate": "2025-02-06T08:32:23.1010324-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-06T08:32:23.1010324-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-06T08:32:23.1010324-08:00", "MeasurementValueNeededDate": "2025-02-06T08:32:23.1010324-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "13549cd5-5031-4765-96fd-6f30afc8c2d0", "CreateDate": "2025-02-06T08:32:23.1010324-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-06T08:32:23.1010324-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "185e2680-560a-4ae9-9cb5-9021924357ac", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "294de626-d760-492e-9f31-23e280bdd898", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "100dd055-62e5-4f92-8269-23087af12d3b", "CreateDate": "2025-02-06T08:32:23.1010324-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-06T08:32:23.1010324-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-06T08:32:23.1010324-08:00", "Fields": [ { "FormTypeFieldId": "58669fcb-b9a9-4bc4-92e6-dbd6ae74573f", "Section": { "FormTypeSectionId": "cdca728f-eefe-44d7-abeb-2d1f44805d0b", "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": "0c309440-1340-43bf-968f-1aad63c69e12", "Name": "sample string 1" }, "Unit": { "UnitId": "875e970b-6b3c-421b-9bd5-b8630e2fed3b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9fef019b-ec9a-455e-9246-f51947f2665e", "CreateDate": "2025-02-06T08:32:23.1010324-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-06T08:32:23.1010324-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "58669fcb-b9a9-4bc4-92e6-dbd6ae74573f", "Section": { "FormTypeSectionId": "cdca728f-eefe-44d7-abeb-2d1f44805d0b", "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": "0c309440-1340-43bf-968f-1aad63c69e12", "Name": "sample string 1" }, "Unit": { "UnitId": "875e970b-6b3c-421b-9bd5-b8630e2fed3b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9fef019b-ec9a-455e-9246-f51947f2665e", "CreateDate": "2025-02-06T08:32:23.1010324-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-06T08:32:23.1010324-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "749397dc-e5ed-4734-a96c-3d575d82f60e", "CreateDate": "2025-02-06T08:32:23.1010324-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-06T08:32:23.1010324-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-06T08:32:23.1010324-08:00", "LastValueDate": "2025-02-06T08:32:23.1010324-08:00", "SourceSystemId": "sample string 1", "CompanyId": "0765b8cd-bb0f-4717-8c6c-ea0e066f40df", "CreateDate": "2025-02-06T08:32:23.1010324-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-02-06T08:32:23.1010324-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": "99d37588-7176-4e5b-89d0-db7b990404d2", "Asset": { "AssetId": "06018f45-892c-4cc2-84e3-13b2f68cb332", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a44e1cde-c40d-40c8-848a-d9a5424256b7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fb37ceaf-8d19-443e-a79b-0f2e147a6ad9", "CreateDate": "2025-02-06T08:32:23.1166464-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-06T08:32:23.1166464-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "d6d3be20-38a3-4814-b1f2-5f18f9788f07", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-06T08:32:23.1166464-08:00", "MeasurementValueNeededDate": "2025-02-06T08:32:23.1166464-08:00", "SourceSystemId": "sample string 3", "CompanyId": "748383db-1f28-4a8d-bbfb-07852df60515", "CreateDate": "2025-02-06T08:32:23.1166464-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-06T08:32:23.1166464-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-06T08:32:23.1166464-08:00", "MeasurementValueNeededDate": "2025-02-06T08:32:23.1166464-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9bce2e90-370e-4a9d-8b51-2f014b006451", "CreateDate": "2025-02-06T08:32:23.1166464-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-06T08:32:23.1166464-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "3300715c-c767-417b-b07d-b1847bfeefc5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a44e1cde-c40d-40c8-848a-d9a5424256b7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fb37ceaf-8d19-443e-a79b-0f2e147a6ad9", "CreateDate": "2025-02-06T08:32:23.1166464-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-06T08:32:23.1166464-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-06T08:32:23.1166464-08:00", "Fields": [ { "FormTypeFieldId": "856c280d-dabe-48e4-9c89-51c2265fba1b", "Section": { "FormTypeSectionId": "ed3ee80e-0fea-42a7-821a-862925f02588", "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": "81d15895-ca97-45b2-bcdc-ddb7905b8362", "Name": "sample string 1" }, "Unit": { "UnitId": "686a31b5-74f8-4d8b-b104-29153ae4e7f5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b3875490-99b5-457d-a6a5-671cd017291b", "CreateDate": "2025-02-06T08:32:23.1166464-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-06T08:32:23.1166464-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "856c280d-dabe-48e4-9c89-51c2265fba1b", "Section": { "FormTypeSectionId": "ed3ee80e-0fea-42a7-821a-862925f02588", "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": "81d15895-ca97-45b2-bcdc-ddb7905b8362", "Name": "sample string 1" }, "Unit": { "UnitId": "686a31b5-74f8-4d8b-b104-29153ae4e7f5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b3875490-99b5-457d-a6a5-671cd017291b", "CreateDate": "2025-02-06T08:32:23.1166464-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-06T08:32:23.1166464-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "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": "2b171dee-9d91-44b7-b4f3-774cb5962c16", "CreateDate": "2025-02-06T08:32:23.1166464-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-06T08:32:23.1166464-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-06T08:32:23.1166464-08:00", "LastValueDate": "2025-02-06T08:32:23.1166464-08:00", "SourceSystemId": "sample string 1", "CompanyId": "23eaadb9-a394-4654-9bea-21cb1cf7cba2", "CreateDate": "2025-02-06T08:32:23.1166464-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-02-06T08:32:23.1166464-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }