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": "3dd82509-6078-4e0d-92da-98845864b7ea",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "e5f0bf57-c866-4e36-9b25-60e0f7afc6e5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0009c50d-46a2-4fa9-ba19-02c7cea47a81",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5575a97c-9bfd-476a-938f-d9023fdb4ed7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c6caf175-2435-45ba-979a-52d8ae977822",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "679c8ddb-77ab-4bc3-8ad7-809eefe8d6e6",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "facd183f-888a-4726-ad63-c3791fc36fe4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-09T01:59:45.0189782-08:00",
"MeasurementValueNeededDate": "2026-01-09T01:59:45.0189782-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2361f385-834c-444e-9804-05a05b140ac3",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "131c0f87-a528-4f37-9032-eb57f9d55c60",
"EffectiveDate": "2026-01-09T01:59:45.0189782-08:00",
"StateType": {
"StateTypeId": "da44c1ab-7688-40c6-b2fc-7a6ba348b885",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "c6caf175-2435-45ba-979a-52d8ae977822",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "679c8ddb-77ab-4bc3-8ad7-809eefe8d6e6",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "388c01b6-0d0e-46a9-9df5-34d7dd2978a9",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a720e9b1-e610-45d3-9d78-31eb1d798c0c",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "7c52879b-1c45-464e-8ae5-edbed274d2ee",
"EffectiveDate": "2026-01-09T01:59:45.0189782-08:00",
"StatusType": {
"StatusTypeId": "32f91199-d720-4e70-809c-d4b0ea8b61b6",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "c6caf175-2435-45ba-979a-52d8ae977822",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "679c8ddb-77ab-4bc3-8ad7-809eefe8d6e6",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "37ad5a8c-ab85-4676-bb61-6cb00dd7f5fa",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3dcaa0cc-22a9-4cb6-9c49-deb0cd979dc9",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5d08cc23-6025-49e9-b1df-2400ab2a2e12",
"EffectiveDate": "2026-01-09T01:59:45.0189782-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "00fa5bcc-ec8f-462f-bb04-cc9233d4c8b0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f504e518-d21b-440d-82cd-f1020f489537",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "da5b5979-10f2-4cf8-bf28-e9960630cc8c",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-09T01:59:45.0189782-08:00",
"MeasurementValueNeededDate": "2026-01-09T01:59:45.0189782-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0290c6d5-f3d5-4365-820a-3b97e0c7273d",
"CreateDate": "2026-01-09T01:59:45.0189782-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-09T01:59:45.0189782-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-01-09T01:59:45.0189782-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "5737c239-5e20-4006-9f2e-4799065c8307",
"CreateDate": "2026-01-09T01:59:45.0346027-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-09T01:59:45.0346027-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}