GET Assets?assetId={assetId}&includeAllAncestors={includeAllAncestors}
Retrieves an asset by its Id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| assetId |
Id of the asset |
globally unique identifier |
Required |
| includeAllAncestors |
Indicates whether to include all ancestor assets and groups or just the immediate parents |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
On success, the asset.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Asset |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"AssetId": "17871576-a885-41dd-aded-f584af635ad6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "b2295a46-496f-41cb-9e49-91d165430f29",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43c3b822-3e82-4699-942f-c10f141726fc",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "36f899d3-07be-4155-b4f5-a436e193e30b",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-15T13:23:09.959305-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:23:09.959305-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "65918a29-412a-4efd-b101-e2b53b93b848",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d6f7f28c-0fa4-4d1f-9f31-dd14aaee665d",
"EffectiveDate": "2026-07-15T13:23:09.959305-07:00",
"StateType": {
"StateTypeId": "50f54071-9937-4e09-ac5e-ba6d3c0ec789",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "b2295a46-496f-41cb-9e49-91d165430f29",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43c3b822-3e82-4699-942f-c10f141726fc",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "01fa66f1-2a8b-4b30-8cd7-5323b73dc81c",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e29a0201-563f-46d2-bb40-4a8676bc1a6c",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "42598f4b-a8c9-41b0-b884-e1f44181becd",
"EffectiveDate": "2026-07-15T13:23:09.959305-07:00",
"StatusType": {
"StatusTypeId": "b4d5ebab-60a8-495f-885b-98ca21f86170",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "b2295a46-496f-41cb-9e49-91d165430f29",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "43c3b822-3e82-4699-942f-c10f141726fc",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b7908a6e-0961-435a-a2fa-8729091e7478",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "46323a93-7c8a-4d3f-b4ce-7330f8094aa6",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6bf00418-abb0-4018-827c-ea22a8ae7e1c",
"EffectiveDate": "2026-07-15T13:23:09.959305-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "ed59e1e2-6c0a-4a8b-851c-2242e351cce7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "34309684-eb81-4cc9-83ae-eb8cb5a9457d",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5a0e2761-8ab0-4e97-8d3d-884514815335",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-15T13:23:09.959305-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:23:09.959305-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f2f0e058-f034-4d0f-9973-95d0829653b6",
"CreateDate": "2026-07-15T13:23:09.959305-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:23:09.959305-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}