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": "202dd16e-871d-43d1-8d16-9781c5bedb7b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "40f1f5ce-b8af-47ba-927a-8fcd2c8c8561", "CreateDate": "2024-10-10T15:21:03.8792278-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:03.8792278-07: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": "f7e35c07-65d6-4221-acb1-e18a1c9a4db6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8bdee52c-3e68-4fdc-9b0f-0f582aad5edf", "CreateDate": "2024-10-10T15:21:03.8792278-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:03.8792278-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }