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": "ca64e73e-7a67-4ea8-979e-b83f01ec3c97",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "9133d455-dc63-4e5f-8da2-5e10021bc119",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "4c3c4fbf-f4e5-4d44-952f-cfb7d94ab40c",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "3470f030-693e-40ef-96d1-54ee1809acab",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "d1e6528f-5f9b-446b-8988-96c7393c7c0c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c2f77bb0-7dc2-4e2e-8b46-c5f87007440c",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e46b3087-98c1-4d38-9e5d-766d7aeccf94",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-12T03:25:26.8706157-08:00",
"MeasurementValueNeededDate": "2026-11-12T03:25:26.8706157-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4de46c3d-5c51-4738-8b13-9a7b3990d468",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "cdacda49-ec27-4507-8ef6-73dcb744e184",
"EffectiveDate": "2026-11-12T03:25:26.8706157-08:00",
"StateType": {
"StateTypeId": "63821f9e-0846-4370-9e9a-34f890fdd87e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "d1e6528f-5f9b-446b-8988-96c7393c7c0c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c2f77bb0-7dc2-4e2e-8b46-c5f87007440c",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c1b0b883-6112-4758-9510-d0eed1facd2e",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d81c7936-7899-46e2-b464-e2c8a0c1ffbf",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "29f878ba-8765-45ef-b1c1-95ad26b84a48",
"EffectiveDate": "2026-11-12T03:25:26.8706157-08:00",
"StatusType": {
"StatusTypeId": "cf391359-874d-4c6b-b5ff-6e690fc5a3f4",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "d1e6528f-5f9b-446b-8988-96c7393c7c0c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c2f77bb0-7dc2-4e2e-8b46-c5f87007440c",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6d11de80-3371-4fda-b8ac-bf452f6211fa",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "01c81e10-afdf-496c-9fe3-8d464eb24013",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e5278ba6-ddcd-4b4c-aa51-71dca0cc886b",
"EffectiveDate": "2026-11-12T03:25:26.8706157-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "9f679bfb-bfb1-45af-ae3f-b2b545c0446a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cc13a8c3-1019-4a35-9ed5-a6e69e8bb6ea",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "938aad23-04d9-46df-81a4-f7b7e107ebec",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-12T03:25:26.8706157-08:00",
"MeasurementValueNeededDate": "2026-11-12T03:25:26.8706157-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5d67a64d-c50e-44bb-aad0-b90174ae5c9b",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-11-12T03:25:26.8706157-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "dad1e4d1-6cd1-474a-8d19-c8ad623b416c",
"CreateDate": "2026-11-12T03:25:26.8706157-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-12T03:25:26.8706157-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}