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": "526b7065-2583-4f50-af02-39b9eb1d6efb",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "d587eb3b-54ed-4cd3-b387-eab08f185dca",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "3c4a0160-5fa7-4ad1-80f4-404464467c78",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "237b31fd-88bc-4b5a-9462-00b1ccac4062",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a09b45e1-9a75-43dc-bbf4-adaf4f3bf274",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a02bcc66-4241-4264-a575-d697d2ca1865",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "13a74c83-2909-4228-9a1b-8977b3fa1423",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-23T13:59:15.9911014-07:00",
"MeasurementValueNeededDate": "2026-07-23T13:59:15.9911014-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ee570446-e932-42cd-a3e8-b379f40fd6ca",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "4f4fc4f2-f236-4145-8e4f-e292a14373a0",
"EffectiveDate": "2026-07-23T13:59:15.9911014-07:00",
"StateType": {
"StateTypeId": "946b9a6d-9591-4591-9488-16d3faa0e66c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a09b45e1-9a75-43dc-bbf4-adaf4f3bf274",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a02bcc66-4241-4264-a575-d697d2ca1865",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "349252e0-b416-485b-b8ef-899971c5d68b",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b3adfe88-8a92-4f5a-80ef-596ee6c496ee",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "3210d025-855f-46da-ad3d-124a914d2ae6",
"EffectiveDate": "2026-07-23T13:59:15.9911014-07:00",
"StatusType": {
"StatusTypeId": "02b2fb4c-5c7e-4d60-af1c-486e511b62b3",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a09b45e1-9a75-43dc-bbf4-adaf4f3bf274",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a02bcc66-4241-4264-a575-d697d2ca1865",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "3c397f93-26c8-4543-936a-1f421ef986f2",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5f590f24-22cd-4d95-be19-e6d12e3e07c7",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "28547a34-a9c6-49cd-b8ca-ac7ba45bd1c8",
"EffectiveDate": "2026-07-23T13:59:15.9911014-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "52db0892-348f-4746-bc1b-12fe3b69cf5c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c86c58b4-582f-4e15-a8d5-ec0459155db4",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "367d7232-7a24-4905-bc82-b48b71775a28",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-23T13:59:15.9911014-07:00",
"MeasurementValueNeededDate": "2026-07-23T13:59:15.9911014-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e5a2a0c9-1b3d-4a16-b4ff-20bd70db64b7",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-07-23T13:59:15.9911014-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "68ff8e9e-a1dd-4d9a-b0c9-d50e13ad81d5",
"CreateDate": "2026-07-23T13:59:15.9911014-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-23T13:59:15.9911014-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}