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": "a9256e8d-891a-46f0-835d-62a88873d4a6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5c6da1a4-945d-4082-8a4b-4a51ce84cf1b", "CreateDate": "2024-12-03T10:09:44.9531845-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-03T10:09:44.9531845-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": "620515ce-ed12-4179-8951-f4398993cc02", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "085f2ba7-e932-44c2-b2f3-4cf6b20664ac", "CreateDate": "2024-12-03T10:09:44.9531845-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-03T10:09:44.9531845-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }