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": "b76b60bd-37d4-4864-bffa-00725d2be9e3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "24e64881-4f0b-4fcb-a45a-70aadb15c93c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cc36c05c-38ae-400e-87cd-8a3d823a152f", "CreateDate": "2025-04-03T15:25:07.4048302-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:25:07.4048302-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "380ec900-88af-4e5a-b3b2-61bac74b7be3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:25:07.4048302-07:00", "MeasurementValueNeededDate": "2025-04-03T15:25:07.4048302-07:00", "SourceSystemId": "sample string 3", "CompanyId": "eda7ad77-0f2d-4138-97c0-8c5b4521bbc4", "CreateDate": "2025-04-03T15:25:07.4048302-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:25:07.4048302-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-03T15:25:07.4048302-07:00", "MeasurementValueNeededDate": "2025-04-03T15:25:07.4048302-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "932fdd0d-9013-4bb6-9916-4f1eb5519cd6", "CreateDate": "2025-04-03T15:25:07.4048302-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:25:07.4048302-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": "c394ea60-98a1-4f2c-a997-25908efa6863", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "10261562-aac9-4fae-bab6-6e5a59497a56", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a92e4e58-3a63-4df6-9f91-14e43c3058f9", "CreateDate": "2025-04-03T15:25:07.4048302-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:25:07.4048302-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "51cd4121-8b64-4920-9cb5-a8950bdb8003", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:25:07.4048302-07:00", "MeasurementValueNeededDate": "2025-04-03T15:25:07.4048302-07:00", "SourceSystemId": "sample string 3", "CompanyId": "7aeb56e7-4d00-4a37-9385-618766148d5c", "CreateDate": "2025-04-03T15:25:07.4048302-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:25:07.4048302-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-03T15:25:07.4048302-07:00", "MeasurementValueNeededDate": "2025-04-03T15:25:07.4048302-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e383f319-5f8f-4c76-a730-e90ecdf2943b", "CreateDate": "2025-04-03T15:25:07.4048302-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:25:07.4048302-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }