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": "1a3c515c-0353-4435-b71e-872a12969f8c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "caf55218-d943-4f33-a36f-045dd455dd48", "CreateDate": "2024-12-21T06:58:55.358874-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:55.358874-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": "d059151f-725d-4008-89ad-f28d1c8da1d1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "101f059e-8295-427a-83de-f618b94d800b", "CreateDate": "2024-12-21T06:58:55.358874-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:55.358874-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }