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": "83e5ff79-a4a1-4404-90ba-e759a35cdcd3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "be83c6fc-e6e9-4a96-9518-d728bc3db410",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "cad831b3-4965-4c1c-b18f-dd21db1424a2",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "33ed96dd-a661-4741-8850-7488185960c3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4b1e5b0f-b2df-438d-b6aa-005f40c48d95",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "30c7346c-18b9-4fc5-820d-a28e8888ea35",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "22b85e25-685a-4533-8964-3bcc8af8afe6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-05T01:55:40.9487195-08:00",
"MeasurementValueNeededDate": "2026-11-05T01:55:40.9487195-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "13eab652-06c0-498d-96df-91eea54b367d",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "854cd02d-9c6b-496f-bf38-e477d76ed8c2",
"EffectiveDate": "2026-11-05T01:55:40.9487195-08:00",
"StateType": {
"StateTypeId": "259f6f01-d2cf-46be-abfc-bbbd2009a916",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4b1e5b0f-b2df-438d-b6aa-005f40c48d95",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "30c7346c-18b9-4fc5-820d-a28e8888ea35",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8d8f5ae1-08c3-45ef-b67e-b2f025df7f4b",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "303c7617-9f98-41dd-af47-cda0a0e6ffce",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "254b66e6-2997-4194-9b6d-f33b94647c3a",
"EffectiveDate": "2026-11-05T01:55:40.9487195-08:00",
"StatusType": {
"StatusTypeId": "15cf537b-1dcc-41bd-bfd5-378282414c4b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4b1e5b0f-b2df-438d-b6aa-005f40c48d95",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "30c7346c-18b9-4fc5-820d-a28e8888ea35",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c7daf6d9-ec27-427c-9b7a-5ec5d8231669",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e79e29c7-180b-4847-9cb8-e9073f92380b",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7cdf2235-0260-4254-9052-8214a706467c",
"EffectiveDate": "2026-11-05T01:55:40.9487195-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a3203924-6312-458f-b082-e0ca7bc9c641",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "009b3929-ff07-4abc-8bde-79929cbc91bb",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5297253a-db25-4a52-8d3d-1dd8158af90f",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-05T01:55:40.9487195-08:00",
"MeasurementValueNeededDate": "2026-11-05T01:55:40.9487195-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a7b0714b-5b4a-4430-9838-db510903923a",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-05T01:55:40.9487195-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "db19566b-5f43-41ef-b73c-1b5b696b7149",
"CreateDate": "2026-11-05T01:55:40.9487195-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-05T01:55:40.9487195-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}