PUT AssetTypes
Updates the given asset type.
Request Information
URI Parameters
None.
Body Parameters
Asset type to update
AssetTypeName | Description | Type | Additional information |
---|---|---|---|
AssetTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
IsWell | boolean |
None. |
|
DisplayColor | string |
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:
{ "AssetTypeId": "59f44ee9-7ac0-460b-b870-acc66bd2a5b1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5f69fea4-af4d-4c08-92ee-f6425e3d533f", "CreateDate": "2024-11-21T04:42:03.9980218-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:42:03.9980218-08:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
On success, the updated asset type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | AssetType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetTypeId": "8c1f21f6-8a19-4696-855a-4bad041f63a1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "352eebf7-3ca0-431c-bc20-af8d5d1f9e4d", "CreateDate": "2024-11-21T04:42:03.9980218-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:42:03.9980218-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }