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": "34d44fc0-0027-4470-9427-99634594141d", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "28c6e5fc-82a2-4c5a-bb63-567dbf7ec8da", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b9a21d82-6e19-448a-ad00-ea017ccc9245", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "5addaa15-dfd6-4d68-8a84-9fc64e5bb580", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "69f0b530-fcd3-4636-a8b9-b0fd8c2c2f28", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "090e022c-6e95-4e40-9646-0e12040b545a", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "37cd0da2-977c-4cb6-a5a1-40b8c834212f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T15:12:05.965668-07:00", "MeasurementValueNeededDate": "2025-06-02T15:12:05.965668-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ce2ab079-a73f-4350-9448-bda1a0b83b65", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "442eb167-9dfa-4da4-8dc3-36353fd2a797", "EffectiveDate": "2025-06-02T15:12:05.965668-07:00", "StateType": { "StateTypeId": "e10b6cbc-76b2-4f00-bff3-64bf6e847465", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "69f0b530-fcd3-4636-a8b9-b0fd8c2c2f28", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "090e022c-6e95-4e40-9646-0e12040b545a", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "22526c85-72dc-493d-8052-5afe09092c15", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a28896f0-d84f-4016-8cd6-fe67c43bf91b", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "6426e0f6-2c59-43c9-8662-a2306113c1f2", "EffectiveDate": "2025-06-02T15:12:05.965668-07:00", "StatusType": { "StatusTypeId": "d298b23b-579f-490a-96cd-cc0985d65946", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "69f0b530-fcd3-4636-a8b9-b0fd8c2c2f28", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "090e022c-6e95-4e40-9646-0e12040b545a", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c5e55013-f671-4dc3-b2c4-08f801c8183a", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5fa40c0a-31d0-4a1d-b33b-dec7bbddffc5", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c666bf5c-ac2f-4349-b8e2-47d099eb9942", "EffectiveDate": "2025-06-02T15:12:05.965668-07:00", "WellPurposeType": { "WellPurposeTypeId": "f8e11211-3627-4f1d-b172-0503bdfc9d4b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "55a05faa-3286-425a-baf4-b6b27c14fe53", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1e9c7078-a353-4b24-a580-865d872d5cf8", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T15:12:05.965668-07:00", "MeasurementValueNeededDate": "2025-06-02T15:12:05.965668-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "41e71650-b3bd-42d5-8cc7-5eee04e5a33f", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-02T15:12:05.965668-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "b898989e-a4d5-4b80-b070-36872952aaf1", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "34d44fc0-0027-4470-9427-99634594141d", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "28c6e5fc-82a2-4c5a-bb63-567dbf7ec8da", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "b9a21d82-6e19-448a-ad00-ea017ccc9245", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "5addaa15-dfd6-4d68-8a84-9fc64e5bb580", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "69f0b530-fcd3-4636-a8b9-b0fd8c2c2f28", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "090e022c-6e95-4e40-9646-0e12040b545a", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "37cd0da2-977c-4cb6-a5a1-40b8c834212f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T15:12:05.965668-07:00", "MeasurementValueNeededDate": "2025-06-02T15:12:05.965668-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ce2ab079-a73f-4350-9448-bda1a0b83b65", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "442eb167-9dfa-4da4-8dc3-36353fd2a797", "EffectiveDate": "2025-06-02T15:12:05.965668-07:00", "StateType": { "StateTypeId": "e10b6cbc-76b2-4f00-bff3-64bf6e847465", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "69f0b530-fcd3-4636-a8b9-b0fd8c2c2f28", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "090e022c-6e95-4e40-9646-0e12040b545a", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "22526c85-72dc-493d-8052-5afe09092c15", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a28896f0-d84f-4016-8cd6-fe67c43bf91b", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "6426e0f6-2c59-43c9-8662-a2306113c1f2", "EffectiveDate": "2025-06-02T15:12:05.965668-07:00", "StatusType": { "StatusTypeId": "d298b23b-579f-490a-96cd-cc0985d65946", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "69f0b530-fcd3-4636-a8b9-b0fd8c2c2f28", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "090e022c-6e95-4e40-9646-0e12040b545a", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c5e55013-f671-4dc3-b2c4-08f801c8183a", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5fa40c0a-31d0-4a1d-b33b-dec7bbddffc5", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c666bf5c-ac2f-4349-b8e2-47d099eb9942", "EffectiveDate": "2025-06-02T15:12:05.965668-07:00", "WellPurposeType": { "WellPurposeTypeId": "f8e11211-3627-4f1d-b172-0503bdfc9d4b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "55a05faa-3286-425a-baf4-b6b27c14fe53", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1e9c7078-a353-4b24-a580-865d872d5cf8", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T15:12:05.965668-07:00", "MeasurementValueNeededDate": "2025-06-02T15:12:05.965668-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "41e71650-b3bd-42d5-8cc7-5eee04e5a33f", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-06-02T15:12:05.965668-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "b898989e-a4d5-4b80-b070-36872952aaf1", "CreateDate": "2025-06-02T15:12:05.965668-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:12:05.965668-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }