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": "1f97d1ee-e5f6-4786-a9f6-baef1559a9dc",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5b919bce-29ba-4984-be4c-657bd5d14b96",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "baf890b7-1ccd-4376-ba34-1c5e6f8b27d7",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "821d6419-140d-42f0-89bb-ba1de929b6de",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1144b98b-9f17-405a-a139-7d9f8e105939",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a8beade6-e0af-455d-8290-b5e1428c48f3",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "84554f0a-d204-44e1-813f-0948626856c3",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-22T20:06:02.8126223-07:00",
"MeasurementValueNeededDate": "2026-03-22T20:06:02.8126223-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3747443a-fcbd-47a7-8d06-0d71c066137c",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "7b6e75e6-6742-40ab-8d2d-3bbdb90009ba",
"EffectiveDate": "2026-03-22T20:06:02.8126223-07:00",
"StateType": {
"StateTypeId": "ccb71878-b6f9-4002-b6a6-a3052f20a107",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1144b98b-9f17-405a-a139-7d9f8e105939",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a8beade6-e0af-455d-8290-b5e1428c48f3",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6d333950-5128-4898-81d4-b31681ded0ef",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0a44b0ad-6df2-4740-9d53-4e7884c98480",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a3a6db7d-df49-44d0-854c-901eb8e71737",
"EffectiveDate": "2026-03-22T20:06:02.8126223-07:00",
"StatusType": {
"StatusTypeId": "ce6c2b37-ec24-4618-b63c-85ca388db482",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1144b98b-9f17-405a-a139-7d9f8e105939",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a8beade6-e0af-455d-8290-b5e1428c48f3",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a6ef11ea-b1f6-41f6-bfd4-79f07868f9da",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "648f7bce-d7dc-44d6-b41c-3a836c0fbfc8",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1b21a17e-5edc-42cd-9e06-cd49e868f0f5",
"EffectiveDate": "2026-03-22T20:06:02.8126223-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "26a5fe8a-0ee5-41bb-b0c6-b6508e054bc2",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bf9dbbfe-73e0-4c9b-9458-8dabb4c0cefc",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "474956f0-5b26-4335-8cd9-6c7e66a760d4",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-22T20:06:02.8126223-07:00",
"MeasurementValueNeededDate": "2026-03-22T20:06:02.8126223-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "db94a6f9-1b36-4719-97ff-1aa04559d26f",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-22T20:06:02.8126223-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "25105b6a-d11f-436c-9618-486176ed8e0c",
"CreateDate": "2026-03-22T20:06:02.8126223-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-22T20:06:02.8126223-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}