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": "27c7115a-0a37-4412-80ab-7fb706067b8c", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3ddc3a34-f495-41d1-a489-c882ef1a3df7", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "5525c355-394a-44a1-822f-cbe0e5d6c854", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "aad5ee54-ae24-44cd-8cbb-7ae5ddbdac0f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "39d71652-8a56-4b79-b7dc-b2986f55c7f7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fbe317a4-9dab-4f4e-b535-15e3022a54e5", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "5f7f9c63-b20d-44a0-84b5-7b0104de093e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T06:58:20.4224484-08:00", "MeasurementValueNeededDate": "2024-12-21T06:58:20.4224484-08:00", "SourceSystemId": "sample string 3", "CompanyId": "131762df-5477-42bd-8e5d-75a7ac0bbce2", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "2cc0fef1-ded2-41c6-affb-996628486983", "EffectiveDate": "2024-12-21T06:58:20.4224484-08:00", "StateType": { "StateTypeId": "8526df3e-54c5-41e0-a8a9-cafd29b2f492", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "39d71652-8a56-4b79-b7dc-b2986f55c7f7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fbe317a4-9dab-4f4e-b535-15e3022a54e5", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "145b1b03-5613-421b-a8ad-c280f8f0de62", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "240dfd12-696c-49f3-91cf-fbc81925f710", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "90ff53a1-f135-4a35-bf3f-dd7e55b3c9c7", "EffectiveDate": "2024-12-21T06:58:20.4224484-08:00", "StatusType": { "StatusTypeId": "28658fa0-45f1-45e9-8748-5c4d2382c12e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "39d71652-8a56-4b79-b7dc-b2986f55c7f7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fbe317a4-9dab-4f4e-b535-15e3022a54e5", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "09b5b8bc-46ff-4051-82e1-8f3af749234e", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "57106376-84ae-4aa4-8672-d7893320646b", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "787edbfd-d8ff-4820-bff3-932f58a2c202", "EffectiveDate": "2024-12-21T06:58:20.4224484-08:00", "WellPurposeType": { "WellPurposeTypeId": "6c5707a9-2dfc-4c09-bd93-152856bcf217", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b34e9193-1631-472d-b98d-5e4d9046b856", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "aad197e3-024c-45ee-84ad-64aacdb73cd6", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T06:58:20.4224484-08:00", "MeasurementValueNeededDate": "2024-12-21T06:58:20.4224484-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a2023c7b-9e88-425f-958e-c5a8c8b62590", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T06:58:20.4224484-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "9f83e369-6733-4364-926f-be2575e4467c", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "27c7115a-0a37-4412-80ab-7fb706067b8c", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "3ddc3a34-f495-41d1-a489-c882ef1a3df7", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "5525c355-394a-44a1-822f-cbe0e5d6c854", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "aad5ee54-ae24-44cd-8cbb-7ae5ddbdac0f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "39d71652-8a56-4b79-b7dc-b2986f55c7f7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fbe317a4-9dab-4f4e-b535-15e3022a54e5", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "5f7f9c63-b20d-44a0-84b5-7b0104de093e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T06:58:20.4224484-08:00", "MeasurementValueNeededDate": "2024-12-21T06:58:20.4224484-08:00", "SourceSystemId": "sample string 3", "CompanyId": "131762df-5477-42bd-8e5d-75a7ac0bbce2", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "2cc0fef1-ded2-41c6-affb-996628486983", "EffectiveDate": "2024-12-21T06:58:20.4224484-08:00", "StateType": { "StateTypeId": "8526df3e-54c5-41e0-a8a9-cafd29b2f492", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "39d71652-8a56-4b79-b7dc-b2986f55c7f7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fbe317a4-9dab-4f4e-b535-15e3022a54e5", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "145b1b03-5613-421b-a8ad-c280f8f0de62", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "240dfd12-696c-49f3-91cf-fbc81925f710", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "90ff53a1-f135-4a35-bf3f-dd7e55b3c9c7", "EffectiveDate": "2024-12-21T06:58:20.4224484-08:00", "StatusType": { "StatusTypeId": "28658fa0-45f1-45e9-8748-5c4d2382c12e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "39d71652-8a56-4b79-b7dc-b2986f55c7f7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fbe317a4-9dab-4f4e-b535-15e3022a54e5", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "09b5b8bc-46ff-4051-82e1-8f3af749234e", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "57106376-84ae-4aa4-8672-d7893320646b", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "787edbfd-d8ff-4820-bff3-932f58a2c202", "EffectiveDate": "2024-12-21T06:58:20.4224484-08:00", "WellPurposeType": { "WellPurposeTypeId": "6c5707a9-2dfc-4c09-bd93-152856bcf217", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b34e9193-1631-472d-b98d-5e4d9046b856", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "aad197e3-024c-45ee-84ad-64aacdb73cd6", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T06:58:20.4224484-08:00", "MeasurementValueNeededDate": "2024-12-21T06:58:20.4224484-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a2023c7b-9e88-425f-958e-c5a8c8b62590", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2024-12-21T06:58:20.4224484-08:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "9f83e369-6733-4364-926f-be2575e4467c", "CreateDate": "2024-12-21T06:58:20.4224484-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T06:58:20.4224484-08:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }