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": "a88c919a-76cb-46d9-9710-ba998e6968a4", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "21095c5e-a6b1-488d-95aa-a94099e5467a", "CreateDate": "2024-12-08T08:11:25.6642473-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:11:25.6642473-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": "3ddd7abb-e470-4315-9ce5-5a6d74f7e053", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d2768c23-d5ab-41db-87a6-27588a355757", "CreateDate": "2024-12-08T08:11:25.6642473-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T08:11:25.6642473-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }