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": "13f4099a-3962-4f58-a511-cf22ff9fdf76",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "dc6e8f6c-1751-40fa-8108-0963f80d7a38",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "a00582fa-7c28-41e4-985e-aa48fd58989a",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "e242c986-1a7d-4d47-b0f8-87257172b5c1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "81ffcf75-c2c1-47e3-a93b-9a89ff1e8810",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a1351db5-2675-4812-a238-6020f579df67",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d5f523af-d6d5-4d65-afa6-471218ead69e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:50:26.067634-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:50:26.067634-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "fa1ae5e2-1381-43de-ba22-c65b79abdace",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6ccc2d99-f08b-4a0e-b1ce-cb89d33ce3aa",
"EffectiveDate": "2026-03-30T16:50:26.067634-07:00",
"StateType": {
"StateTypeId": "4d18bf08-d044-4a0c-be0c-e1895222cd7b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "81ffcf75-c2c1-47e3-a93b-9a89ff1e8810",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a1351db5-2675-4812-a238-6020f579df67",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "92778e9c-8516-41f2-93a3-73f418d396f7",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9c43109b-5ca3-4bea-807e-420b4fe6a38c",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "e9340de0-96d8-4cc0-9961-a1a4f497558a",
"EffectiveDate": "2026-03-30T16:50:26.067634-07:00",
"StatusType": {
"StatusTypeId": "feb165aa-721c-49a4-a4ef-0b4c4788ff9d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "81ffcf75-c2c1-47e3-a93b-9a89ff1e8810",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a1351db5-2675-4812-a238-6020f579df67",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f32fbaaa-9727-4930-9e65-81be5dad6e7a",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "68a995f2-7987-4517-9f18-d02eda102adf",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "26e72f1d-519c-40c2-be10-0c33e11bcd03",
"EffectiveDate": "2026-03-30T16:50:26.067634-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "ccb24970-5129-405f-8235-2f5540a9da28",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "da5b91fc-127c-46d6-bf7b-293e2ec44aac",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e03c1fdc-2759-40bd-bea2-cf063adf2a9f",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:50:26.067634-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:50:26.067634-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "34c3605c-019e-4df8-9726-44bc22cf996f",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-03-30T16:50:26.067634-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0c2c4a50-52fa-4d03-8f3d-3526fff05908",
"CreateDate": "2026-03-30T16:50:26.067634-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:50:26.067634-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}