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": "d169131f-a0cb-4c43-97af-3ab2510f4092",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "2a6805e1-bdb1-4252-9363-d909a994e63c",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "5a932d02-cf09-401e-b8da-cf3809ad1c1a",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "443b091b-a37b-4094-a21e-a6d38f516e37",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9ce1eb7d-d6f3-44b7-adc6-dd0e0a8db66e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ef4ede6-2a92-495f-aa21-16e9b9a4d7ef",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "44c36596-d376-4206-8c66-73a07d2a1fdc",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-21T10:43:46.1411975-07:00",
"MeasurementValueNeededDate": "2026-08-21T10:43:46.1411975-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "395c561a-5be9-49d2-b827-bee4e937bb3e",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "92bf02d0-c282-4451-818c-4c2d9ba73f73",
"EffectiveDate": "2026-08-21T10:43:46.1411975-07:00",
"StateType": {
"StateTypeId": "334d2043-1348-4b2d-b9d4-a18de39a5b3d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9ce1eb7d-d6f3-44b7-adc6-dd0e0a8db66e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ef4ede6-2a92-495f-aa21-16e9b9a4d7ef",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5e03f80e-d415-47aa-83d7-ddd16c6badee",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f798d8fc-bedc-4926-baf7-aa7ab1432a76",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ad8636dc-bab6-42d4-9d21-a7e09ce30c37",
"EffectiveDate": "2026-08-21T10:43:46.1411975-07:00",
"StatusType": {
"StatusTypeId": "afd87b97-31f6-463c-bc5e-993a57fa6bec",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9ce1eb7d-d6f3-44b7-adc6-dd0e0a8db66e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6ef4ede6-2a92-495f-aa21-16e9b9a4d7ef",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a56f8e1b-77d9-4ee0-94a2-bd2adf856945",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f280a0f9-110d-4ae3-ba26-5b5303e28b3e",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "95a1c7ea-53fc-4446-9ac7-dc54d4460d2d",
"EffectiveDate": "2026-08-21T10:43:46.1411975-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "870b7c50-fb2d-4c4e-bc08-a81743ba863c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6bf82587-20f3-40ea-b68a-08378f052c69",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ffdd7ec0-f294-43e2-a9c6-053e625cb90c",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-21T10:43:46.1411975-07:00",
"MeasurementValueNeededDate": "2026-08-21T10:43:46.1411975-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "10ee635c-519f-4465-b2f3-3c288046a2ff",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-21T10:43:46.1411975-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "155d1573-7263-49be-9127-72e2822fa1f7",
"CreateDate": "2026-08-21T10:43:46.1411975-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-21T10:43:46.1411975-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}