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": "483a6d06-ebad-4427-b2d3-adcd290b4f18", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "6cb6af8b-355f-4588-aa06-07c34a0b4268", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "6267f512-a0aa-45e9-96c6-b2be274d91e3", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "d0f5c21e-305b-4a29-b38e-44fd2b764c40", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b19d5e0c-4d80-44f5-a1cc-6f5136f90b45", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4d7894e6-c560-4274-8104-922c3885a3c0", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b29c6250-3607-4684-8842-6d27d211abfc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T15:13:38.542033-07:00", "MeasurementValueNeededDate": "2025-06-02T15:13:38.542033-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5c5b289b-0832-41bf-a12f-f6ccb94f8c8d", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "1b774913-11fd-458c-9c79-cb82d39530d4", "EffectiveDate": "2025-06-02T15:13:38.542033-07:00", "StateType": { "StateTypeId": "ab0bd1cc-1702-4a8f-80c6-7f4ac9df6b92", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "b19d5e0c-4d80-44f5-a1cc-6f5136f90b45", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4d7894e6-c560-4274-8104-922c3885a3c0", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "99335e9e-2f76-4a96-826b-3115d9924207", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "743b87d8-c526-4f8d-aab9-e063a324c42c", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2aaa3f6c-76de-4ecd-afad-f7642080aa53", "EffectiveDate": "2025-06-02T15:13:38.542033-07:00", "StatusType": { "StatusTypeId": "2608c9cb-ffa2-4a1c-b57e-e4590c372eca", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "b19d5e0c-4d80-44f5-a1cc-6f5136f90b45", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4d7894e6-c560-4274-8104-922c3885a3c0", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e37dedcc-a801-4a22-ab02-de1cd979e31c", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a742a9e5-d4ee-432c-99d6-c8864a73f6c5", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "846cb0cf-efdf-4860-84fe-9935217934e6", "EffectiveDate": "2025-06-02T15:13:38.542033-07:00", "WellPurposeType": { "WellPurposeTypeId": "9d14648f-9ef1-45c8-b129-c0093107d589", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "837ff894-cd1c-4af6-be4e-fef19ad4dfe3", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a52f9154-3fab-429e-9ca3-bdae4ff55ecf", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T15:13:38.542033-07:00", "MeasurementValueNeededDate": "2025-06-02T15:13:38.542033-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a2cd0c2e-741d-4b88-adf7-0372d8f133e0", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-02T15:13:38.542033-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "09f01b26-08c0-4285-a46e-6b1f818c5b8a", "CreateDate": "2025-06-02T15:13:38.542033-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:13:38.542033-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }