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": "b30070e7-ea32-450b-ac36-37d591d42a2b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "970da915-cf40-43f0-bdcd-d45da8347f52",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e383fb12-43ab-49a3-8b71-4d4ce0212d06",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f3959183-5ac2-4d98-ad61-8b03496b6ba8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "abdd217d-9c4a-4f79-a584-c70e4fc552fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59980fa3-93f4-4839-95e5-0286e7893e5d",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7af668a4-f5b4-48f9-8f45-fa8bf4a8ef0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-17T04:31:08.4260815-08:00",
"MeasurementValueNeededDate": "2025-12-17T04:31:08.4260815-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a2d7e14f-27d4-440c-935f-2f8be9b16125",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "173a9266-5f32-43b6-a3fa-e8380a08f9ec",
"EffectiveDate": "2025-12-17T04:31:08.4260815-08:00",
"StateType": {
"StateTypeId": "14546267-0398-40df-bb16-d44b9539db15",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "abdd217d-9c4a-4f79-a584-c70e4fc552fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59980fa3-93f4-4839-95e5-0286e7893e5d",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d3579f20-4f7b-4989-a893-8483959cf28c",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "809a0d1b-4830-4635-b742-383470d3e1ae",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "cecf97fb-f594-4a9b-9133-8e01b4919ff4",
"EffectiveDate": "2025-12-17T04:31:08.4260815-08:00",
"StatusType": {
"StatusTypeId": "e0da9ce6-bbfa-4d97-97ac-b74a4b743cfb",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "abdd217d-9c4a-4f79-a584-c70e4fc552fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59980fa3-93f4-4839-95e5-0286e7893e5d",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a3cecd49-af2d-49ac-9a71-6ef7a46edd92",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e68a3a2c-f836-46c7-9c12-b16b4c07884e",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "14b41655-be3c-4d97-9831-a2bbe14b2329",
"EffectiveDate": "2025-12-17T04:31:08.4260815-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "00888662-0e0f-46c6-b1d3-74340c304199",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "23101ed4-5290-4270-b4ea-19d436e5c5ff",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7bf84df9-479c-4a3b-9252-d8b6c0948ac2",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-17T04:31:08.4260815-08:00",
"MeasurementValueNeededDate": "2025-12-17T04:31:08.4260815-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2aa1ddb0-917d-4c7b-9206-bf266d64f605",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-17T04:31:08.4260815-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "37c1c3a6-bdf4-40cb-9060-f6f7de2c6f5a",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "b30070e7-ea32-450b-ac36-37d591d42a2b",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "970da915-cf40-43f0-bdcd-d45da8347f52",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "e383fb12-43ab-49a3-8b71-4d4ce0212d06",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "f3959183-5ac2-4d98-ad61-8b03496b6ba8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "abdd217d-9c4a-4f79-a584-c70e4fc552fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59980fa3-93f4-4839-95e5-0286e7893e5d",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "7af668a4-f5b4-48f9-8f45-fa8bf4a8ef0c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-17T04:31:08.4260815-08:00",
"MeasurementValueNeededDate": "2025-12-17T04:31:08.4260815-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a2d7e14f-27d4-440c-935f-2f8be9b16125",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "173a9266-5f32-43b6-a3fa-e8380a08f9ec",
"EffectiveDate": "2025-12-17T04:31:08.4260815-08:00",
"StateType": {
"StateTypeId": "14546267-0398-40df-bb16-d44b9539db15",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "abdd217d-9c4a-4f79-a584-c70e4fc552fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59980fa3-93f4-4839-95e5-0286e7893e5d",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d3579f20-4f7b-4989-a893-8483959cf28c",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "809a0d1b-4830-4635-b742-383470d3e1ae",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "cecf97fb-f594-4a9b-9133-8e01b4919ff4",
"EffectiveDate": "2025-12-17T04:31:08.4260815-08:00",
"StatusType": {
"StatusTypeId": "e0da9ce6-bbfa-4d97-97ac-b74a4b743cfb",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "abdd217d-9c4a-4f79-a584-c70e4fc552fa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "59980fa3-93f4-4839-95e5-0286e7893e5d",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a3cecd49-af2d-49ac-9a71-6ef7a46edd92",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e68a3a2c-f836-46c7-9c12-b16b4c07884e",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "14b41655-be3c-4d97-9831-a2bbe14b2329",
"EffectiveDate": "2025-12-17T04:31:08.4260815-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "00888662-0e0f-46c6-b1d3-74340c304199",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "23101ed4-5290-4270-b4ea-19d436e5c5ff",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7bf84df9-479c-4a3b-9252-d8b6c0948ac2",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-17T04:31:08.4260815-08:00",
"MeasurementValueNeededDate": "2025-12-17T04:31:08.4260815-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2aa1ddb0-917d-4c7b-9206-bf266d64f605",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-12-17T04:31:08.4260815-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "37c1c3a6-bdf4-40cb-9060-f6f7de2c6f5a",
"CreateDate": "2025-12-17T04:31:08.4260815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T04:31:08.4260815-08:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}