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": "bfb731a2-3442-4213-b0f8-422516819b7b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "06c2b0bb-906c-4f9e-8a2b-123b2a31d302",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "61725c4b-f920-44d3-a14f-f84f88baefc0",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "1ec8efc8-2fb6-4f62-bede-7778071d6560",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "890a2cdf-6325-4b5a-8309-7b70d3fa410b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "10ce29ae-a085-48f8-b0e0-64497222bccb",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8d0f4adb-57e4-4937-9334-49a180a5e007",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-28T20:34:39.4180215-07:00",
"MeasurementValueNeededDate": "2026-09-28T20:34:39.4180215-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e7c90bf5-665b-45ab-81a6-ba1c0f291219",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "a63a0507-e65a-41b3-87d7-1798121e9406",
"EffectiveDate": "2026-09-28T20:34:39.4180215-07:00",
"StateType": {
"StateTypeId": "48dbfeeb-a7d2-4a60-95c0-0728ec8843a1",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "890a2cdf-6325-4b5a-8309-7b70d3fa410b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "10ce29ae-a085-48f8-b0e0-64497222bccb",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "fec66f0c-3136-4392-a68f-9290afad055a",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "54edb6ee-3112-4c0b-8d7c-0c8ef9e9e359",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "89338830-e89b-478e-97b3-d92931d4b9e6",
"EffectiveDate": "2026-09-28T20:34:39.4180215-07:00",
"StatusType": {
"StatusTypeId": "50ee9f8f-e55f-4924-bf6a-01245f07f9f7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "890a2cdf-6325-4b5a-8309-7b70d3fa410b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "10ce29ae-a085-48f8-b0e0-64497222bccb",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fd3bb3b5-0dde-415d-894e-543eec5784b5",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bfa5b5a1-e4bb-49ea-a573-57af63259edf",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "ce95b68f-30e7-4ad1-a993-76e27b0f75a8",
"EffectiveDate": "2026-09-28T20:34:39.4180215-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9b1957ee-d436-4dff-9813-e19714531070",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e93cd99b-b3db-484a-ad14-3606ab6d7eb9",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "09f56753-e0eb-41f3-b7f2-a5e3c1f80aae",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-28T20:34:39.4180215-07:00",
"MeasurementValueNeededDate": "2026-09-28T20:34:39.4180215-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "febaf40f-01da-404b-96a6-2fa0995e2ca8",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-09-28T20:34:39.4180215-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "0fa7779f-81c2-4702-9f3c-ac61718defa8",
"CreateDate": "2026-09-28T20:34:39.4180215-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T20:34:39.4180215-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}