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": "06b7bb46-2193-472a-af00-7558b83d3861", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "d1c87c9f-5253-4ff7-a628-99481e88677d", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "9944437f-caac-4c19-861b-82fe3eaab4b7", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "a0a6e294-bee8-49a6-8f40-028737c0252e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0bc2c307-8ecc-4bd6-963e-649edaedb87c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8b5d2d9-287f-48ee-8fbe-db0f76523215", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "5ce45e3c-9fbb-45e7-b359-4036b5f0f043", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:22:12.3803229-07:00", "MeasurementValueNeededDate": "2025-08-29T17:22:12.3803229-07:00", "SourceSystemId": "sample string 3", "CompanyId": "045bc8f7-8d9f-4546-ba7a-e391d3d09f34", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "3f1fac47-602b-4259-993c-a34fef118e8b", "EffectiveDate": "2025-08-29T17:22:12.3803229-07:00", "StateType": { "StateTypeId": "50f81f32-b1de-46e8-b814-5b8bcce8d709", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "0bc2c307-8ecc-4bd6-963e-649edaedb87c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8b5d2d9-287f-48ee-8fbe-db0f76523215", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d77ed55e-5601-4da7-a7ab-81dd66898e7a", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1f861244-9bdb-45c8-9d68-08c2b4461f2c", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "cb0f92eb-d96f-41cd-95f4-2bf9aacf150c", "EffectiveDate": "2025-08-29T17:22:12.3803229-07:00", "StatusType": { "StatusTypeId": "c1f488dc-ff2c-4c02-a627-ccf6a50e9897", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "0bc2c307-8ecc-4bd6-963e-649edaedb87c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8b5d2d9-287f-48ee-8fbe-db0f76523215", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "1083e1f9-2871-469f-afd7-fb8883508824", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "0106de9a-6f03-4deb-b1d2-8fbab0f614d9", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c393a349-b7da-4252-ac4e-488360055345", "EffectiveDate": "2025-08-29T17:22:12.3803229-07:00", "WellPurposeType": { "WellPurposeTypeId": "856498b8-7375-4390-8df8-313d4aaa1007", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "627a9f07-2ddb-46bc-962e-75f575367e0b", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f40c45e3-6d0e-42a8-a169-a2d4efab12a0", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:22:12.3803229-07:00", "MeasurementValueNeededDate": "2025-08-29T17:22:12.3803229-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3b5abe12-b38a-4236-8f2b-1d2c0e444272", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-08-29T17:22:12.3803229-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "9c736779-61e1-48e7-9e14-46e8b2e7c861", "CreateDate": "2025-08-29T17:22:12.3803229-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.3803229-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }