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": "d31001e2-8975-4475-acac-7a85848073a7",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e294b48d-1e47-4f88-9452-6c80af429d50",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d630ff94-14cc-4081-b11d-1b174b4893e5",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "3ac2a406-f932-4fff-b890-c0a90df5bdf8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0c8e7c1d-ff08-45e5-8e2c-c1605136a473",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8d2d2ae7-3c7b-4594-93a4-8f88ccdb3034",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "bda809bc-d877-4998-9389-8bc9afad7250",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-13T23:58:26.1357637-07:00",
"MeasurementValueNeededDate": "2026-05-13T23:58:26.1357637-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "db42fe94-f92f-4677-aa13-9425da643089",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "29b34942-5671-47a1-8bc4-7563e18425fa",
"EffectiveDate": "2026-05-13T23:58:26.1357637-07:00",
"StateType": {
"StateTypeId": "d1b74af1-57a2-4411-a322-6b1fcc853d6d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0c8e7c1d-ff08-45e5-8e2c-c1605136a473",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8d2d2ae7-3c7b-4594-93a4-8f88ccdb3034",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c55759a2-8bf9-4514-908d-2be858fbcad3",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "510277b8-21dc-475b-b2f4-1f0a820b84e4",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "46e443a4-605a-409c-9969-6cf1f3f37efc",
"EffectiveDate": "2026-05-13T23:58:26.1357637-07:00",
"StatusType": {
"StatusTypeId": "09d785dc-646b-43c9-86a4-15e408d3a8db",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0c8e7c1d-ff08-45e5-8e2c-c1605136a473",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8d2d2ae7-3c7b-4594-93a4-8f88ccdb3034",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c78aa59d-27b6-44d2-9b6b-f532667185e0",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6a65f52a-cb96-42e7-9742-bba25ee159f4",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "427e27a0-836a-412c-933c-95873c9dbaae",
"EffectiveDate": "2026-05-13T23:58:26.1357637-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "723b12d3-530c-4ec5-8ba3-176e33c5167a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a886e96b-a596-4e8e-a35b-e2647d2e2c07",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f9d8bd2a-dd6f-4db2-b526-db1b69d5f35c",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-13T23:58:26.1357637-07:00",
"MeasurementValueNeededDate": "2026-05-13T23:58:26.1357637-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "78a22c0d-66c5-4938-9b02-8fef8dd9ee25",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-13T23:58:26.1357637-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "95a58df0-0f05-4536-8e6c-9fa2524a38eb",
"CreateDate": "2026-05-13T23:58:26.1357637-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T23:58:26.1357637-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}