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": "de27f273-993d-432e-97c1-06752cbaea0c",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "fde1e17f-48e7-4e49-81d1-673eed0a2137",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d4082c49-7588-4c37-812a-f4cf87a89ff7",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "b1cb9465-30a3-46ba-976c-71798d72baa4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2c067419-4bca-4f2e-970b-9e68c92728bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "548f5394-c2c0-40d1-a90d-1061ee3323f0",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6a881d45-2d1d-4c79-a78a-58c95d200923",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-12T04:08:07.1209123-07:00",
"MeasurementValueNeededDate": "2026-06-12T04:08:07.1209123-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1df666c7-1306-4a47-921c-0b796a459e6e",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "653754b1-19de-4e5e-ac64-b196705c3952",
"EffectiveDate": "2026-06-12T04:08:07.1209123-07:00",
"StateType": {
"StateTypeId": "24a40991-3364-4fd0-829c-4a7651e478fd",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2c067419-4bca-4f2e-970b-9e68c92728bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "548f5394-c2c0-40d1-a90d-1061ee3323f0",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9c7ec3dd-2fb2-48d7-ac44-088b801ed122",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a2dce46f-44a6-46a3-975e-f26ea0594592",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "e9298312-2196-4243-922d-cfd5ebc41027",
"EffectiveDate": "2026-06-12T04:08:07.1209123-07:00",
"StatusType": {
"StatusTypeId": "0a999646-0117-4706-b4e4-146bd1152468",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2c067419-4bca-4f2e-970b-9e68c92728bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "548f5394-c2c0-40d1-a90d-1061ee3323f0",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "171b6eae-c98e-480e-84c4-35255bd43553",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "721efd87-b2d9-42b4-8e08-50eae42f1455",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "2ba2e483-d62a-4372-9ef1-16e0f6c0f261",
"EffectiveDate": "2026-06-12T04:08:07.1209123-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f1854303-04a5-416a-9e36-2d03a46a40b0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a28a0a17-1470-4465-9d44-00b57ded01bf",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "062ada02-b5d2-4702-a442-3822b4cdae7b",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-12T04:08:07.1209123-07:00",
"MeasurementValueNeededDate": "2026-06-12T04:08:07.1209123-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2107d0b8-8620-4c4c-864c-ceec9dd4f61f",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-12T04:08:07.1209123-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d4656118-6f07-4dce-abd3-ddaa2de93713",
"CreateDate": "2026-06-12T04:08:07.1209123-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-12T04:08:07.1209123-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}