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. |
|
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": "ec4352c5-f0f2-4aed-85af-4b10836e6abe", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8b7f3bb8-c3d0-448f-9af9-a16a8fd2cf7f", "CreateDate": "2024-12-21T19:09:22.0151628-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:09:22.0151628-08:00", "LastModifiedUser": "sample string 7" }
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": "6536e664-72e9-425a-949e-71eaaaf24c73", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7c4e33e7-4d8c-470a-895d-e7c903ae92a7", "CreateDate": "2024-12-21T19:09:22.0151628-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:09:22.0151628-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }