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": "d038bf68-04d6-4061-8cd2-c4ff9e105e8f",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "12b85840-1094-410f-acb9-beb36c30347e",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4e6f939b-a774-44c7-8534-2a960084d0f0",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f0fe027d-676a-4723-9245-82f739c41b2f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f634f881-55ba-4084-84ba-97d8cce661d0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cd804280-eba3-4dc0-8cd0-2f4444c79a31",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1143815d-b91d-4294-b835-d71ece7ac83c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-08T01:21:46.3877303-07:00",
"MeasurementValueNeededDate": "2026-08-08T01:21:46.3877303-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3908b545-2497-4995-b348-c6465f63e543",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e083fda1-74e6-4f27-947c-58be02824fcc",
"EffectiveDate": "2026-08-08T01:21:46.3877303-07:00",
"StateType": {
"StateTypeId": "4f8f6427-4376-4890-9fd6-32fc76c610e2",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f634f881-55ba-4084-84ba-97d8cce661d0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cd804280-eba3-4dc0-8cd0-2f4444c79a31",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d6d0beef-86be-4262-91bf-ad9b61ee80d0",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "41e2472c-9118-4628-a94b-fea2dbdf9554",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "1416701c-006b-457f-913a-10e8b11df7e9",
"EffectiveDate": "2026-08-08T01:21:46.3877303-07:00",
"StatusType": {
"StatusTypeId": "27595579-7435-4efc-9576-4351f9ded98e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f634f881-55ba-4084-84ba-97d8cce661d0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cd804280-eba3-4dc0-8cd0-2f4444c79a31",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "b817e82a-57bf-45a3-879a-2d69d91b994f",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d0191c9c-8206-4c7a-bee4-2abddf5d28cf",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "c972e4e4-1853-4d82-9213-cdffeb3b6782",
"EffectiveDate": "2026-08-08T01:21:46.3877303-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "34c4ed83-9556-46b5-a000-f086a4ebcf37",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ab6ac3b5-5afc-4305-b360-7625b10f4eed",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ef4af654-a307-4a6f-8516-13ffe947b17f",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-08T01:21:46.3877303-07:00",
"MeasurementValueNeededDate": "2026-08-08T01:21:46.3877303-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a128b68f-ba94-4d29-a510-8c474845aa5a",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-08T01:21:46.3877303-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d869e49f-add2-48bb-8848-c47c51b74f5c",
"CreateDate": "2026-08-08T01:21:46.3877303-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-08T01:21:46.3877303-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}