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": "d5566ca5-faa1-402a-88d8-979e3db2012f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3e9bec0a-9e4a-499e-a815-044d9e9b181f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2b7d5522-ca0d-4095-ade7-991a78862cfa",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "a4244dbf-5c35-4236-b0b3-95ae4517f6e7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "c152d55f-0b73-42f4-a3bb-8f2990531fe9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2e63cc4b-55d0-422e-b960-a66715f8db1e",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ee071d97-ba4e-4337-a9a0-ead8e0aff205",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-04T02:50:08.5444552-07:00",
"MeasurementValueNeededDate": "2026-09-04T02:50:08.5444552-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "618830e7-4c26-4a58-a662-80606c3de097",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "181eb9d6-725b-4103-ada8-afdcd81f89bf",
"EffectiveDate": "2026-09-04T02:50:08.5444552-07:00",
"StateType": {
"StateTypeId": "4d242606-6260-4d41-a7d9-ce9232d51e8c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "c152d55f-0b73-42f4-a3bb-8f2990531fe9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2e63cc4b-55d0-422e-b960-a66715f8db1e",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "07ce67fd-b53d-46ef-8c7b-2bca8767c3c5",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e29a25fa-654a-47d8-b3c6-7350c2888a81",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "bb1a172b-f0b8-4dc0-8111-f55e20a0afda",
"EffectiveDate": "2026-09-04T02:50:08.5444552-07:00",
"StatusType": {
"StatusTypeId": "acf9ff85-de3e-4a4e-9436-b535ac44cf8d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "c152d55f-0b73-42f4-a3bb-8f2990531fe9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2e63cc4b-55d0-422e-b960-a66715f8db1e",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1165439b-194a-4326-ad16-34326d93af23",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ce975833-5c16-48b6-8e5a-78261cf18ba2",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3b13446a-7c8b-4a46-aa3a-b29247b58da1",
"EffectiveDate": "2026-09-04T02:50:08.5444552-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "c47931f3-6877-426f-8ac2-4e85dc5ee403",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "96f744ab-374c-446d-9a83-2a461240f51d",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "786e7520-79cd-445b-b9d1-c68199eddc50",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-04T02:50:08.5444552-07:00",
"MeasurementValueNeededDate": "2026-09-04T02:50:08.5444552-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bcfa1e17-4e2d-483e-b35c-c5d070cb6adb",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-04T02:50:08.5444552-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "fe1a73d0-9469-4307-ae01-044b3b1bcee6",
"CreateDate": "2026-09-04T02:50:08.5444552-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-04T02:50:08.5444552-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}