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": "5c78d734-b46d-4ad2-9b05-fabc4cad44fd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "326da822-6269-4cfc-a181-5e8ee4190611", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2ec0b63d-c455-4a45-bc43-93095eb37757", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "ba10e41b-f154-4eb8-b926-d814b7e06085", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:15:14.0784601-07:00", "MeasurementValueNeededDate": "2025-08-29T17:15:14.0784601-07:00", "SourceSystemId": "sample string 3", "CompanyId": "16a0c81f-899a-487e-9cb5-6d2b42f6f955", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "7ab1759b-f94a-4c78-9718-f25ce11fca7a", "EffectiveDate": "2025-08-29T17:15:14.0784601-07:00", "StateType": { "StateTypeId": "77b2b2ce-56cc-4550-bed2-31e141a66973", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "326da822-6269-4cfc-a181-5e8ee4190611", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2ec0b63d-c455-4a45-bc43-93095eb37757", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "532e78cb-b721-485a-8460-213c23caf35b", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f0186d43-31fe-4594-a4d2-bafcc3e21126", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "1ea4feca-7082-4d73-b15a-55b14ca1cfef", "EffectiveDate": "2025-08-29T17:15:14.0784601-07:00", "StatusType": { "StatusTypeId": "a98d831d-9d68-4b6c-824e-3e7d003e9881", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "326da822-6269-4cfc-a181-5e8ee4190611", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2ec0b63d-c455-4a45-bc43-93095eb37757", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ed52e011-76b6-4a9e-bb7c-ce2b0f7df524", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1f321b68-ea49-47f6-b435-1b2bfd354943", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5d088c2e-0205-4171-923f-0a570cc4751e", "EffectiveDate": "2025-08-29T17:15:14.0784601-07:00", "WellPurposeType": { "WellPurposeTypeId": "b0e2909a-81f3-4416-92aa-b1384622c6c7", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1eaf2866-d4dc-44d7-9e64-7ca8e3af625d", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b3470c3f-98de-46fa-ab20-9d7a67f93cf8", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:15:14.0784601-07:00", "MeasurementValueNeededDate": "2025-08-29T17:15:14.0784601-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c876b3d6-c3c8-4852-b100-b3cee94cd63c", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:14.0784601-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": "a8341856-f194-4988-bd68-0e99fe49697a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "52846341-36c1-4301-bdb0-a2e2f0148620", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a0e93067-8424-4fec-aa59-014f47cad4af", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4c1942b4-da4a-4742-8827-c0bd19049dc4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:15:14.0784601-07:00", "MeasurementValueNeededDate": "2025-08-29T17:15:14.0784601-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fa7d2439-c4e1-443c-bd7f-44cf91a42883", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "97f777d1-4d83-4652-9975-b0902421206f", "EffectiveDate": "2025-08-29T17:15:14.0784601-07:00", "StateType": { "StateTypeId": "ee0d5199-1167-4d04-a5e2-d6c88103ae5f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "52846341-36c1-4301-bdb0-a2e2f0148620", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a0e93067-8424-4fec-aa59-014f47cad4af", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d1fdac45-d17d-4146-98dd-8ea21b1e3f4e", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "74bbf5d3-c1e7-4e25-8765-2a8d1f0fdad9", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "5a8d3ac2-48c8-42e2-88f9-fbe0abd9da35", "EffectiveDate": "2025-08-29T17:15:14.0784601-07:00", "StatusType": { "StatusTypeId": "8ef8a8c7-25a3-49c8-b134-3cc6f30bf688", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "52846341-36c1-4301-bdb0-a2e2f0148620", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a0e93067-8424-4fec-aa59-014f47cad4af", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "24102098-172e-4def-8c9d-c329673bb9d6", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "8ffbf94b-7e12-473b-9765-6ea22d844986", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "505b3112-6465-4acb-821f-a6ebf7fd6845", "EffectiveDate": "2025-08-29T17:15:14.0784601-07:00", "WellPurposeType": { "WellPurposeTypeId": "086a8489-124b-4f1a-ade5-6ac6af49957d", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "55737bd4-610f-478a-adb2-0ddb023d9c66", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "36c74d50-2c12-4b4c-8d0b-b6cae79c6ca1", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:15:14.0784601-07:00", "MeasurementValueNeededDate": "2025-08-29T17:15:14.0784601-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "af855e1c-facb-4e70-a051-9f9ae62892c9", "CreateDate": "2025-08-29T17:15:14.0784601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:14.0784601-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }