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": "2ea3fb2f-e4c2-4b4c-8aad-0dadf66d5d7a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "b29e1ac3-7ce3-4f11-8980-fbd38891f193", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "eb5599af-1960-418a-a07a-abceada01830", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "f1132518-6db4-4467-9a8a-6256955fd21d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "994a40be-f0a7-4c31-945b-05e4440eda3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fdb5d6cd-ed29-4a0a-957f-1d047e23f552", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "2a21cfe1-8190-46b9-bda0-b5534b6a2086", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:24:03.2728402-07:00", "MeasurementValueNeededDate": "2025-10-13T15:24:03.2728402-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4f711394-8f16-49c5-bb4d-79846e0f3856", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4432fcc0-aa39-4c34-b8b7-56bb0cdeefd2", "EffectiveDate": "2025-10-13T15:24:03.2728402-07:00", "StateType": { "StateTypeId": "c2e91a2c-00ae-41c8-8749-b1179bad57a2", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "994a40be-f0a7-4c31-945b-05e4440eda3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fdb5d6cd-ed29-4a0a-957f-1d047e23f552", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "42c56219-9d46-4fb3-a46c-de610e7850c0", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2264ae53-f737-4df6-8106-911cc3fbbfd8", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "65937e49-b83d-4c79-a119-b3ef8b92124a", "EffectiveDate": "2025-10-13T15:24:03.2728402-07:00", "StatusType": { "StatusTypeId": "4e48166e-1929-4c3d-82ac-4f0da871142c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "994a40be-f0a7-4c31-945b-05e4440eda3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fdb5d6cd-ed29-4a0a-957f-1d047e23f552", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "92edefa5-a6da-464d-b6d3-fec0768dafa9", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1ae5656c-ffe4-4fb9-9063-94917ca51468", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "270d9475-e7b5-4bcd-aa97-37aafde7e135", "EffectiveDate": "2025-10-13T15:24:03.2728402-07:00", "WellPurposeType": { "WellPurposeTypeId": "3f0fdf2b-b94f-4670-a896-dd7d1d0ce6fd", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "04509db3-9995-4da6-964e-d82ad5fbb75f", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4acdbbc9-45f6-49f9-8a54-fbf5cc776c21", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:24:03.2728402-07:00", "MeasurementValueNeededDate": "2025-10-13T15:24:03.2728402-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "bef402b7-6d01-4e79-9a7e-7d06ed0cb42f", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-10-13T15:24:03.2728402-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "f91470e6-b52f-4776-ba4e-13261b10ed3c", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 7" }, { "AttachmentId": "2ea3fb2f-e4c2-4b4c-8aad-0dadf66d5d7a", "Name": "sample string 1", "Description": "sample string 2", "AttachmentCategory": { "AttachmentCategoryId": "b29e1ac3-7ce3-4f11-8980-fbd38891f193", "Name": "sample string 1", "SourceSystemId": "sample string 2", "CompanyId": "eb5599af-1960-418a-a07a-abceada01830", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 5" }, "Asset": { "AssetId": "f1132518-6db4-4467-9a8a-6256955fd21d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "994a40be-f0a7-4c31-945b-05e4440eda3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fdb5d6cd-ed29-4a0a-957f-1d047e23f552", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "2a21cfe1-8190-46b9-bda0-b5534b6a2086", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:24:03.2728402-07:00", "MeasurementValueNeededDate": "2025-10-13T15:24:03.2728402-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4f711394-8f16-49c5-bb4d-79846e0f3856", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4432fcc0-aa39-4c34-b8b7-56bb0cdeefd2", "EffectiveDate": "2025-10-13T15:24:03.2728402-07:00", "StateType": { "StateTypeId": "c2e91a2c-00ae-41c8-8749-b1179bad57a2", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "994a40be-f0a7-4c31-945b-05e4440eda3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fdb5d6cd-ed29-4a0a-957f-1d047e23f552", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "42c56219-9d46-4fb3-a46c-de610e7850c0", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2264ae53-f737-4df6-8106-911cc3fbbfd8", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "65937e49-b83d-4c79-a119-b3ef8b92124a", "EffectiveDate": "2025-10-13T15:24:03.2728402-07:00", "StatusType": { "StatusTypeId": "4e48166e-1929-4c3d-82ac-4f0da871142c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "994a40be-f0a7-4c31-945b-05e4440eda3e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fdb5d6cd-ed29-4a0a-957f-1d047e23f552", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "92edefa5-a6da-464d-b6d3-fec0768dafa9", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1ae5656c-ffe4-4fb9-9063-94917ca51468", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "270d9475-e7b5-4bcd-aa97-37aafde7e135", "EffectiveDate": "2025-10-13T15:24:03.2728402-07:00", "WellPurposeType": { "WellPurposeTypeId": "3f0fdf2b-b94f-4670-a896-dd7d1d0ce6fd", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "04509db3-9995-4da6-964e-d82ad5fbb75f", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4acdbbc9-45f6-49f9-8a54-fbf5cc776c21", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:24:03.2728402-07:00", "MeasurementValueNeededDate": "2025-10-13T15:24:03.2728402-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "bef402b7-6d01-4e79-9a7e-7d06ed0cb42f", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 8" }, "FileType": "sample string 3", "FileSize": 1, "UploadDate": "2025-10-13T15:24:03.2728402-07:00", "Content": "QEA=", "SourceSystemId": "sample string 4", "CompanyId": "f91470e6-b52f-4776-ba4e-13261b10ed3c", "CreateDate": "2025-10-13T15:24:03.2728402-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.2728402-07:00", "LastModifiedUser": "sample string 7" } ], "Total": 1, "Message": "sample string 1" }