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": "5347b3a1-bf24-4180-a1c1-98f626b30ac2", "Asset": { "AssetId": "ae4c1c68-a0fe-4ea2-9f4a-df5f4d4e0ac6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "4a89a370-364b-45a7-8236-20a1d2394b9b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7a148fc1-8e83-4e70-9fb4-2538273e0cf0", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ae54fcce-4657-4d18-abfc-40d67402f5b1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "MeasurementValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5dd055ad-9741-406b-a7ee-ab500d123891", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "MeasurementValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b61df9c0-c76c-46d0-a1ea-25410fb34afb", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "5446f0a2-2e1f-45f6-9ca3-28bc44a14a79", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "4a89a370-364b-45a7-8236-20a1d2394b9b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7a148fc1-8e83-4e70-9fb4-2538273e0cf0", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "Fields": [ { "FormTypeFieldId": "8018f177-97c3-452f-9986-cdb9efbe2fc1", "Section": { "FormTypeSectionId": "5c679f20-461c-4aca-90d2-ea501ce3c2f8", "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": "d18e04bb-68b3-4d6c-9a22-8c852c610586", "Name": "sample string 1" }, "Unit": { "UnitId": "a55c7d2e-6df6-4785-ac59-7992816aeaec", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0901d56a-4948-4a0d-83c3-2091674acddc", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:01.2027213-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": "8018f177-97c3-452f-9986-cdb9efbe2fc1", "Section": { "FormTypeSectionId": "5c679f20-461c-4aca-90d2-ea501ce3c2f8", "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": "d18e04bb-68b3-4d6c-9a22-8c852c610586", "Name": "sample string 1" }, "Unit": { "UnitId": "a55c7d2e-6df6-4785-ac59-7992816aeaec", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0901d56a-4948-4a0d-83c3-2091674acddc", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:01.2027213-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": "3ef89187-07b3-4446-84b8-27d8a03e107e", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "LastValueDate": "2024-12-21T19:08:01.2027213-08:00", "SourceSystemId": "sample string 1", "CompanyId": "c7e24ce5-b4f2-452f-b0b8-b55aef1ad935", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:08:01.2027213-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": "247bf89e-e1e1-493b-849f-891d883b03fd", "Asset": { "AssetId": "e0922b90-1b14-4499-b3fb-bc15a2315951", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c9d0cf48-8ca4-44ce-a0cf-ba4623bf023e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bb00b280-e50c-47be-8b0d-d37f506fa7e1", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "91573ef8-ce04-494e-af8f-ae599257e8ba", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "MeasurementValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d8eff574-053b-4831-97f2-b5f24be0a21c", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "MeasurementValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9a055a8b-edc8-4343-a65b-dc1ccbe6180e", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "7144bad5-157b-441f-89e5-10714a08880c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c9d0cf48-8ca4-44ce-a0cf-ba4623bf023e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bb00b280-e50c-47be-8b0d-d37f506fa7e1", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "Fields": [ { "FormTypeFieldId": "f25f919a-eed3-4acd-8bbc-678b58cd5b1e", "Section": { "FormTypeSectionId": "a564bb2e-e149-41ac-8933-f20352506808", "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": "8d3de719-e338-4130-b1a6-dce124308747", "Name": "sample string 1" }, "Unit": { "UnitId": "a1d61c02-b5f7-46d4-a091-9ea30820f9cd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "44d840c7-9cc6-4cd5-96ee-775855126b5f", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:01.2027213-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": "f25f919a-eed3-4acd-8bbc-678b58cd5b1e", "Section": { "FormTypeSectionId": "a564bb2e-e149-41ac-8933-f20352506808", "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": "8d3de719-e338-4130-b1a6-dce124308747", "Name": "sample string 1" }, "Unit": { "UnitId": "a1d61c02-b5f7-46d4-a091-9ea30820f9cd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "44d840c7-9cc6-4cd5-96ee-775855126b5f", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:01.2027213-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": "cb608b4c-17c3-4a02-a3d0-d0648f77173c", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:08:01.2027213-08:00", "LastValueDate": "2024-12-21T19:08:01.2027213-08:00", "SourceSystemId": "sample string 1", "CompanyId": "60aa6daf-aaeb-4433-ba58-f6d2a25f21b2", "CreateDate": "2024-12-21T19:08:01.2027213-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:08:01.2027213-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }