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": "31e93ee2-1c84-42ff-bf34-e8fef7791ee8",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "66a5fc47-1cef-4425-8aa7-869157d44bcf",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d15f79bb-4e57-4d03-a0cd-1dc580d9a882",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f8ff3916-2223-4764-a822-d91656a58d46",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2c924249-4617-4bc4-ac23-49a125d7da14",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1dc15246-d422-4b61-8361-3c5ee200cb5b",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "75eb894d-8d67-4445-93ef-d731ed96d23a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-07T00:55:20.1065559-07:00",
"MeasurementValueNeededDate": "2026-08-07T00:55:20.1065559-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "610e7d31-3c82-4c16-a038-4c34bc182ea0",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "32492094-cd79-4438-97ba-ab3ebd0e77ba",
"EffectiveDate": "2026-08-07T00:55:20.1065559-07:00",
"StateType": {
"StateTypeId": "e8274c95-9d6a-4f36-9e2c-4fe5c46885bd",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2c924249-4617-4bc4-ac23-49a125d7da14",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1dc15246-d422-4b61-8361-3c5ee200cb5b",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8891d10a-89a5-4f38-8bac-76e30e446b45",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "901afadf-753f-4e4a-9447-bc7b314bc3be",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9b472dd1-92f6-4c45-ae6b-da0280df9084",
"EffectiveDate": "2026-08-07T00:55:20.1065559-07:00",
"StatusType": {
"StatusTypeId": "cbc228f4-1537-4394-824b-98f0a80d2d54",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2c924249-4617-4bc4-ac23-49a125d7da14",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1dc15246-d422-4b61-8361-3c5ee200cb5b",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "ce6d1812-c540-402d-babc-e61f6be6197b",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0734f409-3229-4cbb-b91e-5a27c6562301",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "a89ea433-9c02-416b-826a-7a57ce1bf25c",
"EffectiveDate": "2026-08-07T00:55:20.1065559-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "435a99c3-832c-40a5-aeb8-4bd9a9c8772e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a2c25ee5-d7d1-497c-b625-b9750bbd3ffa",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ca865854-593d-4e44-9e85-acf5f54e86e8",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-07T00:55:20.1065559-07:00",
"MeasurementValueNeededDate": "2026-08-07T00:55:20.1065559-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b397ce9a-a484-4b88-beb2-2ff1f6f84d57",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-08-07T00:55:20.1065559-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "10b02763-f8da-455a-bd1a-482639fd9f89",
"CreateDate": "2026-08-07T00:55:20.1065559-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-07T00:55:20.1065559-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}