POST AssetTypes
Creates a new asset type.
Request Information
URI Parameters
None.
Body Parameters
The asset type to create. AssetTypeId should not be filled in.
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": "c1ca2835-97a1-44c5-a23f-4c6e60dca303", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8464e929-1fe3-46d4-b32b-f9e731e56d3e", "CreateDate": "2024-11-21T05:18:09.0620061-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:18:09.0620061-08:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
On success, the created 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": "83ab8440-b4ed-4886-88b8-931eb4ee2c8b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f4eba79f-e39c-4aed-ba8b-c698a5fd07b6", "CreateDate": "2024-11-21T05:18:09.0620061-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:18:09.0620061-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }