GET Attachments/ByLastModifiedDate?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 last modified date of the attachments to retrieve |
date |
None. |
endDate |
Ending last modified 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": "141b5753-cedb-493e-af2a-90f661459183", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "778804ed-7585-4964-bb9f-77a8ca820a01", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "6771dab2-d26f-44b6-b92d-82891d97ae02", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "fb6f238d-0da2-4a74-afd2-0dbed860c2d2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b3b7a07f-b88e-4318-beee-8ca2e207ec30", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c260c728-829f-45df-93c7-ce76335d01aa", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f2699271-8c47-40b7-bb71-721160bd4e66", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T20:42:12.7058897-07:00", "MeasurementValueNeededDate": "2025-05-08T20:42:12.7058897-07:00", "SourceSystemId": "sample string 3", "CompanyId": "0a73bf35-03a7-4c81-9ac7-1d4ac5479844", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "554533af-37ef-41c9-b044-15a135f66186", "EffectiveDate": "2025-05-08T20:42:12.7058897-07:00", "StateType": { "StateTypeId": "ba187f2f-ddf4-4c8b-84bc-eb7ca2c84a30", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "b3b7a07f-b88e-4318-beee-8ca2e207ec30", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c260c728-829f-45df-93c7-ce76335d01aa", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "68ee61df-36a5-4b20-8e86-7a37427964c7", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "30820f41-19f9-4477-9593-add442b278d6", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "3ecce59b-fcac-4637-ae71-5e72f86c9b4a", "EffectiveDate": "2025-05-08T20:42:12.7058897-07:00", "StatusType": { "StatusTypeId": "e0ea7bd9-37fb-46d5-9dd9-9209a1c1dd32", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "b3b7a07f-b88e-4318-beee-8ca2e207ec30", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c260c728-829f-45df-93c7-ce76335d01aa", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b321ec65-beb8-4d07-a482-d12c4919026b", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3f4484e6-e741-46f5-82ac-88882573ab4f", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b50eb7b8-1020-4236-8956-3df7a93eaa8e", "EffectiveDate": "2025-05-08T20:42:12.7058897-07:00", "WellPurposeType": { "WellPurposeTypeId": "fcdccc28-eabb-477a-93db-26cf3ede0def", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "de3b2793-c40c-43c3-b41b-9eae32f7066d", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b1b390b6-9667-4d08-8fd2-caeb69acd7a5", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T20:42:12.7058897-07:00", "MeasurementValueNeededDate": "2025-05-08T20:42:12.7058897-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "446d5f93-9d64-4761-81ad-af669afd3ce0", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-05-08T20:42:12.7058897-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "377e6ad2-3a9a-4761-9952-cc9116103ae4", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "141b5753-cedb-493e-af2a-90f661459183", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "778804ed-7585-4964-bb9f-77a8ca820a01", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "6771dab2-d26f-44b6-b92d-82891d97ae02", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "fb6f238d-0da2-4a74-afd2-0dbed860c2d2", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b3b7a07f-b88e-4318-beee-8ca2e207ec30", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c260c728-829f-45df-93c7-ce76335d01aa", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "f2699271-8c47-40b7-bb71-721160bd4e66", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T20:42:12.7058897-07:00", "MeasurementValueNeededDate": "2025-05-08T20:42:12.7058897-07:00", "SourceSystemId": "sample string 3", "CompanyId": "0a73bf35-03a7-4c81-9ac7-1d4ac5479844", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "554533af-37ef-41c9-b044-15a135f66186", "EffectiveDate": "2025-05-08T20:42:12.7058897-07:00", "StateType": { "StateTypeId": "ba187f2f-ddf4-4c8b-84bc-eb7ca2c84a30", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "b3b7a07f-b88e-4318-beee-8ca2e207ec30", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c260c728-829f-45df-93c7-ce76335d01aa", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "68ee61df-36a5-4b20-8e86-7a37427964c7", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "30820f41-19f9-4477-9593-add442b278d6", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "3ecce59b-fcac-4637-ae71-5e72f86c9b4a", "EffectiveDate": "2025-05-08T20:42:12.7058897-07:00", "StatusType": { "StatusTypeId": "e0ea7bd9-37fb-46d5-9dd9-9209a1c1dd32", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "b3b7a07f-b88e-4318-beee-8ca2e207ec30", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c260c728-829f-45df-93c7-ce76335d01aa", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b321ec65-beb8-4d07-a482-d12c4919026b", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3f4484e6-e741-46f5-82ac-88882573ab4f", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b50eb7b8-1020-4236-8956-3df7a93eaa8e", "EffectiveDate": "2025-05-08T20:42:12.7058897-07:00", "WellPurposeType": { "WellPurposeTypeId": "fcdccc28-eabb-477a-93db-26cf3ede0def", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "de3b2793-c40c-43c3-b41b-9eae32f7066d", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b1b390b6-9667-4d08-8fd2-caeb69acd7a5", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T20:42:12.7058897-07:00", "MeasurementValueNeededDate": "2025-05-08T20:42:12.7058897-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "446d5f93-9d64-4761-81ad-af669afd3ce0", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-05-08T20:42:12.7058897-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "377e6ad2-3a9a-4761-9952-cc9116103ae4", "CreateDate": "2025-05-08T20:42:12.7058897-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T20:42:12.7058897-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }