POST Assets
Creates a new asset.
Request Information
URI Parameters
None.
Body Parameters
The asset to create. AssetId should not be filled in.
AssetName | Description | Type | Additional information |
---|---|---|---|
AssetId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
DisplayOrder | integer |
None. |
|
AssetType | AssetType |
None. |
|
AssetGroup | AssetGroup |
None. |
|
ParentAsset | Asset |
None. |
|
Location | string |
None. |
|
Barcode | Barcode |
None. |
|
FormValueNeededDate | date |
None. |
|
MeasurementValueNeededDate | date |
None. |
|
HasChildren | boolean |
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:
{ "AssetId": "88d69800-2d60-469c-92fd-58bee7c158b6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "21e89eda-9d1a-4e60-b4f0-7aca0c0c7663", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "20e478b8-8dbe-42da-9fc8-6a1b12c1e32f", "CreateDate": "2025-08-30T12:56:03.6856677-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.6856677-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "01f5ada6-39d3-443b-b65f-30ce89629c10", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:56:03.6856677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.6856677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5d7e9d84-7750-42d2-8ca1-6b428c9a8b0b", "CreateDate": "2025-08-30T12:56:03.6856677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.6856677-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:56:03.6856677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.6856677-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7e11b1bc-a018-4c08-8648-4bdbd63c24ba", "CreateDate": "2025-08-30T12:56:03.6856677-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.6856677-07:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
On success, the created asset.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Asset |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetId": "36841fe6-1eb1-43ac-a229-3a2850547105", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "03ef57c1-6cfe-4091-b63f-dc1479378805", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "34ced1d5-8383-4f44-8453-0306e2377b36", "CreateDate": "2025-08-30T12:56:03.6856677-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.6856677-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "bb280ed4-41ba-4a51-b057-27b829fc5ee8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:56:03.6856677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.6856677-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ee16b805-f918-49c9-8291-11d3857cbe94", "CreateDate": "2025-08-30T12:56:03.6856677-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.6856677-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:56:03.6856677-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.6856677-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ab13c5e1-b171-4866-bdc8-9e8d68f77839", "CreateDate": "2025-08-30T12:56:03.6856677-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.6856677-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }