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": "c44afa84-62a1-4f3a-881e-571bc2b0f167",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "34973bd3-3d3e-41cf-9457-d878e53498d5",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "8ef4b60c-f57b-4f4c-9734-009beda34f83",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "27d48535-94d3-4900-9190-5c11ef0fb949",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7447cc54-d882-4305-9429-9f2bca058ccc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7632b3c1-c899-4fc3-a0e1-b0d24e90d0a1",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "db2d5509-f6e2-4c53-9303-1b341d04648e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-24T07:20:40.7876489-07:00",
"MeasurementValueNeededDate": "2026-09-24T07:20:40.7876489-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f6fdd9f2-1e53-49f4-9682-ee117a3e771d",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1e641755-5baa-4e94-9b43-3fecd70b8ba6",
"EffectiveDate": "2026-09-24T07:20:40.7876489-07:00",
"StateType": {
"StateTypeId": "7bff333c-d276-494e-b562-fbdd508afad8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7447cc54-d882-4305-9429-9f2bca058ccc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7632b3c1-c899-4fc3-a0e1-b0d24e90d0a1",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6f156ee0-3fa7-4e62-a71a-1ab90bb4ac34",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1157cfc3-1f8b-48bf-a24d-aa253c325308",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "37e8bd80-dcdb-4772-8153-7310c99bf25d",
"EffectiveDate": "2026-09-24T07:20:40.7876489-07:00",
"StatusType": {
"StatusTypeId": "fd20e857-9614-406d-b993-b2124da1609d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7447cc54-d882-4305-9429-9f2bca058ccc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7632b3c1-c899-4fc3-a0e1-b0d24e90d0a1",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "840a365c-8de7-425e-b648-f70bdb84dabf",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "58f86c20-27ac-444e-9130-36b286a3724f",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "67ac34eb-de43-4ef5-b9dc-0c068c883337",
"EffectiveDate": "2026-09-24T07:20:40.7876489-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "192f64fd-9f18-4d6e-b80d-1938f5568e87",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "110dd1f7-bd3e-4ae6-a9bc-370b6e86dd82",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "03f04496-9edc-461a-9a4e-c9a1592a219f",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-24T07:20:40.7876489-07:00",
"MeasurementValueNeededDate": "2026-09-24T07:20:40.7876489-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8cfd9418-100c-47d4-8ef1-b94da92a0605",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-24T07:20:40.7876489-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "a1a861db-99be-49e4-b6ad-0f6d9f7a49a8",
"CreateDate": "2026-09-24T07:20:40.7876489-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-24T07:20:40.7876489-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}