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": "01883cb6-0fd4-4de6-bab9-311c7e1cb977",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "06de9725-f7bf-4031-b161-5090d5b20791",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "191b5f0b-4986-46af-84d3-f4a2794548a8",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "64f0abfd-861d-4eb2-ada5-30bdf5cb07ef",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d3861238-dd1e-4c72-966d-b1fb749ecf16",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1ba77d1e-ff29-481e-b72c-5a0c59f8bee5",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "b6687b6c-3aa7-4894-9f10-1a0842d9a158",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-17T13:52:23.4482226-07:00",
"MeasurementValueNeededDate": "2026-09-17T13:52:23.4482226-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "8f2ed320-dbe5-498a-be5d-d50c315ab2ac",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "ea95b2ee-879e-47f9-bb9c-cd86e7df677b",
"EffectiveDate": "2026-09-17T13:52:23.4482226-07:00",
"StateType": {
"StateTypeId": "821b345b-3599-4b96-91ed-d6d2383bd9ab",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "d3861238-dd1e-4c72-966d-b1fb749ecf16",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1ba77d1e-ff29-481e-b72c-5a0c59f8bee5",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b2a0fdaf-0916-44ff-9f63-3e6945b44f12",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2039e9ef-d65a-48ff-9e7c-457736bba16d",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9e8a405e-ffae-451b-bbd4-064fc899e04f",
"EffectiveDate": "2026-09-17T13:52:23.4482226-07:00",
"StatusType": {
"StatusTypeId": "d4cb0e7f-a6fc-4e2a-9aff-1c1374bac5ea",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "d3861238-dd1e-4c72-966d-b1fb749ecf16",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1ba77d1e-ff29-481e-b72c-5a0c59f8bee5",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "cf98dbce-9b3c-46cd-b963-30f2422c1e40",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f195dce3-3a92-4c24-b067-fe74dc616ae2",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "79ee0b81-b77b-4c64-b3de-c785b933bc31",
"EffectiveDate": "2026-09-17T13:52:23.4482226-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "cc22d70e-3aa4-459c-859b-43b122e4f287",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2631a5d7-7a51-41a6-a9af-112f0e0430d2",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "870d9c37-797e-4d97-9afa-464e69d1609f",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-17T13:52:23.4482226-07:00",
"MeasurementValueNeededDate": "2026-09-17T13:52:23.4482226-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "bfbe4782-5ac2-49e5-9369-87f76436d966",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-17T13:52:23.4482226-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "859036f0-6e29-43eb-a608-0f46bdf0b274",
"CreateDate": "2026-09-17T13:52:23.4482226-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-17T13:52:23.4482226-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}