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": "187b4988-0008-407c-a36c-5deaf0e0dce8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3c067199-167c-4069-be8e-15eac8285221", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e5fcdf70-8dc6-4a58-89d8-98090c94be5e", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "236c4d82-c1a9-42cf-8673-a95befd47a6d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:26:57.9893293-07:00", "MeasurementValueNeededDate": "2025-10-13T15:26:57.9893293-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f1eeb509-0e7f-4e95-bf25-64fe4a2e53f3", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "ecbf5b88-1a4f-4766-8b57-4801652ae092", "EffectiveDate": "2025-10-13T15:26:57.9893293-07:00", "StateType": { "StateTypeId": "296413e6-5b8f-4cbd-add0-4442f6e6acfb", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "3c067199-167c-4069-be8e-15eac8285221", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e5fcdf70-8dc6-4a58-89d8-98090c94be5e", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "ffffa792-45cc-44ec-ba0b-fbc08e4068cc", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "af00500f-2b26-46c3-82b6-9a535272ecef", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "eb7e9e2b-119a-4ef3-ae5e-55ed3a3181ab", "EffectiveDate": "2025-10-13T15:26:57.9893293-07:00", "StatusType": { "StatusTypeId": "ec0a63f0-3058-451e-a64d-3ed834091dae", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "3c067199-167c-4069-be8e-15eac8285221", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e5fcdf70-8dc6-4a58-89d8-98090c94be5e", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "24ec5a1b-8779-4e94-a5e5-3e5251ade2ad", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "738e2f0a-af15-40ef-bb50-61d105798c0c", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "bf6170bb-7dde-4fad-9511-98127f86e58c", "EffectiveDate": "2025-10-13T15:26:57.9893293-07:00", "WellPurposeType": { "WellPurposeTypeId": "5518e6d3-4c4b-40d6-b3bb-f125abedbea7", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7064341b-371d-4a4d-b56b-037733fef83a", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "aae9ee8e-a586-4ee6-9112-27860d3647be", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:26:57.9893293-07:00", "MeasurementValueNeededDate": "2025-10-13T15:26:57.9893293-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7edfc4c9-c111-43c7-bd5d-8d2bb4c51255", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:57.9893293-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": "bf9425ea-ea0d-45ac-9881-aa106b8103c0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7e8d51f6-2be4-44cb-8e0b-656b8a8d62d7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e45793c6-628f-4c0f-8131-b5907bd739b1", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "fd373083-6640-4c48-8b40-f99babac5466", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:26:57.9893293-07:00", "MeasurementValueNeededDate": "2025-10-13T15:26:57.9893293-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6a4ac0af-939f-4777-9e1c-b6b21715578c", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "414a7bcc-9b86-4d23-8f0c-3a8b8c5a94b1", "EffectiveDate": "2025-10-13T15:26:57.9893293-07:00", "StateType": { "StateTypeId": "84789015-fc2b-40c0-9526-e4d9e07c84a9", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7e8d51f6-2be4-44cb-8e0b-656b8a8d62d7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e45793c6-628f-4c0f-8131-b5907bd739b1", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "445fe7cc-6f6d-47e8-8be2-9f07ebde9692", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "fdb847ff-40f6-4a24-80d3-2d24b8292bfe", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7f99150b-0057-4483-ba2a-1d4b3421f923", "EffectiveDate": "2025-10-13T15:26:57.9893293-07:00", "StatusType": { "StatusTypeId": "0dc8c93f-de6f-465b-b7be-47fe338aa02f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7e8d51f6-2be4-44cb-8e0b-656b8a8d62d7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e45793c6-628f-4c0f-8131-b5907bd739b1", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b2e9f282-10bc-4ba5-ade6-4a7908d10db3", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4edc9ef2-9a92-441f-90a4-c41cc040fb33", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "529ccf7b-6d4a-4997-86f2-3b07916c0374", "EffectiveDate": "2025-10-13T15:26:57.9893293-07:00", "WellPurposeType": { "WellPurposeTypeId": "0976f3f8-4731-4141-8924-11f7ad34f540", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2ec2ab10-af65-4a14-b5ec-5f7628815444", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ad3e9728-c1f0-4abe-a45c-8c40e631cca4", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:26:57.9893293-07:00", "MeasurementValueNeededDate": "2025-10-13T15:26:57.9893293-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "bde9b1b0-21a1-4df9-bf88-cb0e56764458", "CreateDate": "2025-10-13T15:26:57.9893293-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:26:57.9893293-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }