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": "6fd78225-6f49-448e-b7c8-c4c0802ce612", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "10a13915-4c72-4c99-9c20-7815341a1e6e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "54229ca6-f95b-47dd-b5d5-fa7ee0a5c04f", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b6944339-08cf-4df2-bdb4-7e4a0576090f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T16:11:50.9655211-07:00", "MeasurementValueNeededDate": "2024-04-28T16:11:50.9655211-07:00", "SourceSystemId": "sample string 3", "CompanyId": "bc6a3529-65b8-49f4-936b-f18db3e0efee", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "49b7c80c-bfcb-4012-8ad3-c7bffafe2f5b", "EffectiveDate": "2024-04-28T16:11:50.9655211-07:00", "StateType": { "StateTypeId": "171e99e9-be6c-406a-bf9f-c3223bd45c2c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "10a13915-4c72-4c99-9c20-7815341a1e6e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "54229ca6-f95b-47dd-b5d5-fa7ee0a5c04f", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "925265c8-5fa4-414c-8f70-251e58647783", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "60e3183a-f8f9-4f2c-84a5-8c01cd4fd566", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "b4ba716c-047b-4e3b-a9e5-785b455e011f", "EffectiveDate": "2024-04-28T16:11:50.9655211-07:00", "StatusType": { "StatusTypeId": "f415b434-c8c8-4aae-b47a-f931928882f7", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "10a13915-4c72-4c99-9c20-7815341a1e6e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "54229ca6-f95b-47dd-b5d5-fa7ee0a5c04f", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "caaed009-ee1e-43dc-b17d-82f3fb0d3ea9", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7441d520-0e46-4cb3-ac93-c81a3b95fe8b", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "eba31272-4e63-4ef3-9382-789c902f24ba", "EffectiveDate": "2024-04-28T16:11:50.9655211-07:00", "WellPurposeType": { "WellPurposeTypeId": "18a7a35a-7ae5-40cc-8ed7-84d2a3561b8a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a876dc4a-dafd-4d06-8e06-a1f44d10edf9", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "318b8d70-50d9-4709-ac6a-90bab4f70761", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T16:11:50.9655211-07:00", "MeasurementValueNeededDate": "2024-04-28T16:11:50.9655211-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dbe7cd3e-1359-4e9b-9e9e-6c62ef3d5b37", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T16:11:50.9655211-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": "a9f8528a-0852-4239-a826-51e404e51511", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e319ef93-ad05-447e-ba3d-a4931c6c15fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8d55cb21-aa4b-4fb7-855a-8209404f174b", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "dcbf7384-a539-4688-932a-7e85d3333a1e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T16:11:50.9655211-07:00", "MeasurementValueNeededDate": "2024-04-28T16:11:50.9655211-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ca9490b2-941d-4fc5-bbda-baec89966384", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "beaac0ac-6033-4d77-9376-b84dfa4f7243", "EffectiveDate": "2024-04-28T16:11:50.9655211-07:00", "StateType": { "StateTypeId": "5a9a38bd-3270-43d2-ba93-197ad482df18", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e319ef93-ad05-447e-ba3d-a4931c6c15fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8d55cb21-aa4b-4fb7-855a-8209404f174b", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "cd278b9a-2814-406e-afe0-4b7b062d1ca6", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e1560a97-f26b-494b-9b1d-d78d870e0d76", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "0a640435-a3d0-49db-8804-26bdef729a0c", "EffectiveDate": "2024-04-28T16:11:50.9655211-07:00", "StatusType": { "StatusTypeId": "46992adb-e4fe-4d81-be3c-4c9b9df7b2d7", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e319ef93-ad05-447e-ba3d-a4931c6c15fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8d55cb21-aa4b-4fb7-855a-8209404f174b", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5031b3b4-c54f-4052-a8e4-be0e4824a88a", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "643ac2ea-21c5-4e33-b5bd-83437766a481", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "516404e7-feb1-4baf-a5b8-ba32bd86ea0d", "EffectiveDate": "2024-04-28T16:11:50.9655211-07:00", "WellPurposeType": { "WellPurposeTypeId": "ec6d643e-5069-4198-8ba9-7ebe5cf1cc2f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "442dd483-daee-48fd-921e-05ea4ad4f6a7", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b81b9552-e71a-49f3-a238-167e870bbed9", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T16:11:50.9655211-07:00", "MeasurementValueNeededDate": "2024-04-28T16:11:50.9655211-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "24d709e6-69d2-4578-a72f-0c9f298c6244", "CreateDate": "2024-04-28T16:11:50.9655211-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T16:11:50.9655211-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }