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": "0ddf24e5-36b9-4014-9cbd-07c2a52a7d0f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "72f13cb9-b316-4b4d-9ba2-6af6f1d6e449", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2c0c88ec-8ace-4765-9116-27cad0678df9", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "a794767b-272e-4437-85cf-21383f113779", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:13:41.0146417-07:00", "MeasurementValueNeededDate": "2025-04-17T04:13:41.0146417-07:00", "SourceSystemId": "sample string 3", "CompanyId": "d43de5b3-c182-4441-a88d-a5ae8fcd600f", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "9ccfb978-cfab-4cf2-9438-7894c52635a8", "EffectiveDate": "2025-04-17T04:13:41.0146417-07:00", "StateType": { "StateTypeId": "e1456f90-6604-4632-a47d-9a6502a6a95a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "72f13cb9-b316-4b4d-9ba2-6af6f1d6e449", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2c0c88ec-8ace-4765-9116-27cad0678df9", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "be9631a5-06f0-45c0-842a-cb2bb0b5640f", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "3bb1af42-2d3e-41b6-b101-b7b8f31fabbd", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "0a7c7efe-3654-429c-aed7-ccd6b185190c", "EffectiveDate": "2025-04-17T04:13:41.0146417-07:00", "StatusType": { "StatusTypeId": "96476771-8550-484f-96e9-52cb6c72971b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "72f13cb9-b316-4b4d-9ba2-6af6f1d6e449", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2c0c88ec-8ace-4765-9116-27cad0678df9", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "9bd1f4da-d7c9-4deb-aea1-4f4da1a271b9", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ab1c289a-3296-476c-a9fe-13cb657e79ce", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "57417bdb-9c01-4d8b-a9bb-93ba58fd3f67", "EffectiveDate": "2025-04-17T04:13:41.0146417-07:00", "WellPurposeType": { "WellPurposeTypeId": "83171f5a-7ce7-4ad6-8049-413c3cc1ab83", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "aa6ede25-ebe7-404a-9321-71a1bb0a4cab", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "92f6bfb9-9488-410a-88fc-7b9f269e27ee", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:13:41.0146417-07:00", "MeasurementValueNeededDate": "2025-04-17T04:13:41.0146417-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "4f361ba6-b518-49e7-b625-525bf4003c1a", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:13:41.0146417-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": "dadad3ac-7520-4a5b-bc2f-8635ca991be4", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "c3df0442-1cee-4cd4-987c-8fcc08958ca4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e757b88f-f870-4a48-abec-a99568b13c3d", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "1ddc7914-723e-4125-9fc9-2d36fcb2b078", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-17T04:13:41.0146417-07:00", "MeasurementValueNeededDate": "2025-04-17T04:13:41.0146417-07:00", "SourceSystemId": "sample string 3", "CompanyId": "9944ae30-615e-40f1-b6f9-7b4b464fbb0c", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "9ef5efb1-9924-4568-b530-4cb8d1fd062b", "EffectiveDate": "2025-04-17T04:13:41.0146417-07:00", "StateType": { "StateTypeId": "662ab2a4-4063-451b-a0a9-d080228db283", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "c3df0442-1cee-4cd4-987c-8fcc08958ca4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e757b88f-f870-4a48-abec-a99568b13c3d", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "1186b58e-da10-4d7a-a2ca-1d48f8a7fbe4", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "14a413da-6d59-44c3-9768-317186a7c41f", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "131ac044-c4b3-4c8d-ac0a-479d4e1b934d", "EffectiveDate": "2025-04-17T04:13:41.0146417-07:00", "StatusType": { "StatusTypeId": "23b91c02-1fd5-49eb-a5e3-2ec87c2d02d2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "c3df0442-1cee-4cd4-987c-8fcc08958ca4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e757b88f-f870-4a48-abec-a99568b13c3d", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "87bf72d4-1eb1-4e37-8921-95535957d5ee", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "82b67747-87c9-4b76-a9d3-5780c678d1d8", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b28e316a-fc07-4000-b45f-00bedf208b45", "EffectiveDate": "2025-04-17T04:13:41.0146417-07:00", "WellPurposeType": { "WellPurposeTypeId": "5b036d38-fc6c-4f61-8965-6f32faaf0b6f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0cf4b4ad-a5fe-4d7b-8cef-284143cf2839", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5edcedc3-9131-4f6d-9b77-68554d9ebbea", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-04-17T04:13:41.0146417-07:00", "MeasurementValueNeededDate": "2025-04-17T04:13:41.0146417-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a21b9696-f1ee-49f4-9249-7020097190d8", "CreateDate": "2025-04-17T04:13:41.0146417-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:13:41.0146417-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }