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": "9373a51d-f6e1-4d49-9e7f-ddaeb29784f9", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "cd652cf1-0f60-48f0-b705-c98d4cc6b858", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "8ec53f40-12be-41d5-9a1c-80d2cf56c3f1", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "723d42d9-99f3-4d6b-892c-598d03ae06fe", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e7e0ea2c-113a-4d6a-b3c7-d9d8d4b1f8b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "507268f1-d504-4675-a828-30e0816afd55", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f6e9c48a-9f7a-48bb-a7e0-9a548c49f69f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T15:51:56.3560031-08:00", "MeasurementValueNeededDate": "2025-01-30T15:51:56.3560031-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b78bfa7a-6f1b-43cf-92cd-184fbc43d91c", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5f53c848-481f-4568-abc6-f13c9e0c8e72", "EffectiveDate": "2025-01-30T15:51:56.3560031-08:00", "StateType": { "StateTypeId": "bad0eed0-000f-403d-90d8-a048a0549239", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e7e0ea2c-113a-4d6a-b3c7-d9d8d4b1f8b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "507268f1-d504-4675-a828-30e0816afd55", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7cfc6d5c-1209-4cd6-b85b-b1f180020966", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "ece6648a-9749-4df1-92e1-c5fa2ddafa14", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "4730a3e5-def8-4041-96de-decb4b1ec298", "EffectiveDate": "2025-01-30T15:51:56.3560031-08:00", "StatusType": { "StatusTypeId": "1b99f983-aff2-40db-9e38-3f860cefd07a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e7e0ea2c-113a-4d6a-b3c7-d9d8d4b1f8b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "507268f1-d504-4675-a828-30e0816afd55", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "bda192a4-a279-4382-ad2c-b2c698d4fda0", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9f96a3ef-1f64-4a37-bf38-0da0d21df2b5", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a4d620f8-c781-4a84-a6c7-bbed4bb892e3", "EffectiveDate": "2025-01-30T15:51:56.3560031-08:00", "WellPurposeType": { "WellPurposeTypeId": "250d35fa-2612-4498-8b7c-f439c5883ef2", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "79e6ab60-8dd2-4f2d-8198-fdf7e9644daa", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2d4c2604-8e4b-43ac-92d9-04541ea22650", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T15:51:56.3560031-08:00", "MeasurementValueNeededDate": "2025-01-30T15:51:56.3560031-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "eaa087e0-f54f-4c7f-9602-8abb9da5657b", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-01-30T15:51:56.3560031-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "04cb25cf-603d-4d1c-8fb7-c082d9386ae5", "CreateDate": "2025-01-30T15:51:56.3560031-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T15:51:56.3560031-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }