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": "dfe741ee-b0a2-4366-839f-50f0158b0be2", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "f15d112d-2c5b-4007-a060-a43fea2d6f7e", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "845808d1-1b6f-4e6d-b294-81988d31a105", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "08394d77-3d5c-403a-9110-773ba42705fe", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "25c3e366-6385-4385-a68c-0c0320cae5d3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c7ccb5ff-3e89-42ab-8609-3069796746db", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b9ee0d9b-37a8-4fed-85bf-004911bb6cd4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-30T15:12:52.8996985-07:00", "MeasurementValueNeededDate": "2025-06-30T15:12:52.8996985-07:00", "SourceSystemId": "sample string 3", "CompanyId": "71d2ac66-615d-4cb5-b318-e01d3caa3d48", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "703f4fa9-ec55-40d4-a768-a6c3b07997d1", "EffectiveDate": "2025-06-30T15:12:52.8996985-07:00", "StateType": { "StateTypeId": "204851d5-f332-4bbe-946e-d2aadccc29e8", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "25c3e366-6385-4385-a68c-0c0320cae5d3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c7ccb5ff-3e89-42ab-8609-3069796746db", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "07d4d0cb-a2b9-43df-96d5-5da635a7b404", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "78b88d76-897a-415c-b9a7-dc0e42d517bc", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "91287367-877f-4ba0-bb73-8444d04a3f5c", "EffectiveDate": "2025-06-30T15:12:52.8996985-07:00", "StatusType": { "StatusTypeId": "9725a458-ef6e-4852-b016-ee79a95a2f9f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "25c3e366-6385-4385-a68c-0c0320cae5d3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c7ccb5ff-3e89-42ab-8609-3069796746db", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b22ecca1-99d7-46fd-b289-636396d5d416", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f8318646-9ca2-4cc3-865f-c64395378b47", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a2497b17-412e-47bc-b33e-7ae5c0160bac", "EffectiveDate": "2025-06-30T15:12:52.8996985-07:00", "WellPurposeType": { "WellPurposeTypeId": "d2f307df-e1f6-44b6-b234-fa1a9f863cc1", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7becff73-fd2a-4f35-80ab-dd7a62bc4040", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "de778d37-d135-4b9a-936b-eaad3036300c", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-30T15:12:52.8996985-07:00", "MeasurementValueNeededDate": "2025-06-30T15:12:52.8996985-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "16847909-15ca-48db-b482-46959a6af157", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-30T15:12:52.8996985-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "7bb43e75-57ee-4aad-80bb-f39044765d42", "CreateDate": "2025-06-30T15:12:52.8996985-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T15:12:52.8996985-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }