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": "e6851486-b781-41e9-9500-6d52cd5d3138", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e1e10c74-7634-42a9-8919-4b4047b96465", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "043d3caa-c46f-4dea-a53e-2c3145c25358", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9b1fb1b4-9fe6-400e-8643-74e1abb06f15", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T01:42:20.3402748-07:00", "MeasurementValueNeededDate": "2025-06-27T01:42:20.3402748-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3b39c187-24e4-4438-baad-0e6655f1aaca", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "156f4cff-b6fe-4726-86c8-2d63eb86e018", "EffectiveDate": "2025-06-27T01:42:20.3402748-07:00", "StateType": { "StateTypeId": "26facf6c-db21-48fc-bb69-e8909539ffec", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e1e10c74-7634-42a9-8919-4b4047b96465", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "043d3caa-c46f-4dea-a53e-2c3145c25358", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "f3cd0d0f-1356-47dc-a4fb-cc5a1c69910a", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e0a88f1f-b990-4779-92df-5fe8d82c99ae", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "88093fb2-25c6-40c7-92e4-9c64b90bd84b", "EffectiveDate": "2025-06-27T01:42:20.3402748-07:00", "StatusType": { "StatusTypeId": "ac389ce2-c758-48de-82e4-e778d3410e8d", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e1e10c74-7634-42a9-8919-4b4047b96465", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "043d3caa-c46f-4dea-a53e-2c3145c25358", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3dd5472f-8be1-416b-a421-ba43ce5dc3a8", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "726e89d0-378c-4e79-bdb6-8b14a0c88125", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "212aeb3d-d507-4bd0-b32e-dc6b0eff0ba2", "EffectiveDate": "2025-06-27T01:42:20.3402748-07:00", "WellPurposeType": { "WellPurposeTypeId": "294be11a-6103-4f31-beb1-a909ad0485ee", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2c5ac1ab-7c8d-41cf-bffa-78ed97384961", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "15944f25-9bbe-4271-8e49-41f1210e2cb2", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T01:42:20.3402748-07:00", "MeasurementValueNeededDate": "2025-06-27T01:42:20.3402748-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "536648f9-1e5e-4892-8875-0c62310bf780", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T01:42:20.3402748-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": "9ef7971e-32c8-47af-9635-ace3896b557d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b9ca7825-8af6-480d-9b9c-25aef79d257c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cb1fbe3b-dc5d-48ba-baa3-289239d7ca07", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "3ffdcd2c-8722-41d6-9e34-a49bfdf71805", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T01:42:20.3402748-07:00", "MeasurementValueNeededDate": "2025-06-27T01:42:20.3402748-07:00", "SourceSystemId": "sample string 3", "CompanyId": "aa516f4d-5ca6-4c8b-a3a6-64080561026f", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "60de4b86-901e-4922-a756-3e56c39e7914", "EffectiveDate": "2025-06-27T01:42:20.3402748-07:00", "StateType": { "StateTypeId": "a16ed509-5b0e-4d94-ae15-a283e25326f1", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "b9ca7825-8af6-480d-9b9c-25aef79d257c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cb1fbe3b-dc5d-48ba-baa3-289239d7ca07", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "42f6e526-5434-44cf-bde8-c6b8e090ccfe", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "505cea66-9408-4442-a170-6dd910846c43", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "b2037a15-48b6-471f-9290-4e2449eff426", "EffectiveDate": "2025-06-27T01:42:20.3402748-07:00", "StatusType": { "StatusTypeId": "9380fe36-2100-453d-8508-62d9e549afb2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "b9ca7825-8af6-480d-9b9c-25aef79d257c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cb1fbe3b-dc5d-48ba-baa3-289239d7ca07", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "3bb13f74-c3cf-4ee5-8746-6703aa4e9b45", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f3e96983-9c75-421d-ba89-0b3709b019cb", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "88529a6c-4e78-4e46-a982-77c7d5a259e6", "EffectiveDate": "2025-06-27T01:42:20.3402748-07:00", "WellPurposeType": { "WellPurposeTypeId": "405e069f-15ad-41a8-89a4-e48121845b93", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ca04917a-56b5-43cd-8b4c-60788e6ecbdf", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3a80113f-2ad9-47dd-a2a1-a466111cc2e2", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T01:42:20.3402748-07:00", "MeasurementValueNeededDate": "2025-06-27T01:42:20.3402748-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1d458599-ae5d-4b93-984f-61bdcfe587ec", "CreateDate": "2025-06-27T01:42:20.3402748-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T01:42:20.3402748-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }