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": "6b5709fa-d30e-4488-8c7e-db242e524d25", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9505742f-c558-4092-a56a-0fb808a6f0ee", "CreateDate": "2025-01-30T17:00:45.8413305-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:00:45.8413305-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": "36ccb28c-f13b-436f-8fc7-a2b6529b4e89", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3163a48f-c3c7-4339-9048-57741ee20cbf", "CreateDate": "2025-01-30T17:00:45.8413305-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:00:45.8413305-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }