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": "8a81824a-f57b-4a0f-816c-87b5ef2c4f8c", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "6ff43672-c66a-4d8b-b7d9-702e488efc3f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "a98389dd-e463-4d1c-a8dc-84a6739cac87", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "bdd389e3-aae7-4295-ad8a-0f566f5cd8d6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "30be3d4c-744f-4c6c-89bf-35d6da67fee9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6698f1ee-9366-40e6-b7d6-0fa3b75f47f8", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9671dabd-c8a8-4894-bc3c-71f5bc7ae8c3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T13:15:40.8075543-08:00", "MeasurementValueNeededDate": "2025-01-30T13:15:40.8075543-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4f970c49-3420-477a-9e43-1bc9f3a73c30", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "92fa8f6f-ed1d-4d0a-9bb5-0255d7997c88", "EffectiveDate": "2025-01-30T13:15:40.8075543-08:00", "StateType": { "StateTypeId": "87e5506d-cabf-41ed-9140-56b9d9862197", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "30be3d4c-744f-4c6c-89bf-35d6da67fee9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6698f1ee-9366-40e6-b7d6-0fa3b75f47f8", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0410ba75-3c93-47bc-81a5-e53d66788673", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a883a06e-3412-45fd-93c2-a56b270de25d", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "4ccc8a78-1c39-4f37-85ac-597d907bff48", "EffectiveDate": "2025-01-30T13:15:40.8075543-08:00", "StatusType": { "StatusTypeId": "4e87e676-c11c-4aee-88d3-11401e563ec8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "30be3d4c-744f-4c6c-89bf-35d6da67fee9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6698f1ee-9366-40e6-b7d6-0fa3b75f47f8", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5d73d8f3-3864-4311-81e7-5b7acafd3742", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cecd8db2-e212-490c-b635-b9f0f504f569", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5f489bc2-6ca2-4881-a35b-6bdc77f412ff", "EffectiveDate": "2025-01-30T13:15:40.8075543-08:00", "WellPurposeType": { "WellPurposeTypeId": "0d5f65f2-adc1-4cf1-9332-33f5d9f83772", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7eb1fd5a-70db-4c31-bbb2-fe009bcdfcb5", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "69711876-9a2e-4908-a77f-348f1c837ec0", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T13:15:40.8075543-08:00", "MeasurementValueNeededDate": "2025-01-30T13:15:40.8075543-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "901cd591-ba20-4185-a487-794198f8153d", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-01-30T13:15:40.8075543-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "7f23dbf0-f774-4b32-b158-1509c7d00608", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "8a81824a-f57b-4a0f-816c-87b5ef2c4f8c", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "6ff43672-c66a-4d8b-b7d9-702e488efc3f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "a98389dd-e463-4d1c-a8dc-84a6739cac87", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "bdd389e3-aae7-4295-ad8a-0f566f5cd8d6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "30be3d4c-744f-4c6c-89bf-35d6da67fee9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6698f1ee-9366-40e6-b7d6-0fa3b75f47f8", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9671dabd-c8a8-4894-bc3c-71f5bc7ae8c3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T13:15:40.8075543-08:00", "MeasurementValueNeededDate": "2025-01-30T13:15:40.8075543-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4f970c49-3420-477a-9e43-1bc9f3a73c30", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "92fa8f6f-ed1d-4d0a-9bb5-0255d7997c88", "EffectiveDate": "2025-01-30T13:15:40.8075543-08:00", "StateType": { "StateTypeId": "87e5506d-cabf-41ed-9140-56b9d9862197", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "30be3d4c-744f-4c6c-89bf-35d6da67fee9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6698f1ee-9366-40e6-b7d6-0fa3b75f47f8", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0410ba75-3c93-47bc-81a5-e53d66788673", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a883a06e-3412-45fd-93c2-a56b270de25d", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "4ccc8a78-1c39-4f37-85ac-597d907bff48", "EffectiveDate": "2025-01-30T13:15:40.8075543-08:00", "StatusType": { "StatusTypeId": "4e87e676-c11c-4aee-88d3-11401e563ec8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "30be3d4c-744f-4c6c-89bf-35d6da67fee9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6698f1ee-9366-40e6-b7d6-0fa3b75f47f8", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5d73d8f3-3864-4311-81e7-5b7acafd3742", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cecd8db2-e212-490c-b635-b9f0f504f569", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5f489bc2-6ca2-4881-a35b-6bdc77f412ff", "EffectiveDate": "2025-01-30T13:15:40.8075543-08:00", "WellPurposeType": { "WellPurposeTypeId": "0d5f65f2-adc1-4cf1-9332-33f5d9f83772", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7eb1fd5a-70db-4c31-bbb2-fe009bcdfcb5", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "69711876-9a2e-4908-a77f-348f1c837ec0", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T13:15:40.8075543-08:00", "MeasurementValueNeededDate": "2025-01-30T13:15:40.8075543-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "901cd591-ba20-4185-a487-794198f8153d", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-01-30T13:15:40.8075543-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "7f23dbf0-f774-4b32-b158-1509c7d00608", "CreateDate": "2025-01-30T13:15:40.8075543-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T13:15:40.8075543-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }