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": "25877b5a-be27-40cb-a257-1820700d7cb9", "Asset": { "AssetId": "26e37cc2-3b53-44b2-b375-1543f13828dd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "36383794-a010-4d16-8ded-7172cd8ffb61", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "eea695ad-be2d-4a31-aedf-61a8de357a4f", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "24fec974-81a7-4dc0-a90b-b9d1faebf7c6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "MeasurementValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c05e8749-db52-4ea4-9021-47592d614aba", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "MeasurementValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0826f2a7-7ab5-455f-9824-248e1d9abaac", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "5b23eab1-35f8-4224-8572-1e814d21c0fc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "36383794-a010-4d16-8ded-7172cd8ffb61", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "eea695ad-be2d-4a31-aedf-61a8de357a4f", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "Fields": [ { "FormTypeFieldId": "b723f2b9-a877-496f-870d-9664eaf11b9c", "Section": { "FormTypeSectionId": "778f66be-637b-4237-8c4b-bc6c12d13969", "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": "723b7020-73d5-48cc-978b-5c573580f3ba", "Name": "sample string 1" }, "Unit": { "UnitId": "f479d6f1-8ec9-469b-b376-8031f82970ef", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e1d0b48d-2539-4beb-be51-4c846d8791e5", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07: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": "b723f2b9-a877-496f-870d-9664eaf11b9c", "Section": { "FormTypeSectionId": "778f66be-637b-4237-8c4b-bc6c12d13969", "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": "723b7020-73d5-48cc-978b-5c573580f3ba", "Name": "sample string 1" }, "Unit": { "UnitId": "f479d6f1-8ec9-469b-b376-8031f82970ef", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e1d0b48d-2539-4beb-be51-4c846d8791e5", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07: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": "cb6d4b68-334d-4d4c-9a8f-0e7e7832e259", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "LastValueDate": "2024-10-10T15:20:21.8717637-07:00", "SourceSystemId": "sample string 1", "CompanyId": "d16a3878-d0cb-41d5-972f-e545e19fb928", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07: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": "1250ed17-1a7b-49e9-8e82-bfbfa679aeba", "Asset": { "AssetId": "346ce28f-ef33-4d59-95ca-aedd5a253126", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "cffc6245-6c25-446a-8211-e9257ebf7072", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c21a0b3f-3ba4-41cf-a239-1adf6de4c338", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "453f695e-c09f-4831-b18b-26d4839fa841", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "MeasurementValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "SourceSystemId": "sample string 3", "CompanyId": "2e7b70cb-033b-4890-a6d7-366f2027d271", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "MeasurementValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3de7f2ef-babd-4878-933f-aae9700ae35c", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "3b77513a-13c3-47af-8584-b9e391a0e6a8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "cffc6245-6c25-446a-8211-e9257ebf7072", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c21a0b3f-3ba4-41cf-a239-1adf6de4c338", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "Fields": [ { "FormTypeFieldId": "78f613c5-597c-43b0-9ce9-80e1314e046d", "Section": { "FormTypeSectionId": "27e8bb58-75d3-4933-8b8f-461c0d19e223", "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": "f9363655-265e-488c-80a5-3bcf1b52b02a", "Name": "sample string 1" }, "Unit": { "UnitId": "388b392c-a75e-407e-acb9-4a271bb332cd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a4a72db7-0a88-4ca0-b8f7-71db864ebd87", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07: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": "78f613c5-597c-43b0-9ce9-80e1314e046d", "Section": { "FormTypeSectionId": "27e8bb58-75d3-4933-8b8f-461c0d19e223", "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": "f9363655-265e-488c-80a5-3bcf1b52b02a", "Name": "sample string 1" }, "Unit": { "UnitId": "388b392c-a75e-407e-acb9-4a271bb332cd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a4a72db7-0a88-4ca0-b8f7-71db864ebd87", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07: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": "dcbb8fc6-16dd-4699-98bd-5a223ed6820b", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T15:20:21.8717637-07:00", "LastValueDate": "2024-10-10T15:20:21.8717637-07:00", "SourceSystemId": "sample string 1", "CompanyId": "bd3d773c-3192-4d44-8af3-2ad159a67091", "CreateDate": "2024-10-10T15:20:21.8717637-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-10-10T15:20:21.8717637-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }