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": "70ae3c65-37b9-4cb5-9ce5-7c45bb648af3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "be0fb9c4-df4e-46cc-acd9-9977bb2f4f17",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "8614c403-e8cc-4f45-9d12-8f2cc9f1a709",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "94ad0b2b-a197-4f96-85bf-3252cd2802d0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "be3c4055-fa1b-4be8-b818-f1497369a9bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "09a6da16-5e54-44a3-be05-96a08eb23a12",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "96624ecc-7f49-4df1-9fc4-2430841ec800",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-25T13:15:16.4765228-08:00",
"MeasurementValueNeededDate": "2026-11-25T13:15:16.4765228-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "be2442d0-cca2-4b0d-9372-28765546cb7c",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6a8595d2-7aa0-4165-a9ea-dc38260d5d28",
"EffectiveDate": "2026-11-25T13:15:16.4765228-08:00",
"StateType": {
"StateTypeId": "7186344d-a1d7-4080-b083-47b9368ddb78",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "be3c4055-fa1b-4be8-b818-f1497369a9bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "09a6da16-5e54-44a3-be05-96a08eb23a12",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "69a75f3a-ced0-4a83-b44b-5ca7cc7e0d75",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3513af2e-c528-40f5-9da9-fa7dcde2a2fa",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "1dc874fd-470b-4aff-ba1e-76995ea364ef",
"EffectiveDate": "2026-11-25T13:15:16.4765228-08:00",
"StatusType": {
"StatusTypeId": "1cfaf8ee-1179-42fe-8147-49dcc073c71a",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "be3c4055-fa1b-4be8-b818-f1497369a9bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "09a6da16-5e54-44a3-be05-96a08eb23a12",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1693afdf-bc46-402d-b8f5-7bc3e1878dc3",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bb2ef4a6-07eb-4b92-883a-140eb210a4e3",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5b024d0b-2070-497e-8f76-a65e8a4184e9",
"EffectiveDate": "2026-11-25T13:15:16.4765228-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a4b91016-22e8-4edf-a136-1a1368162bc1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b6383010-9814-4606-9a34-d06b296e9612",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1cdd7b4f-6178-4f40-9909-8fc7629a677f",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-25T13:15:16.4765228-08:00",
"MeasurementValueNeededDate": "2026-11-25T13:15:16.4765228-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e9f1037b-b372-4415-8e82-9bd410fa79f7",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-25T13:15:16.4765228-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "12191b64-6b66-4415-8de5-826c1e9cf547",
"CreateDate": "2026-11-25T13:15:16.4765228-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-25T13:15:16.4765228-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}