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": "70b71230-c73a-4bde-95e3-0b393cb79140", "Asset": { "AssetId": "757e29dd-c502-4d28-904a-51ea43737a27", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "62f0de73-c0cd-4859-a6b3-41adabf6b743", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "633f48d9-a3b4-4f59-88b8-b1e1aef0e7fa", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "797d092e-3d56-433b-88f2-bbe62c47b11b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T13:45:45.2963385-07:00", "MeasurementValueNeededDate": "2024-04-28T13:45:45.2963385-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f781b37b-37d7-4f58-90d5-b348dca9d632", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d4c0bf90-d128-4495-8621-a580afbbfaa1", "EffectiveDate": "2024-04-28T13:45:45.2963385-07:00", "StateType": { "StateTypeId": "3798e580-6b56-4592-989f-f2b5120143e7", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "62f0de73-c0cd-4859-a6b3-41adabf6b743", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "633f48d9-a3b4-4f59-88b8-b1e1aef0e7fa", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "08dc1c23-072d-4583-9cb7-fa30300cee8d", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "bc9fcde3-02a7-43d4-bbaa-38ca4b46ab0a", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2cc59175-203d-4681-aa99-076b54ec84fc", "EffectiveDate": "2024-04-28T13:45:45.2963385-07:00", "StatusType": { "StatusTypeId": "13df9086-50aa-484b-becd-223da3014204", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "62f0de73-c0cd-4859-a6b3-41adabf6b743", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "633f48d9-a3b4-4f59-88b8-b1e1aef0e7fa", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c7ef13a7-a742-4044-be20-97239e9c0bd5", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "de6c8aea-ce64-40f3-b47c-88144ba45001", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "34cefb6d-fc48-4ccd-aa43-04ca71508c38", "EffectiveDate": "2024-04-28T13:45:45.2963385-07:00", "WellPurposeType": { "WellPurposeTypeId": "47004030-a787-42d0-b16d-aece767a385d", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d9c864cc-f861-4617-b468-4f435fd3cdcc", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "634bddb6-71cd-459c-adfd-3db4c211d538", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T13:45:45.2963385-07:00", "MeasurementValueNeededDate": "2024-04-28T13:45:45.2963385-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "088b4118-9eeb-4dbd-bea4-d663321ea305", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "a4d342ac-7ef1-4931-8d21-631ba764ccfd", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "62f0de73-c0cd-4859-a6b3-41adabf6b743", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "633f48d9-a3b4-4f59-88b8-b1e1aef0e7fa", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-04-28T13:45:45.2963385-07:00", "Fields": [ { "FormTypeFieldId": "88f0e22a-94bc-4b72-86a1-e3dce1fbd1e3", "Section": { "FormTypeSectionId": "205928d7-7ec7-471f-8ccb-d7ac56782996", "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": "2644bf62-b260-4ace-9865-6614d8f8df63", "Name": "sample string 1" }, "Unit": { "UnitId": "9f6461e1-08b5-43a6-9ac6-55bd2cf1f221", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dc5a0631-f379-4c1f-a133-5224a9283c98", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.2963385-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": "88f0e22a-94bc-4b72-86a1-e3dce1fbd1e3", "Section": { "FormTypeSectionId": "205928d7-7ec7-471f-8ccb-d7ac56782996", "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": "2644bf62-b260-4ace-9865-6614d8f8df63", "Name": "sample string 1" }, "Unit": { "UnitId": "9f6461e1-08b5-43a6-9ac6-55bd2cf1f221", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dc5a0631-f379-4c1f-a133-5224a9283c98", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.2963385-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": "595e4e0f-6760-4edf-8f2b-9b85dd4d549c", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.2963385-07:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-04-28T13:45:45.2963385-07:00", "LastValueDate": "2024-04-28T13:45:45.2963385-07:00", "SourceSystemId": "sample string 1", "CompanyId": "47994443-2679-4316-b5a2-1b2a3ff4ced2", "CreateDate": "2024-04-28T13:45:45.2963385-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T13:45:45.2963385-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": "27ef41ef-05f7-4882-afcb-95c2c34afe4a", "Asset": { "AssetId": "b25f3dc2-4078-458b-9b3a-3ce9192ba9fd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6255f5f1-abb6-45df-8281-61181dbec2c0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "66ecbee4-8d8f-46f8-bd36-f147a934f847", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d25422b2-f1fc-49d6-ae72-2ce15bd6577f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T13:45:45.3119643-07:00", "MeasurementValueNeededDate": "2024-04-28T13:45:45.3119643-07:00", "SourceSystemId": "sample string 3", "CompanyId": "dc597f0c-8672-4613-ad6f-b0110038422a", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "6aea93a3-c8fb-4ec4-831b-f2e37632144e", "EffectiveDate": "2024-04-28T13:45:45.3119643-07:00", "StateType": { "StateTypeId": "b638529b-672a-480c-8a57-c6720cdf1c67", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "6255f5f1-abb6-45df-8281-61181dbec2c0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "66ecbee4-8d8f-46f8-bd36-f147a934f847", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "16813458-1691-44f2-9faa-2dd54b3c54ec", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f8825ee7-9ce3-49fb-a2e2-9449678ef91f", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e01dde5f-97ee-4c13-ba53-c707692e9b5d", "EffectiveDate": "2024-04-28T13:45:45.3119643-07:00", "StatusType": { "StatusTypeId": "42536122-b55b-4858-a0e1-5e7d947856e4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6255f5f1-abb6-45df-8281-61181dbec2c0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "66ecbee4-8d8f-46f8-bd36-f147a934f847", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7cd251cb-f003-413b-bf4e-72bcae59cfd5", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3c5063c3-39bb-41c5-97d6-167acf9a385e", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5ea2c006-580b-4ae9-9bfd-999faf6421c9", "EffectiveDate": "2024-04-28T13:45:45.3119643-07:00", "WellPurposeType": { "WellPurposeTypeId": "ecfd9cbf-3170-4bd7-a827-bf6097d12d73", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "10f4b9db-5e41-4000-a385-202fd044b1a2", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f36f171a-c270-4ad6-a1d0-c73505bb76f1", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T13:45:45.3119643-07:00", "MeasurementValueNeededDate": "2024-04-28T13:45:45.3119643-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "69b43914-ae47-4274-a2c1-e99b2e569011", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "c4d3a2e9-bd5e-4bbe-9c5f-02ca9e60c6aa", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "6255f5f1-abb6-45df-8281-61181dbec2c0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "66ecbee4-8d8f-46f8-bd36-f147a934f847", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-04-28T13:45:45.3119643-07:00", "Fields": [ { "FormTypeFieldId": "c83f6087-90e7-45d0-b16f-887679dc6e17", "Section": { "FormTypeSectionId": "2b7fee70-f96b-4082-9d58-9ac2594932ac", "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": "ed113658-be0e-4bdf-a84b-9bf2e3b90349", "Name": "sample string 1" }, "Unit": { "UnitId": "fad701cf-59e0-48f8-affd-4f1922098e9c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9a7b4a98-96c0-48d6-aadd-1dfa29997174", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.3119643-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": "c83f6087-90e7-45d0-b16f-887679dc6e17", "Section": { "FormTypeSectionId": "2b7fee70-f96b-4082-9d58-9ac2594932ac", "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": "ed113658-be0e-4bdf-a84b-9bf2e3b90349", "Name": "sample string 1" }, "Unit": { "UnitId": "fad701cf-59e0-48f8-affd-4f1922098e9c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9a7b4a98-96c0-48d6-aadd-1dfa29997174", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.3119643-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": "d5c63800-fcab-43ec-99cd-6e8af485e43b", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 6" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-04-28T13:45:45.3119643-07:00", "LastValueDate": "2024-04-28T13:45:45.3119643-07:00", "SourceSystemId": "sample string 1", "CompanyId": "a6ce4964-1d5a-49d7-a6b3-ef92f8c3c93c", "CreateDate": "2024-04-28T13:45:45.3119643-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T13:45:45.3119643-07:00", "LastModifiedUser": "sample string 4" }, "Total": 1, "Message": "sample string 1" }