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": "e63b1265-e1a2-455a-8ab6-a29891b0742e", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "e022e0b1-d45e-444f-ad63-91afa4ba8457", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "dba0d0d0-8177-46f6-a720-9553d5746dba", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "f6454379-d454-4337-97a3-c2aea182b379", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7e7f2e50-959c-4961-a17a-5f5d3b716ca3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "50191bb8-0c85-484f-8317-87ffabe2a858", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c54649ff-9269-493d-8282-577e1429ceea", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-23T12:13:46.1012954-07:00", "MeasurementValueNeededDate": "2024-04-23T12:13:46.1012954-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fc3202c3-57e5-4f94-a6fc-13d597652519", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a4460501-5e4e-48f3-970a-dff3b3327161", "EffectiveDate": "2024-04-23T12:13:46.1012954-07:00", "StateType": { "StateTypeId": "ccfe980b-4600-420a-8a35-6fb30b23f031", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7e7f2e50-959c-4961-a17a-5f5d3b716ca3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "50191bb8-0c85-484f-8317-87ffabe2a858", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "4c99c470-979b-428b-b669-d02b28404e6b", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "c5ce2bd3-66b3-4638-bacb-d92af4c7b40b", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a3e53a3f-4642-45d4-9297-af204492deba", "EffectiveDate": "2024-04-23T12:13:46.1012954-07:00", "StatusType": { "StatusTypeId": "c8061179-f24f-4ae6-8c73-393f4bc1b10f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7e7f2e50-959c-4961-a17a-5f5d3b716ca3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "50191bb8-0c85-484f-8317-87ffabe2a858", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e7a65bb0-046b-4d51-a2c9-1598018ec949", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "df094fd1-633f-4e06-a0e8-fbfc8c019c9a", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "76137c16-f25b-4e76-8064-4b1b1fd6c968", "EffectiveDate": "2024-04-23T12:13:46.1012954-07:00", "WellPurposeType": { "WellPurposeTypeId": "d539fcce-982f-4686-ac64-bb984efba695", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5dea309f-f79a-4211-b6cc-92ebde5ed24f", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e5946f02-b9d0-499b-a6de-031be80dcb29", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-23T12:13:46.1012954-07:00", "MeasurementValueNeededDate": "2024-04-23T12:13:46.1012954-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1ae805ee-2a80-418b-bc16-159acd251252", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-23T12:13:46.1012954-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "fd03c29b-81a1-4c38-8652-bf6573462fcd", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "e63b1265-e1a2-455a-8ab6-a29891b0742e", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "e022e0b1-d45e-444f-ad63-91afa4ba8457", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "dba0d0d0-8177-46f6-a720-9553d5746dba", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "f6454379-d454-4337-97a3-c2aea182b379", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7e7f2e50-959c-4961-a17a-5f5d3b716ca3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "50191bb8-0c85-484f-8317-87ffabe2a858", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c54649ff-9269-493d-8282-577e1429ceea", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-23T12:13:46.1012954-07:00", "MeasurementValueNeededDate": "2024-04-23T12:13:46.1012954-07:00", "SourceSystemId": "sample string 3", "CompanyId": "fc3202c3-57e5-4f94-a6fc-13d597652519", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a4460501-5e4e-48f3-970a-dff3b3327161", "EffectiveDate": "2024-04-23T12:13:46.1012954-07:00", "StateType": { "StateTypeId": "ccfe980b-4600-420a-8a35-6fb30b23f031", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7e7f2e50-959c-4961-a17a-5f5d3b716ca3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "50191bb8-0c85-484f-8317-87ffabe2a858", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "4c99c470-979b-428b-b669-d02b28404e6b", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "c5ce2bd3-66b3-4638-bacb-d92af4c7b40b", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a3e53a3f-4642-45d4-9297-af204492deba", "EffectiveDate": "2024-04-23T12:13:46.1012954-07:00", "StatusType": { "StatusTypeId": "c8061179-f24f-4ae6-8c73-393f4bc1b10f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7e7f2e50-959c-4961-a17a-5f5d3b716ca3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "50191bb8-0c85-484f-8317-87ffabe2a858", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e7a65bb0-046b-4d51-a2c9-1598018ec949", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "df094fd1-633f-4e06-a0e8-fbfc8c019c9a", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "76137c16-f25b-4e76-8064-4b1b1fd6c968", "EffectiveDate": "2024-04-23T12:13:46.1012954-07:00", "WellPurposeType": { "WellPurposeTypeId": "d539fcce-982f-4686-ac64-bb984efba695", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5dea309f-f79a-4211-b6cc-92ebde5ed24f", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e5946f02-b9d0-499b-a6de-031be80dcb29", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-23T12:13:46.1012954-07:00", "MeasurementValueNeededDate": "2024-04-23T12:13:46.1012954-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1ae805ee-2a80-418b-bc16-159acd251252", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-04-23T12:13:46.1012954-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "fd03c29b-81a1-4c38-8652-bf6573462fcd", "CreateDate": "2024-04-23T12:13:46.1012954-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-23T12:13:46.1012954-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }