GET Attachments/ByUploadDate?assetId={assetId}&beginDate={beginDate}&endDate={endDate}&includeContent={includeContent}
Retrieves attachments for the given parameters. All parameters are optional.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetId |
Id of the asset |
globally unique identifier |
None. |
beginDate |
Beginning upload date of the attachments to retrieve |
date |
None. |
endDate |
Ending upload date of the attachments to retrieve |
date |
None. |
includeContent |
Include the file contents of the attachments |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
On success, a list of attachments.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of Attachment |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "AttachmentId": "04224ea0-cef6-40c6-965f-178d12c7582f", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "57441d91-1b62-4482-8699-f474be6e71f8", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "c93965c2-ecb5-404d-a0fb-9b801b2d540e", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "c2ac5989-cc5b-40ab-99c8-95807296bc5e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1cc560d3-2207-4563-9ff7-ec57417503b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "573e68de-0a9e-413d-9bbd-c7a037742f74", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0bfe2a83-b10c-45fd-b13c-5f30dee04731", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:29:59.111385-08:00", "MeasurementValueNeededDate": "2024-11-21T05:29:59.111385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "48fa2c21-e224-4147-aacd-f5cd24d98d13", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "ebb72b99-f678-4693-affa-fa8452944b0e", "EffectiveDate": "2024-11-21T05:29:59.111385-08:00", "StateType": { "StateTypeId": "1fe70769-c04c-442f-a330-a13bdb28cb73", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1cc560d3-2207-4563-9ff7-ec57417503b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "573e68de-0a9e-413d-9bbd-c7a037742f74", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "2c268cd4-8b63-4be0-ab08-8ba82263c09f", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "220db701-12d4-46a6-bde0-63301961304a", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "14d2fcfa-3f48-4146-be2d-591b79bd4326", "EffectiveDate": "2024-11-21T05:29:59.111385-08:00", "StatusType": { "StatusTypeId": "48c3145f-3595-48ce-9670-fdfa89b5f33a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1cc560d3-2207-4563-9ff7-ec57417503b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "573e68de-0a9e-413d-9bbd-c7a037742f74", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b3172666-2d27-4142-9a48-a870a9bc2232", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f8840c81-1f25-413a-9835-2d7617e60467", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "58b594de-7fce-4ae7-82e2-5384c1af09b0", "EffectiveDate": "2024-11-21T05:29:59.111385-08:00", "WellPurposeType": { "WellPurposeTypeId": "05965f96-8d49-4a3e-b40f-2efc7b715984", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e50b1ac1-0438-4eee-a419-73eea233ba98", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "93b65c50-dac2-4412-80c7-bcc539fd83e9", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:29:59.111385-08:00", "MeasurementValueNeededDate": "2024-11-21T05:29:59.111385-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b1fec980-40c9-4787-b4c6-7bd31f15c1e8", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-11-21T05:29:59.111385-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "657df01f-8447-4e77-b11a-54d72451ff2b", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "04224ea0-cef6-40c6-965f-178d12c7582f", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "57441d91-1b62-4482-8699-f474be6e71f8", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "c93965c2-ecb5-404d-a0fb-9b801b2d540e", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "c2ac5989-cc5b-40ab-99c8-95807296bc5e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1cc560d3-2207-4563-9ff7-ec57417503b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "573e68de-0a9e-413d-9bbd-c7a037742f74", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0bfe2a83-b10c-45fd-b13c-5f30dee04731", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:29:59.111385-08:00", "MeasurementValueNeededDate": "2024-11-21T05:29:59.111385-08:00", "SourceSystemId": "sample string 3", "CompanyId": "48fa2c21-e224-4147-aacd-f5cd24d98d13", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "ebb72b99-f678-4693-affa-fa8452944b0e", "EffectiveDate": "2024-11-21T05:29:59.111385-08:00", "StateType": { "StateTypeId": "1fe70769-c04c-442f-a330-a13bdb28cb73", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1cc560d3-2207-4563-9ff7-ec57417503b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "573e68de-0a9e-413d-9bbd-c7a037742f74", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "2c268cd4-8b63-4be0-ab08-8ba82263c09f", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "220db701-12d4-46a6-bde0-63301961304a", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "14d2fcfa-3f48-4146-be2d-591b79bd4326", "EffectiveDate": "2024-11-21T05:29:59.111385-08:00", "StatusType": { "StatusTypeId": "48c3145f-3595-48ce-9670-fdfa89b5f33a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1cc560d3-2207-4563-9ff7-ec57417503b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "573e68de-0a9e-413d-9bbd-c7a037742f74", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b3172666-2d27-4142-9a48-a870a9bc2232", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f8840c81-1f25-413a-9835-2d7617e60467", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "58b594de-7fce-4ae7-82e2-5384c1af09b0", "EffectiveDate": "2024-11-21T05:29:59.111385-08:00", "WellPurposeType": { "WellPurposeTypeId": "05965f96-8d49-4a3e-b40f-2efc7b715984", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e50b1ac1-0438-4eee-a419-73eea233ba98", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "93b65c50-dac2-4412-80c7-bcc539fd83e9", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:29:59.111385-08:00", "MeasurementValueNeededDate": "2024-11-21T05:29:59.111385-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b1fec980-40c9-4787-b4c6-7bd31f15c1e8", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-11-21T05:29:59.111385-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "657df01f-8447-4e77-b11a-54d72451ff2b", "CreateDate": "2024-11-21T05:29:59.111385-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:29:59.111385-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }