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. |
|
State | State |
None. |
|
Status | Status |
None. |
|
WellPurpose | WellPurpose |
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": "9afb438f-4080-45c9-87ef-c66aeffe6b3c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1dd7820e-abf6-4ff6-835a-f0f50633fbb0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "48ee153a-60b7-4f83-bd25-efeabd0ed71b", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0528582d-b6b3-49e0-9a7d-929935ec2711", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:03:03.8305055-08:00", "MeasurementValueNeededDate": "2025-01-30T17:03:03.8305055-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3ce89402-6c4d-427f-afde-3c05d96d8d27", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "29f8fcb2-4c3a-4dcb-a0f4-3ee144ff6ff6", "EffectiveDate": "2025-01-30T17:03:03.8305055-08:00", "StateType": { "StateTypeId": "901e74d7-8739-4abe-ba9a-5baaf581da41", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1dd7820e-abf6-4ff6-835a-f0f50633fbb0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "48ee153a-60b7-4f83-bd25-efeabd0ed71b", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "327d4bf5-5ea3-49ff-bd04-757ae843679f", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "6abb966f-726b-4131-a3dc-f104ab58a726", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a12ae740-8a59-4414-af03-967f1e8b6a7f", "EffectiveDate": "2025-01-30T17:03:03.8305055-08:00", "StatusType": { "StatusTypeId": "65830512-4d75-4cc7-855d-b36325bc1b6c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1dd7820e-abf6-4ff6-835a-f0f50633fbb0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "48ee153a-60b7-4f83-bd25-efeabd0ed71b", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7206efab-8bf5-4743-a6f5-29ccd7a6ad0a", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "56c7aa78-5df0-450f-9562-2fcc1791ef7e", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2c7f5c7b-4d0d-46ff-868b-a608c777b676", "EffectiveDate": "2025-01-30T17:03:03.8305055-08:00", "WellPurposeType": { "WellPurposeTypeId": "31f446e9-5fa3-4163-bf13-f15b1b9b3853", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b62cdace-c6a9-4bf5-abef-7ae6ebe5f091", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7c2d4a97-6e74-4371-a912-e02e317bf880", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T17:03:03.8305055-08:00", "MeasurementValueNeededDate": "2025-01-30T17:03:03.8305055-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4ae871b8-5a8c-45c4-a2ba-24af81ea1b03", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08: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": "f3acbfd4-40f2-483d-9102-d2e3cc76c502", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "28f0d09d-9e0e-45b4-af4b-06e944d081df", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "392218e9-36fa-4de6-8cbb-b7fbfe99a2cc", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "384cb334-12f8-4075-9c24-7e11adc0a8b2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:03:03.8305055-08:00", "MeasurementValueNeededDate": "2025-01-30T17:03:03.8305055-08:00", "SourceSystemId": "sample string 3", "CompanyId": "28d85f2f-9903-4480-859b-84525d9f4fad", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "d7003cea-2024-48c9-9946-b7d7a3208203", "EffectiveDate": "2025-01-30T17:03:03.8305055-08:00", "StateType": { "StateTypeId": "d016e961-256b-48aa-b934-f04c4ab7ab90", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "28f0d09d-9e0e-45b4-af4b-06e944d081df", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "392218e9-36fa-4de6-8cbb-b7fbfe99a2cc", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "fd758be6-9bb4-4f3e-8434-70e45ef1ce38", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "9460d040-4866-4a97-8d07-105ad8bf7739", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "689aebd9-2c0a-4dba-b948-d61d7e4eec78", "EffectiveDate": "2025-01-30T17:03:03.8305055-08:00", "StatusType": { "StatusTypeId": "7e6c2454-bfb1-4600-8e29-157c80bf3637", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "28f0d09d-9e0e-45b4-af4b-06e944d081df", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "392218e9-36fa-4de6-8cbb-b7fbfe99a2cc", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "cd89efa7-a95b-418b-b261-9251babc10f8", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "fd2fca77-a961-4a66-b589-399dd7c5cf5d", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "d5c01182-b851-42cd-9b83-63473fbf3382", "EffectiveDate": "2025-01-30T17:03:03.8305055-08:00", "WellPurposeType": { "WellPurposeTypeId": "965b69d3-a3da-4cdd-ad44-16367e49f13f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fb37e669-0ae6-40af-9de0-b6cfef7a0b3e", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f0cc4009-04b5-4129-b20f-8a7d93c4c92a", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T17:03:03.8305055-08:00", "MeasurementValueNeededDate": "2025-01-30T17:03:03.8305055-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b0e74a29-8d11-4bf9-a35b-850f75621c0c", "CreateDate": "2025-01-30T17:03:03.8305055-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:03:03.8305055-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }