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": "3c1f4fd5-b342-4e0b-9c8f-86fba669aeaf",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "0fc25ef8-f13d-4ded-a62d-04ae4121c614",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2518960c-bf77-437c-801c-107b0105434a",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "d45b1656-9c66-499c-a2f0-046a286eafb4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5b5aa094-282c-41b8-acf3-c055c1f03806",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22a2db75-0e5c-44a3-832c-51706edd9c1e",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a752bc39-a544-408a-95ed-206f525c6655",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-15T07:39:46.2566626-07:00",
"MeasurementValueNeededDate": "2026-10-15T07:39:46.2566626-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "de03be79-1e28-4c6b-94e2-8f25554feaf6",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d357c5be-7ca8-4f87-b6d5-dd1d334344d9",
"EffectiveDate": "2026-10-15T07:39:46.2566626-07:00",
"StateType": {
"StateTypeId": "d6c8f5b2-bb1f-4634-975a-e779292d9f12",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5b5aa094-282c-41b8-acf3-c055c1f03806",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22a2db75-0e5c-44a3-832c-51706edd9c1e",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "963d6e62-4a28-4532-8ae4-522d45fdc13e",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d5318fe1-461a-4879-aede-a1cf6ddd2165",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "27d96718-e53a-4e9c-8dce-95fe4c87a2d8",
"EffectiveDate": "2026-10-15T07:39:46.2566626-07:00",
"StatusType": {
"StatusTypeId": "d77106ce-305f-440c-a396-f3a3971ade6b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5b5aa094-282c-41b8-acf3-c055c1f03806",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22a2db75-0e5c-44a3-832c-51706edd9c1e",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c58374d1-0447-4178-9089-215496e2e4d1",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1fb7620c-45ba-4eba-961a-1057a7637fc2",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2088e645-9d10-44d9-892e-a7354ea61c75",
"EffectiveDate": "2026-10-15T07:39:46.2566626-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "e2b05b85-301e-4fc9-a5dc-2ea5390e3823",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ce0a4703-5d16-4ad3-9493-2cf3f7d05173",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5c150dc7-7b5f-4563-905a-27a96cc7f4f6",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-15T07:39:46.2566626-07:00",
"MeasurementValueNeededDate": "2026-10-15T07:39:46.2566626-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "115f9023-527b-48d0-aa9f-92b5fa4719fc",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-15T07:39:46.2566626-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "2cda681e-f135-4b6c-a74b-3261c9155620",
"CreateDate": "2026-10-15T07:39:46.2566626-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-15T07:39:46.2566626-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}