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": "39ec1587-0367-48fd-a911-df3fe1949ee8",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "a1b43d41-f5a1-4ef5-ad87-98c7e8f267a7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "66c7449c-54ae-4b5f-91a3-b506040c0a57",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f3a55018-1d34-4732-9e67-7d3275024387",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4ac076a6-b0ad-4d78-8f21-f7083de559c3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "db361c84-b78d-4bc2-992a-a2cefacc3e2d",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6275b36a-d096-4491-80d0-3d1513da7d8c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-30T07:30:37.7720337-08:00",
"MeasurementValueNeededDate": "2026-11-30T07:30:37.7720337-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a812a7a4-af47-451e-bcae-6da2570f849f",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6fef66b6-11d7-40d2-b0b5-4c3eae5edf97",
"EffectiveDate": "2026-11-30T07:30:37.7720337-08:00",
"StateType": {
"StateTypeId": "6766830b-6b28-4360-ac98-ef67bef13eda",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4ac076a6-b0ad-4d78-8f21-f7083de559c3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "db361c84-b78d-4bc2-992a-a2cefacc3e2d",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "5f5d464c-fe34-4276-b41a-e4d8bbfded3c",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "519d7f19-802d-4359-955b-dc95a30c0a3c",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a77f4673-e453-42f5-92c8-d72c4cdfbc93",
"EffectiveDate": "2026-11-30T07:30:37.7720337-08:00",
"StatusType": {
"StatusTypeId": "b070d4db-50c1-45d6-ac76-2842a8e2a80f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4ac076a6-b0ad-4d78-8f21-f7083de559c3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "db361c84-b78d-4bc2-992a-a2cefacc3e2d",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a7830cfe-61dc-4c97-93eb-de28ee72b556",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4f80b9c2-308e-4853-89d8-0a17c903026d",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1b5dff25-d7c6-45fa-bd3b-637e5916f395",
"EffectiveDate": "2026-11-30T07:30:37.7720337-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "cea70369-b8b8-450f-93af-4f206657fef0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c867c8ca-8612-4e0b-9696-d57b3ca4c03f",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "12acae9f-614a-4d33-8dca-f6762b741d19",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-30T07:30:37.7720337-08:00",
"MeasurementValueNeededDate": "2026-11-30T07:30:37.7720337-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d50ee175-68cb-407b-9dfd-3bd70f431db0",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-30T07:30:37.7720337-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "2e3dab37-33b1-4dc5-8f37-622177f2400a",
"CreateDate": "2026-11-30T07:30:37.7720337-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T07:30:37.7720337-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}