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": "0577d052-801b-4c62-8f6a-be0143a5af78",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "8d825727-afae-4dd2-80fd-1ee5a69cbdca",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "82efd244-d6db-440b-8e53-d6ed1803fb2c",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b94f3e80-7bb1-45d8-ba0c-391b4f5d07a3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "99e554aa-ec38-4f2f-92ad-5faa726fe40f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01dbaed2-734c-4422-be49-eb61dc1387bc",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7ec6203c-baea-4c8f-8c7a-39fc0134f383",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-05-13T05:52:23.9191924-07:00",
"MeasurementValueNeededDate": "2026-05-13T05:52:23.9191924-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bdc38475-6428-4a49-bd0a-aff693d190c1",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "d6f20879-ff73-4bb4-a4b3-a984182f3631",
"EffectiveDate": "2026-05-13T05:52:23.9191924-07:00",
"StateType": {
"StateTypeId": "039b3830-f53b-46aa-b65e-ec1f3952339d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "99e554aa-ec38-4f2f-92ad-5faa726fe40f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01dbaed2-734c-4422-be49-eb61dc1387bc",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b78b38db-3094-4428-827a-ae3b604c84c1",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "28ec673f-9cbf-4c69-b5ea-ddc63659d7c8",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3b75ea22-9be9-49b9-a6d9-2271e706550f",
"EffectiveDate": "2026-05-13T05:52:23.9191924-07:00",
"StatusType": {
"StatusTypeId": "a2944861-0533-4ff3-98ed-80e68b64c48a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "99e554aa-ec38-4f2f-92ad-5faa726fe40f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01dbaed2-734c-4422-be49-eb61dc1387bc",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "d09397c2-a89f-4d4f-ab87-e5c0d7a38f62",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6b6d96d7-af8e-4e03-84c3-21fa736ebef3",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "fb6f3d65-a385-4c4c-8bd6-630b160f2d08",
"EffectiveDate": "2026-05-13T05:52:23.9191924-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "aadc910b-5b04-4bb6-bdcb-acb72e66bcb0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7987a023-e0f4-48ea-825d-3577f4c4fef9",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e8264961-5917-4a60-8e21-fedc7d5832be",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-05-13T05:52:23.9191924-07:00",
"MeasurementValueNeededDate": "2026-05-13T05:52:23.9191924-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0a9fae97-aa41-4d45-b64b-570603aff675",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-05-13T05:52:23.9191924-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "dc64a369-8b1a-49a9-8560-7fa57aa901b0",
"CreateDate": "2026-05-13T05:52:23.9191924-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-13T05:52:23.9191924-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}