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": "d01b6dd9-1a7e-4805-8239-960fc2b90f24", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1e10afbd-aae3-4664-8d69-8ad28ea5cae2", "CreateDate": "2024-12-21T07:02:52.1068145-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:02:52.1068145-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": "6d900f6f-d92b-4acd-8f81-db72f9498867", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "dc88ef90-8034-4981-a18d-9ff5e80ea815", "CreateDate": "2024-12-21T07:02:52.1068145-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T07:02:52.1068145-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }