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": "639d3c52-b6b9-4462-935d-92a419b8d8bc", "Asset": { "AssetId": "e7123d29-75ab-4cfa-9428-dd2341d2642f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "752d4b3e-1bad-40ae-835b-ef81f75b4771", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7082b0c1-456a-4209-b032-ffbf98de8f18", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "1b2320dd-da84-4fe1-9389-1bb45ec08d0f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "MeasurementValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ed4e1d2f-1577-4f51-91ef-a305a582613e", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "MeasurementValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "55e18ad8-6b9f-418d-afe4-0952b46459b7", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "3652cdb3-68c5-4d7e-9d53-7bb32cd3a48a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "752d4b3e-1bad-40ae-835b-ef81f75b4771", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7082b0c1-456a-4209-b032-ffbf98de8f18", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "Fields": [ { "FormTypeFieldId": "c0dc21f4-160c-4ac8-bde6-ffe910018069", "Section": { "FormTypeSectionId": "890c8aa8-4a89-46c5-ad8c-53b3ebf9262f", "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": "a9c9d5fc-da4b-4871-80c4-44b253397f1f", "Name": "sample string 1" }, "Unit": { "UnitId": "fbbdd8f7-3a4e-4821-88de-d727b9946d6b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "36a77f8e-1a40-4a65-9b2a-f3d83fbaabfb", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "bd1290ab-a501-4a0b-887e-17ebff9fb725", "FieldId": "e3f9b788-d896-4a93-bd54-bb3af3dcbeac", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "bd1290ab-a501-4a0b-887e-17ebff9fb725", "FieldId": "e3f9b788-d896-4a93-bd54-bb3af3dcbeac", "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": "c0dc21f4-160c-4ac8-bde6-ffe910018069", "Section": { "FormTypeSectionId": "890c8aa8-4a89-46c5-ad8c-53b3ebf9262f", "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": "a9c9d5fc-da4b-4871-80c4-44b253397f1f", "Name": "sample string 1" }, "Unit": { "UnitId": "fbbdd8f7-3a4e-4821-88de-d727b9946d6b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "36a77f8e-1a40-4a65-9b2a-f3d83fbaabfb", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "bd1290ab-a501-4a0b-887e-17ebff9fb725", "FieldId": "e3f9b788-d896-4a93-bd54-bb3af3dcbeac", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "bd1290ab-a501-4a0b-887e-17ebff9fb725", "FieldId": "e3f9b788-d896-4a93-bd54-bb3af3dcbeac", "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": "cf4b339f-35e9-4d43-b664-ffade98d68cc", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "LastValueDate": "2024-12-08T13:05:52.7862169-08:00", "SourceSystemId": "sample string 1", "CompanyId": "e06506a9-6e07-4483-b0b0-2449a909cc8b", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-08T13:05:52.7862169-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": "9f44041c-0626-4a46-827e-5797060b0ebd", "Asset": { "AssetId": "b0ea7e0a-2acd-4a46-99fc-8488aab49bfd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "78faac24-165b-4539-af7e-331d901bd142", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "35be7b7c-8655-4da3-bc53-ae2d0151553b", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "ee2ab946-27e4-4cda-bfb1-47385a684d41", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "MeasurementValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "SourceSystemId": "sample string 3", "CompanyId": "5c0d4dce-0a89-4724-9d4e-e62ea19097e9", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "MeasurementValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ecefe932-cd52-4ef7-81ff-f7533b14ebe5", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "68fbb072-8540-48f0-b6bc-825c77aa317b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "78faac24-165b-4539-af7e-331d901bd142", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "35be7b7c-8655-4da3-bc53-ae2d0151553b", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "Fields": [ { "FormTypeFieldId": "398ec9ab-ad90-41ea-80a7-3e68cfce28bc", "Section": { "FormTypeSectionId": "83227a4b-abab-40cd-bbd5-89ab32f90cbd", "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": "deebbb47-6c8d-424e-aaa5-e08480244a4b", "Name": "sample string 1" }, "Unit": { "UnitId": "12be7b35-2a99-43ed-b4e2-6c184d3fe5e2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dbb0a86b-53c1-44cf-aee5-f9e358ac7ab1", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "728d363d-6f62-40b3-8f84-17a90a686500", "FieldId": "9e141366-7b2a-458d-8346-155b2ff7bbea", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "728d363d-6f62-40b3-8f84-17a90a686500", "FieldId": "9e141366-7b2a-458d-8346-155b2ff7bbea", "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": "398ec9ab-ad90-41ea-80a7-3e68cfce28bc", "Section": { "FormTypeSectionId": "83227a4b-abab-40cd-bbd5-89ab32f90cbd", "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": "deebbb47-6c8d-424e-aaa5-e08480244a4b", "Name": "sample string 1" }, "Unit": { "UnitId": "12be7b35-2a99-43ed-b4e2-6c184d3fe5e2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dbb0a86b-53c1-44cf-aee5-f9e358ac7ab1", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "728d363d-6f62-40b3-8f84-17a90a686500", "FieldId": "9e141366-7b2a-458d-8346-155b2ff7bbea", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "728d363d-6f62-40b3-8f84-17a90a686500", "FieldId": "9e141366-7b2a-458d-8346-155b2ff7bbea", "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": "690395fd-2da4-4f94-b38c-cfb45639f800", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T13:05:52.7862169-08:00", "LastValueDate": "2024-12-08T13:05:52.7862169-08:00", "SourceSystemId": "sample string 1", "CompanyId": "66a86c62-9f59-498c-8e53-c6131d3c5f56", "CreateDate": "2024-12-08T13:05:52.7862169-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-08T13:05:52.7862169-08:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }