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": "f8a0701b-4d23-4d9e-b48a-77092401e280", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "05e7fd5a-f52f-4f6c-878f-33b1a5c8807b", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "a53b273b-4b6b-4f74-8d1b-1ab6cf66a370", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "ec4c8349-483b-48b1-bc5e-0536ed19808b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "dedaab8a-c03b-447e-8a19-d5209bec81ff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ff79983-0e8d-4946-92f7-a0a3f96fb01e", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "82a661b2-f413-45ee-8253-ba7be2b6900f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-06-04T02:50:41.9251891-07:00", "MeasurementValueNeededDate": "2023-06-04T02:50:41.9251891-07:00", "SourceSystemId": "sample string 3", "CompanyId": "22b6acd2-30f8-4034-b745-b949333bb640", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "2e92e7ab-adc6-4405-9d38-d0b69668239b", "EffectiveDate": "2023-06-04T02:50:41.9251891-07:00", "StateType": { "StateTypeId": "163a2b68-1218-46ac-a52b-ee70d3a6026c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "dedaab8a-c03b-447e-8a19-d5209bec81ff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ff79983-0e8d-4946-92f7-a0a3f96fb01e", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d01dd6cf-322b-40bb-b7df-021e4ef84e4d", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d7ca6a66-5a9c-46ef-90f2-4ebc5eb359ff", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "dd08256d-5b90-404a-a27f-8b11ebe29567", "EffectiveDate": "2023-06-04T02:50:41.9251891-07:00", "StatusType": { "StatusTypeId": "d1c49706-2fc4-40bb-bb5a-0f1fb8b85bea", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "dedaab8a-c03b-447e-8a19-d5209bec81ff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ff79983-0e8d-4946-92f7-a0a3f96fb01e", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "0d212c5c-55f8-41be-8eb5-497df7646f28", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2dfe7465-7343-438c-b966-e38df469365a", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "1db81bf3-bbcd-4763-8f9e-28c0e667100e", "EffectiveDate": "2023-06-04T02:50:41.9251891-07:00", "WellPurposeType": { "WellPurposeTypeId": "428a7d53-7479-40af-9da0-2937d87bbc48", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7fb15778-d6ba-4dea-a5eb-fc5232d032db", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5ff2a70d-08d1-4224-a294-0d32289e4c6d", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2023-06-04T02:50:41.9251891-07:00", "MeasurementValueNeededDate": "2023-06-04T02:50:41.9251891-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dc626ddc-b817-467a-b03d-088b43cf3ce8", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2023-06-04T02:50:41.9251891-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "73915394-5693-425c-bf5d-30f2885b9056", "CreateDate": "2023-06-04T02:50:41.9408779-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T02:50:41.9408779-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "f8a0701b-4d23-4d9e-b48a-77092401e280", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "05e7fd5a-f52f-4f6c-878f-33b1a5c8807b", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "a53b273b-4b6b-4f74-8d1b-1ab6cf66a370", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "ec4c8349-483b-48b1-bc5e-0536ed19808b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "dedaab8a-c03b-447e-8a19-d5209bec81ff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ff79983-0e8d-4946-92f7-a0a3f96fb01e", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "82a661b2-f413-45ee-8253-ba7be2b6900f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2023-06-04T02:50:41.9251891-07:00", "MeasurementValueNeededDate": "2023-06-04T02:50:41.9251891-07:00", "SourceSystemId": "sample string 3", "CompanyId": "22b6acd2-30f8-4034-b745-b949333bb640", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "2e92e7ab-adc6-4405-9d38-d0b69668239b", "EffectiveDate": "2023-06-04T02:50:41.9251891-07:00", "StateType": { "StateTypeId": "163a2b68-1218-46ac-a52b-ee70d3a6026c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "dedaab8a-c03b-447e-8a19-d5209bec81ff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ff79983-0e8d-4946-92f7-a0a3f96fb01e", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d01dd6cf-322b-40bb-b7df-021e4ef84e4d", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d7ca6a66-5a9c-46ef-90f2-4ebc5eb359ff", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "dd08256d-5b90-404a-a27f-8b11ebe29567", "EffectiveDate": "2023-06-04T02:50:41.9251891-07:00", "StatusType": { "StatusTypeId": "d1c49706-2fc4-40bb-bb5a-0f1fb8b85bea", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "dedaab8a-c03b-447e-8a19-d5209bec81ff", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ff79983-0e8d-4946-92f7-a0a3f96fb01e", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "0d212c5c-55f8-41be-8eb5-497df7646f28", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2dfe7465-7343-438c-b966-e38df469365a", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "1db81bf3-bbcd-4763-8f9e-28c0e667100e", "EffectiveDate": "2023-06-04T02:50:41.9251891-07:00", "WellPurposeType": { "WellPurposeTypeId": "428a7d53-7479-40af-9da0-2937d87bbc48", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7fb15778-d6ba-4dea-a5eb-fc5232d032db", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5ff2a70d-08d1-4224-a294-0d32289e4c6d", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2023-06-04T02:50:41.9251891-07:00", "MeasurementValueNeededDate": "2023-06-04T02:50:41.9251891-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "dc626ddc-b817-467a-b03d-088b43cf3ce8", "CreateDate": "2023-06-04T02:50:41.9251891-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2023-06-04T02:50:41.9251891-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2023-06-04T02:50:41.9251891-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "73915394-5693-425c-bf5d-30f2885b9056", "CreateDate": "2023-06-04T02:50:41.9408779-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2023-06-04T02:50:41.9408779-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }