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": "b2ecb65f-0d18-4fe3-a108-22a180dde0af", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1c3b622d-295d-4337-8fb8-3ef9e0fa3b9d", "CreateDate": "2025-01-30T16:50:41.4846841-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:50:41.4846841-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": "07115ad6-f9a8-4b2a-adc6-d0996b17b741", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ede12f3f-beff-4ee8-be4c-ab2ff263e979", "CreateDate": "2025-01-30T16:50:41.4846841-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:50:41.4846841-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }