GET Attachments/ByUploadDate?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 upload date of the attachments to retrieve |
date |
None. |
endDate |
Ending upload 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": "b3d50f84-4508-4c5c-b02a-3d5075b8f1b6", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "0d6896d2-a894-4aa6-8b9e-a1e6c3a57d3f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "8dbb0afa-fc5d-4136-84e6-c24b53605883", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "3e8cdabe-2386-4040-8e47-b5ba7dbb3050", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "46644dd8-a82d-4335-84f6-c4ca84da5835", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "65918953-35d6-4732-a357-d8a9b8d7467a", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "bd21c1dc-cccf-4b80-bb68-c02215359a5a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:23:11.0017103-08:00", "MeasurementValueNeededDate": "2025-01-30T16:23:11.0017103-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6ff0b9e4-5d6b-4e2f-b48f-e58411309be7", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "872b56b3-25d3-4576-b2c7-a992f6b22f27", "EffectiveDate": "2025-01-30T16:23:11.0017103-08:00", "StateType": { "StateTypeId": "85ee8ec4-080e-4cae-aa39-56b2bbd7b433", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "46644dd8-a82d-4335-84f6-c4ca84da5835", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "65918953-35d6-4732-a357-d8a9b8d7467a", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a60d9e6d-d420-4be1-9e4b-5e3a46edab91", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "9bb3637a-4990-4036-98d9-5a060d8c32e7", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "03a28111-f83b-410a-85e9-83750aa25888", "EffectiveDate": "2025-01-30T16:23:11.0017103-08:00", "StatusType": { "StatusTypeId": "7e6eff50-1597-4f48-be83-9413b149f23c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "46644dd8-a82d-4335-84f6-c4ca84da5835", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "65918953-35d6-4732-a357-d8a9b8d7467a", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "37551a6b-584e-4c1a-98da-fc4b9406e44a", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d4623f63-626c-4369-aeea-f00a1f1e5cbb", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ba95384e-be39-406b-8020-aa0b1c010930", "EffectiveDate": "2025-01-30T16:23:11.0017103-08:00", "WellPurposeType": { "WellPurposeTypeId": "17516277-bbe6-42ef-8682-d9a5e0816c63", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "651a46c8-0f11-4cc9-aa63-ade8a935a38c", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "51c27f6f-6666-4977-a175-566465aea6f4", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:23:11.0017103-08:00", "MeasurementValueNeededDate": "2025-01-30T16:23:11.0017103-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b51ad910-0d06-4897-8ae8-6114c758769f", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-01-30T16:23:11.0017103-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "cd921b14-8e70-4d68-a1d9-b42af3b02177", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "b3d50f84-4508-4c5c-b02a-3d5075b8f1b6", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "0d6896d2-a894-4aa6-8b9e-a1e6c3a57d3f", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "8dbb0afa-fc5d-4136-84e6-c24b53605883", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "3e8cdabe-2386-4040-8e47-b5ba7dbb3050", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "46644dd8-a82d-4335-84f6-c4ca84da5835", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "65918953-35d6-4732-a357-d8a9b8d7467a", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "bd21c1dc-cccf-4b80-bb68-c02215359a5a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T16:23:11.0017103-08:00", "MeasurementValueNeededDate": "2025-01-30T16:23:11.0017103-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6ff0b9e4-5d6b-4e2f-b48f-e58411309be7", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "872b56b3-25d3-4576-b2c7-a992f6b22f27", "EffectiveDate": "2025-01-30T16:23:11.0017103-08:00", "StateType": { "StateTypeId": "85ee8ec4-080e-4cae-aa39-56b2bbd7b433", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "46644dd8-a82d-4335-84f6-c4ca84da5835", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "65918953-35d6-4732-a357-d8a9b8d7467a", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a60d9e6d-d420-4be1-9e4b-5e3a46edab91", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "9bb3637a-4990-4036-98d9-5a060d8c32e7", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "03a28111-f83b-410a-85e9-83750aa25888", "EffectiveDate": "2025-01-30T16:23:11.0017103-08:00", "StatusType": { "StatusTypeId": "7e6eff50-1597-4f48-be83-9413b149f23c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "46644dd8-a82d-4335-84f6-c4ca84da5835", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "65918953-35d6-4732-a357-d8a9b8d7467a", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "37551a6b-584e-4c1a-98da-fc4b9406e44a", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d4623f63-626c-4369-aeea-f00a1f1e5cbb", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ba95384e-be39-406b-8020-aa0b1c010930", "EffectiveDate": "2025-01-30T16:23:11.0017103-08:00", "WellPurposeType": { "WellPurposeTypeId": "17516277-bbe6-42ef-8682-d9a5e0816c63", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "651a46c8-0f11-4cc9-aa63-ade8a935a38c", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "51c27f6f-6666-4977-a175-566465aea6f4", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T16:23:11.0017103-08:00", "MeasurementValueNeededDate": "2025-01-30T16:23:11.0017103-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b51ad910-0d06-4897-8ae8-6114c758769f", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-01-30T16:23:11.0017103-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "cd921b14-8e70-4d68-a1d9-b42af3b02177", "CreateDate": "2025-01-30T16:23:11.0017103-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T16:23:11.0017103-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }