GET Attachments?attachmentId={attachmentId}
Retrieves an attachment by its Id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| attachmentId |
Id of the attachment |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Attachment |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"AttachmentId": "770b169e-6c20-46b4-8b61-502f2352f146",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e94444ff-9c33-4005-8750-56a878e00ad3",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "721edc52-b605-4a8c-a5ad-af11dfe25e46",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "4c092e37-3972-4fc7-8ba6-49899bf75610",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f12ab8c1-3dd5-4ced-9357-88f7afcd8af9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "12189a63-d6be-4023-b830-342792beaa58",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "2921b499-8e98-4144-bc83-33c3bca7c6ab",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-23T11:54:32.2995826-07:00",
"MeasurementValueNeededDate": "2026-06-23T11:54:32.2995826-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f9c4d480-fd0f-43fe-9783-064d1d2ad278",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "a168efe0-e460-40bd-8e1d-4c454bb8b299",
"EffectiveDate": "2026-06-23T11:54:32.2995826-07:00",
"StateType": {
"StateTypeId": "dde6376b-cb52-4742-96c7-1af376725abd",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f12ab8c1-3dd5-4ced-9357-88f7afcd8af9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "12189a63-d6be-4023-b830-342792beaa58",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "e12080da-b7ce-4a77-b78b-c85c031f5b03",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8866e37b-bfb8-4f6d-9b18-e4dbcc1187f3",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8fc41191-87f6-4051-bd19-6792149e8cc1",
"EffectiveDate": "2026-06-23T11:54:32.2995826-07:00",
"StatusType": {
"StatusTypeId": "2e6c2299-65fe-413d-b5f0-e66678333b57",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f12ab8c1-3dd5-4ced-9357-88f7afcd8af9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "12189a63-d6be-4023-b830-342792beaa58",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c9147a1b-d4bc-4f73-a2c9-eeac3f51660d",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9478e5dc-e362-47bc-9d16-4bab28268f36",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3949b633-3a58-4fde-8017-355d38f9472a",
"EffectiveDate": "2026-06-23T11:54:32.2995826-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "7bba4f82-a2b1-4a80-af69-bd709e214a0d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "aad6546c-aa4a-4215-9e8d-269079ce82dd",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c7c5d5e6-ba8e-47a5-bd1f-328da65cddc5",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-23T11:54:32.2995826-07:00",
"MeasurementValueNeededDate": "2026-06-23T11:54:32.2995826-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2cd08082-5d21-455b-b4ca-85d9c0b36aaf",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-23T11:54:32.2995826-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "29d4ec4f-e850-450e-8676-d64cd3a89787",
"CreateDate": "2026-06-23T11:54:32.2995826-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-23T11:54:32.2995826-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}