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": "998e0614-eb2c-46aa-b3f3-b48b506fe821", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "d872a1e8-f7c3-40f7-ab55-11dffb0d277b", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "7b064a10-5384-40cd-b772-3dd528939907", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "64fcfd22-3e6c-47dd-9fc5-28095fd3a3da", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "018d5f82-8147-4b03-88ec-7f351e75d178", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa86e322-3875-4ee9-803f-daabf107e25a", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "743e22c5-f7dc-4e39-83e5-4ca9de056a47", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T12:01:22.5979287-07:00", "MeasurementValueNeededDate": "2024-04-28T12:01:22.5979287-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6611197d-dffa-4e82-bf40-8a410d1d811d", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "644b957b-1e30-464e-96f3-08a3fadba513", "EffectiveDate": "2024-04-28T12:01:22.5979287-07:00", "StateType": { "StateTypeId": "bf0aabdd-64b6-4579-8269-7116620b9fd0", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "018d5f82-8147-4b03-88ec-7f351e75d178", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa86e322-3875-4ee9-803f-daabf107e25a", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7c355994-f3e5-4641-b23c-5ca131d239c2", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2817ac30-a0de-4476-a8b8-6860fed510e1", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "263b3f10-2595-4148-8779-66a7e28ed7db", "EffectiveDate": "2024-04-28T12:01:22.5979287-07:00", "StatusType": { "StatusTypeId": "ca0a484a-8548-431d-988c-292aad4e5573", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "018d5f82-8147-4b03-88ec-7f351e75d178", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa86e322-3875-4ee9-803f-daabf107e25a", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "437d7ab3-37d1-4eb7-b83f-35fe96621246", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "30387239-def2-4e86-88d6-092959357d16", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ac718e23-68d0-4f62-8b4a-34f84a6dbdd4", "EffectiveDate": "2024-04-28T12:01:22.5979287-07:00", "WellPurposeType": { "WellPurposeTypeId": "3b944fc5-9a43-4323-8d74-4cf527c68abc", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "baa050eb-80ce-45be-89ad-a7da13ab7a98", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "597be38a-0f13-4971-b65f-3342af4ff4b0", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T12:01:22.5979287-07:00", "MeasurementValueNeededDate": "2024-04-28T12:01:22.5979287-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "839e47fb-cac2-4337-886d-64ef70afe086", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-28T12:01:22.5979287-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "4adeabd9-5047-4b5a-84f5-aac7ae5b388f", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "998e0614-eb2c-46aa-b3f3-b48b506fe821", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "d872a1e8-f7c3-40f7-ab55-11dffb0d277b", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "7b064a10-5384-40cd-b772-3dd528939907", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "64fcfd22-3e6c-47dd-9fc5-28095fd3a3da", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "018d5f82-8147-4b03-88ec-7f351e75d178", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa86e322-3875-4ee9-803f-daabf107e25a", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "743e22c5-f7dc-4e39-83e5-4ca9de056a47", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T12:01:22.5979287-07:00", "MeasurementValueNeededDate": "2024-04-28T12:01:22.5979287-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6611197d-dffa-4e82-bf40-8a410d1d811d", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "644b957b-1e30-464e-96f3-08a3fadba513", "EffectiveDate": "2024-04-28T12:01:22.5979287-07:00", "StateType": { "StateTypeId": "bf0aabdd-64b6-4579-8269-7116620b9fd0", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "018d5f82-8147-4b03-88ec-7f351e75d178", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa86e322-3875-4ee9-803f-daabf107e25a", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7c355994-f3e5-4641-b23c-5ca131d239c2", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2817ac30-a0de-4476-a8b8-6860fed510e1", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "263b3f10-2595-4148-8779-66a7e28ed7db", "EffectiveDate": "2024-04-28T12:01:22.5979287-07:00", "StatusType": { "StatusTypeId": "ca0a484a-8548-431d-988c-292aad4e5573", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "018d5f82-8147-4b03-88ec-7f351e75d178", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa86e322-3875-4ee9-803f-daabf107e25a", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "437d7ab3-37d1-4eb7-b83f-35fe96621246", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "30387239-def2-4e86-88d6-092959357d16", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ac718e23-68d0-4f62-8b4a-34f84a6dbdd4", "EffectiveDate": "2024-04-28T12:01:22.5979287-07:00", "WellPurposeType": { "WellPurposeTypeId": "3b944fc5-9a43-4323-8d74-4cf527c68abc", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "baa050eb-80ce-45be-89ad-a7da13ab7a98", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "597be38a-0f13-4971-b65f-3342af4ff4b0", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T12:01:22.5979287-07:00", "MeasurementValueNeededDate": "2024-04-28T12:01:22.5979287-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "839e47fb-cac2-4337-886d-64ef70afe086", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-28T12:01:22.5979287-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "4adeabd9-5047-4b5a-84f5-aac7ae5b388f", "CreateDate": "2024-04-28T12:01:22.5979287-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T12:01:22.5979287-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }