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": "8a79fcdd-4651-4a87-88fd-69a92603d52e", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "72f190c4-94ce-4dae-8630-2cd0db8a2f5d", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "ce86496d-a4c0-4c8e-b00e-310f8052a755", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a3f1a1bc-1e12-4671-bc4f-f7a72407b42f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e9adfcee-a960-4a87-8c08-6d066b78b86b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cf1f0f-4984-46a7-b283-22985382bc40", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "a470e94a-7bc0-4087-a7e9-08d8627d31c0", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-30T23:24:28.0923814-07:00", "MeasurementValueNeededDate": "2025-07-30T23:24:28.0923814-07:00", "SourceSystemId": "sample string 3", "CompanyId": "41668b56-2284-4a88-81b3-2bdb50651480", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bafb7e5d-1ddd-4459-abe7-c4a815908918", "EffectiveDate": "2025-07-30T23:24:28.0923814-07:00", "StateType": { "StateTypeId": "30bb3a91-bac1-4ba5-adee-2002b7c7f76d", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e9adfcee-a960-4a87-8c08-6d066b78b86b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cf1f0f-4984-46a7-b283-22985382bc40", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0f8f050c-12df-4304-a3ee-2deb324fb618", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0c30e489-d330-477b-b1c8-efd8007a1b01", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "d58c8cb0-9c82-44dd-b638-39525bbc60c6", "EffectiveDate": "2025-07-30T23:24:28.0923814-07:00", "StatusType": { "StatusTypeId": "54361112-43c6-40db-b847-734ac322aa8f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e9adfcee-a960-4a87-8c08-6d066b78b86b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a5cf1f0f-4984-46a7-b283-22985382bc40", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "75bf7ec0-036d-48ff-915f-076233a7a7b8", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "fbf40f4f-2295-41bf-b61c-3d976faa2254", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "e21cfd12-1524-4d5a-94dd-744d7b542d66", "EffectiveDate": "2025-07-30T23:24:28.0923814-07:00", "WellPurposeType": { "WellPurposeTypeId": "c02279e5-f31e-4624-8604-d5289e55702b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "29298399-3885-478b-ac8d-84f665910363", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d355caee-a093-4d50-ab88-2bf3372d7749", "CreateDate": "2025-07-30T23:24:28.0923814-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:24:28.0923814-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-30T23:24:28.0923814-07:00", "MeasurementValueNeededDate": "2025-07-30T23:24:28.0923814-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1b74706e-7bb9-450b-87e0-bcb769af2001", "CreateDate": "2025-07-30T23:24:28.1080063-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:24:28.1080063-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-07-30T23:24:28.1080063-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "765d1491-136d-45e0-b817-8561697ae3f9", "CreateDate": "2025-07-30T23:24:28.1080063-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:24:28.1080063-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }