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": "dcf72331-8401-4adf-9a85-9def650bf2c8",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "96996ba6-867c-4959-ba82-b449579cf9e7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "84247814-41f3-43eb-9701-c598f816c057",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "c4e0c969-6ebe-40a9-94ac-e7757929eef7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "51670d22-94bc-4ef1-87e5-b3ca55939287",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f40c67e-b64e-4bc7-904d-13b3aadb1d04",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "77026f9f-d8b8-4059-bb18-4ee4b3f596b5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-17T18:57:03.6092685-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:57:03.6092685-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "489f6184-9406-42dc-9436-8cd0f3ebfcd7",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "395e11be-4d32-4464-b9e7-cdb12628bd68",
"EffectiveDate": "2025-11-17T18:57:03.6092685-08:00",
"StateType": {
"StateTypeId": "b0124f8a-2a31-4ad8-8f04-26c508cdb891",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "51670d22-94bc-4ef1-87e5-b3ca55939287",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f40c67e-b64e-4bc7-904d-13b3aadb1d04",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "591f3c36-de4e-48dd-98ce-d1afc7f3f6a4",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7a80eee0-7493-46aa-8108-32136f6502dd",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2c341531-3147-4f95-802d-09b939eea098",
"EffectiveDate": "2025-11-17T18:57:03.6092685-08:00",
"StatusType": {
"StatusTypeId": "b6ad708e-a8dc-4cbe-91e0-2380da251be7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "51670d22-94bc-4ef1-87e5-b3ca55939287",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f40c67e-b64e-4bc7-904d-13b3aadb1d04",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c6277883-6f77-4d71-9789-c9cc2e149b55",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "047ad8c5-afae-4fc5-aa34-b30ffba479af",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "619e3f02-7a6c-4e21-923d-4c1495fbf669",
"EffectiveDate": "2025-11-17T18:57:03.6092685-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "0fe760bc-a1b1-4584-ad32-cf799ab6e06f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "961447ee-d1ef-495d-aa08-b137dfc9b978",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a563acd8-14a5-4301-a927-505bae774f95",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-17T18:57:03.6092685-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:57:03.6092685-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "23ce2edc-e91f-4e22-a512-dbf64d1bf33b",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-17T18:57:03.6092685-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "96b5ee34-c73f-4378-8d49-485b1eebc613",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 7"
},
{
"AttachmentId": "dcf72331-8401-4adf-9a85-9def650bf2c8",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "96996ba6-867c-4959-ba82-b449579cf9e7",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "84247814-41f3-43eb-9701-c598f816c057",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "c4e0c969-6ebe-40a9-94ac-e7757929eef7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "51670d22-94bc-4ef1-87e5-b3ca55939287",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f40c67e-b64e-4bc7-904d-13b3aadb1d04",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "77026f9f-d8b8-4059-bb18-4ee4b3f596b5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-17T18:57:03.6092685-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:57:03.6092685-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "489f6184-9406-42dc-9436-8cd0f3ebfcd7",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "395e11be-4d32-4464-b9e7-cdb12628bd68",
"EffectiveDate": "2025-11-17T18:57:03.6092685-08:00",
"StateType": {
"StateTypeId": "b0124f8a-2a31-4ad8-8f04-26c508cdb891",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "51670d22-94bc-4ef1-87e5-b3ca55939287",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f40c67e-b64e-4bc7-904d-13b3aadb1d04",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "591f3c36-de4e-48dd-98ce-d1afc7f3f6a4",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7a80eee0-7493-46aa-8108-32136f6502dd",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2c341531-3147-4f95-802d-09b939eea098",
"EffectiveDate": "2025-11-17T18:57:03.6092685-08:00",
"StatusType": {
"StatusTypeId": "b6ad708e-a8dc-4cbe-91e0-2380da251be7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "51670d22-94bc-4ef1-87e5-b3ca55939287",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f40c67e-b64e-4bc7-904d-13b3aadb1d04",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c6277883-6f77-4d71-9789-c9cc2e149b55",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "047ad8c5-afae-4fc5-aa34-b30ffba479af",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "619e3f02-7a6c-4e21-923d-4c1495fbf669",
"EffectiveDate": "2025-11-17T18:57:03.6092685-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "0fe760bc-a1b1-4584-ad32-cf799ab6e06f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "961447ee-d1ef-495d-aa08-b137dfc9b978",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a563acd8-14a5-4301-a927-505bae774f95",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-17T18:57:03.6092685-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:57:03.6092685-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "23ce2edc-e91f-4e22-a512-dbf64d1bf33b",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2025-11-17T18:57:03.6092685-08:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "96b5ee34-c73f-4378-8d49-485b1eebc613",
"CreateDate": "2025-11-17T18:57:03.6092685-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.6092685-08:00",
"LastModifiedUser": "sample string 7"
}
],
"Total": 1,
"Message": "sample string 1"
}