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": "448e6f0e-d069-4fce-a5f1-96ee105094b1",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "ceac1a1c-c416-4f09-bacc-01c450b7bf6f",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "2dd1f89c-5b51-49ec-b1b0-63cdacd9115b",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "94f932d1-c20c-4259-8982-57c8066c26b3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "14e09e07-d041-4ff4-be45-7462fc276812",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0df05635-2f24-409b-a267-b6871751a733",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e0d792e7-5eb5-46ec-a673-6d332491c2bb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-10T17:26:06.1853128-07:00",
"MeasurementValueNeededDate": "2026-10-10T17:26:06.1853128-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8a85166c-34de-463e-9440-12e8b0d3cb38",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "bab2ae21-4394-4b9b-aecb-049aa05a12a7",
"EffectiveDate": "2026-10-10T17:26:06.1853128-07:00",
"StateType": {
"StateTypeId": "87c1a62d-265a-4f2b-bca5-e76cebc9ddb8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "14e09e07-d041-4ff4-be45-7462fc276812",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0df05635-2f24-409b-a267-b6871751a733",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3f38dc0f-805f-45e2-bfed-00fa2b459b51",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3dbc275d-2a43-4c98-9062-c975d15141c7",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a82afa60-a938-4fcf-85ea-7b6e0e47461c",
"EffectiveDate": "2026-10-10T17:26:06.1853128-07:00",
"StatusType": {
"StatusTypeId": "c1d1cf54-d3ab-4653-9a41-18b1dd1ed413",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "14e09e07-d041-4ff4-be45-7462fc276812",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0df05635-2f24-409b-a267-b6871751a733",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5194496d-3a6a-40dc-b90a-6018e51fa3fc",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0a65ed1c-ea1e-41be-8cf2-617c2a47d8b6",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "b7d68576-05b7-4a33-8bd6-ce2886ea2d26",
"EffectiveDate": "2026-10-10T17:26:06.1853128-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "1922a082-1eae-4719-ad3f-9142650a630e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d5ed1d31-6620-4cb1-9fa9-963349559870",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ad6ba84e-9ce5-4f0a-a056-0c04e8ce2f4a",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-10-10T17:26:06.1853128-07:00",
"MeasurementValueNeededDate": "2026-10-10T17:26:06.1853128-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "04f01bc6-51ce-4849-bf33-51b826dde9f9",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-10T17:26:06.1853128-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "15e059d9-7088-4256-b396-cc22d2c407fb",
"CreateDate": "2026-10-10T17:26:06.1853128-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-10T17:26:06.1853128-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}