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": "db2dc5ff-440c-43a4-8824-239c4f9fc493", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8b960bfb-877d-4c25-815c-7684f9551410", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f1189d59-23d4-4e23-9f56-112bff291dd1", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "877248bf-ea9c-4992-91eb-fae545d9f666", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T06:58:56.8119992-08:00", "MeasurementValueNeededDate": "2024-12-21T06:58:56.8119992-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a9048668-4430-41f7-801a-cc282fe23b8f", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "cf453094-bf03-45e5-8971-dcea9d3f8cd3", "EffectiveDate": "2024-12-21T06:58:56.8119992-08:00", "StateType": { "StateTypeId": "fc1252bf-f5fc-4eda-9ee7-7aba5c2f808c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "8b960bfb-877d-4c25-815c-7684f9551410", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f1189d59-23d4-4e23-9f56-112bff291dd1", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "823e5833-496d-4e1d-aa7e-1b764ced41b9", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "db09f918-ae1f-4b84-a410-120bb4334d1c", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2eae96b9-8d1c-47bf-835f-f256355bc7c3", "EffectiveDate": "2024-12-21T06:58:56.8119992-08:00", "StatusType": { "StatusTypeId": "d58a9314-fd67-49a9-993a-1b279f027826", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "8b960bfb-877d-4c25-815c-7684f9551410", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f1189d59-23d4-4e23-9f56-112bff291dd1", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ef1a2b8d-8549-4c7e-9f75-45f8aa73cd31", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "0e9fc3ef-c970-4877-9832-bbc6f4459033", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b7cacb86-a905-4a53-8071-b0d155d6435e", "EffectiveDate": "2024-12-21T06:58:56.8119992-08:00", "WellPurposeType": { "WellPurposeTypeId": "9ee422c6-572f-446d-b5e4-ccbec941c454", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a4a2059a-c343-4295-9c66-6d5824d506c4", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b5e70e9e-bf1f-40be-9d7c-604108bd8003", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T06:58:56.8119992-08:00", "MeasurementValueNeededDate": "2024-12-21T06:58:56.8119992-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f1adfc59-d420-412a-93c1-c851034bb955", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:56.8119992-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": "c0442848-30a5-4c60-b703-8df859208cb9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a5e2cbcb-ceb9-49ed-8b8e-0c7b0639b235", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7e4cbbe6-909b-4fb6-bdcb-ce9657f4897e", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "af860dcb-d8df-4f5d-a76c-e27475606002", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T06:58:56.8119992-08:00", "MeasurementValueNeededDate": "2024-12-21T06:58:56.8119992-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b6ee9f3a-d82b-4cc6-b6a5-bf40bc950f19", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "e04a312c-07f1-48d3-973b-eaddd0134ad8", "EffectiveDate": "2024-12-21T06:58:56.8119992-08:00", "StateType": { "StateTypeId": "fa194d51-e0ae-435f-a63b-bf4f5292cb73", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a5e2cbcb-ceb9-49ed-8b8e-0c7b0639b235", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7e4cbbe6-909b-4fb6-bdcb-ce9657f4897e", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "c583095c-314d-4201-9b43-13bc98999649", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "5803cec6-6933-4608-9718-2bf9c12fa3fd", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "b756dfdf-8e1a-40eb-95ef-5bd4c330780e", "EffectiveDate": "2024-12-21T06:58:56.8119992-08:00", "StatusType": { "StatusTypeId": "33a7a763-8120-44cb-96a7-98bb5c0f5dc5", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a5e2cbcb-ceb9-49ed-8b8e-0c7b0639b235", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7e4cbbe6-909b-4fb6-bdcb-ce9657f4897e", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "35bc0680-9f65-4ba9-92b7-ce69e5975013", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6362e51f-6f71-4843-90e6-1ae124e083bd", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "de4b0314-c3de-4229-9a85-e76e9858c98b", "EffectiveDate": "2024-12-21T06:58:56.8119992-08:00", "WellPurposeType": { "WellPurposeTypeId": "b189a88d-6a68-4d5b-b023-ecc86bcd1483", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ae660654-c608-428a-b1c9-3cb75860b2fe", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1ec0b915-ef41-45ce-a4e5-48245ecee9a2", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T06:58:56.8119992-08:00", "MeasurementValueNeededDate": "2024-12-21T06:58:56.8119992-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a7182b0c-19dc-44c4-af49-e893c34062fd", "CreateDate": "2024-12-21T06:58:56.8119992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:56.8119992-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }