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": "90034de0-21b2-49a1-ba64-46c34128e00c", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d138a970-c563-4f13-acd9-b432c9fea580", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "076b82b3-3fa2-4c58-864d-3935661b0993", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "cbffdc22-a61c-43be-97df-ce15fdd92f1e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:23:26.9652555-08:00", "MeasurementValueNeededDate": "2024-11-21T05:23:26.9652555-08:00", "SourceSystemId": "sample string 3", "CompanyId": "7000331e-5175-4789-a639-0ac54d113af2", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "f3fc76c7-bc6a-4918-a538-cf0c50360a20", "EffectiveDate": "2024-11-21T05:23:26.9652555-08:00", "StateType": { "StateTypeId": "abc61f72-f4cb-4c6f-b627-a111cb46dd92", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "d138a970-c563-4f13-acd9-b432c9fea580", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "076b82b3-3fa2-4c58-864d-3935661b0993", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a5910e4f-fc14-424f-b2e4-41ff90f416f0", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "c590deac-15dd-4eee-a25a-8be7bb090160", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e626db0a-df98-42d0-818b-1e15b14b299c", "EffectiveDate": "2024-11-21T05:23:26.9652555-08:00", "StatusType": { "StatusTypeId": "722187d3-0941-4955-9d1b-a88122b58651", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "d138a970-c563-4f13-acd9-b432c9fea580", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "076b82b3-3fa2-4c58-864d-3935661b0993", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2b2a259c-f278-4343-adf4-925e17932e21", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1edecbf4-0d10-4432-9422-a6aebd451846", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "f10a10c7-25a7-4044-a132-e7744f90fa4c", "EffectiveDate": "2024-11-21T05:23:26.9652555-08:00", "WellPurposeType": { "WellPurposeTypeId": "ac311808-af27-467d-a85d-ecad7f489db9", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "077dedbb-1bda-4a91-b6dc-57b628cd1126", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9f6c6b86-a9a7-424e-b727-a84ba35fca49", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:23:26.9652555-08:00", "MeasurementValueNeededDate": "2024-11-21T05:23:26.9652555-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d641a6d8-299f-41cb-8eea-ec88b7ef5c7a", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:23:26.9652555-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": "dbbb9ef8-026c-47c6-ac27-06495df67750", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ee5ba529-e9b0-41d2-862a-5ad6450e5e09", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "aecd37ce-3345-4f16-b4ea-17e2f3c32446", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0e901642-b28d-448e-a8be-620946cdb002", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:23:26.9652555-08:00", "MeasurementValueNeededDate": "2024-11-21T05:23:26.9652555-08:00", "SourceSystemId": "sample string 3", "CompanyId": "153e3529-9bec-4b1b-a43f-4d04d44aa5f5", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bacbb613-7c93-4271-be1b-786472d5ca8b", "EffectiveDate": "2024-11-21T05:23:26.9652555-08:00", "StateType": { "StateTypeId": "0adb7cee-f6a4-4b91-b26f-2d3dd11a71e2", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ee5ba529-e9b0-41d2-862a-5ad6450e5e09", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "aecd37ce-3345-4f16-b4ea-17e2f3c32446", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "8ec20ebb-aa49-43fa-b388-0f6ccfa2c6e3", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0b626923-abc3-4b04-8bc1-3477701c73ac", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "65a9b6c9-f173-477c-8658-9799ee8f6d89", "EffectiveDate": "2024-11-21T05:23:26.9652555-08:00", "StatusType": { "StatusTypeId": "7a0df93e-0a48-4860-8f79-4fc17239748f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ee5ba529-e9b0-41d2-862a-5ad6450e5e09", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "aecd37ce-3345-4f16-b4ea-17e2f3c32446", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a35f2afe-d54a-4c05-8d7f-36f48f6c484f", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "de00c3dd-9435-42d8-ac67-ae6e183bf0d8", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "1f65a074-a065-468e-ac06-a6539a1d074e", "EffectiveDate": "2024-11-21T05:23:26.9652555-08:00", "WellPurposeType": { "WellPurposeTypeId": "493b0288-c127-4492-bfff-510bffdf3229", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3ba5e3fb-1293-4f1f-a057-c5606555bcb8", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "88889111-9e12-4519-b71c-c22176bcfdb5", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:23:26.9652555-08:00", "MeasurementValueNeededDate": "2024-11-21T05:23:26.9652555-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0e5e62ea-c79a-4098-8b2b-b1ec1702a1dc", "CreateDate": "2024-11-21T05:23:26.9652555-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:23:26.9652555-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }