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": "9038124d-dad5-4c42-8bb4-c7c5b043f6c9",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3502cc74-667e-4e10-92a1-a874c564ad17",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "556f3e33-9d7a-497e-9abd-7d0ea797731f",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "2fd17fe6-c404-4dfd-b5d1-89ba06f1b7cb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4d031dc6-3ad9-4691-996b-1b016d66d9d3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2b8513ec-c510-48d6-a60c-ebc54b9b6795",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "49330529-00e7-4fd5-a024-ecf2502acb25",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-25T09:56:20.6712732-08:00",
"MeasurementValueNeededDate": "2026-11-25T09:56:20.6712732-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f941442b-5fba-45a3-814a-a9ea70b6a612",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "5fcf4ac3-ace3-4699-8d97-5599b200c352",
"EffectiveDate": "2026-11-25T09:56:20.6712732-08:00",
"StateType": {
"StateTypeId": "aeaf97a2-6e0c-4143-bb64-0185c5ab9c0b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4d031dc6-3ad9-4691-996b-1b016d66d9d3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2b8513ec-c510-48d6-a60c-ebc54b9b6795",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "bca712fa-ddc6-4b4d-a2fe-979dd4f73cd5",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f5602456-93e4-418c-b65f-73bff9e318ae",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ce656f53-5006-4639-b5ee-91e5b85a3bcf",
"EffectiveDate": "2026-11-25T09:56:20.6712732-08:00",
"StatusType": {
"StatusTypeId": "ae587a73-f1a3-4796-9f01-8869068cc152",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4d031dc6-3ad9-4691-996b-1b016d66d9d3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2b8513ec-c510-48d6-a60c-ebc54b9b6795",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8615e82f-8850-42ff-a83a-473ca7a220c8",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "07a8e860-2bba-42e1-8c59-9c5c008f9fae",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2a55e963-3008-4bb3-9e24-b9ddceab7067",
"EffectiveDate": "2026-11-25T09:56:20.6712732-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "edd80618-9a96-4866-b33b-bdea542a513d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8829fbc2-cfeb-4883-a6f7-7b0e0b1bb756",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0540871f-1db2-4556-9a91-678c47c8e25b",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-25T09:56:20.6712732-08:00",
"MeasurementValueNeededDate": "2026-11-25T09:56:20.6712732-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "746e02d8-680d-4d48-ac08-e37a725897e6",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-25T09:56:20.6712732-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "b49d43bc-ad7d-4abe-9bdd-1f99e95d4d0b",
"CreateDate": "2026-11-25T09:56:20.6712732-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-25T09:56:20.6712732-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}